Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
10
Comments
40
P

Dean

@DeanogitLondon480 points

I'm a code newbie, on my quest to become a full stack developer!

I’m currently learning...

HTML, CSS, JavaScript, Git, TailwindCSS

Latest solutions

  • Blog Preview Card built with HTML & CSS


    P
    Dean•480
    Submitted over 1 year ago

    1 comment
  • Huddle Landing Page Challenge built with Tailwind CSS

    #tailwind-css

    P
    Dean•480
    Submitted over 1 year ago

    1 comment
  • Order Summary Component - TailwindCSS build

    #tailwind-css#lighthouse

    P
    Dean•480
    Submitted over 1 year ago

    0 comments
  • Product Preview Card Component - TailwindCSS build

    #tailwind-css#lighthouse

    P
    Dean•480
    Submitted over 1 year ago

    1 comment
  • QR Code Component - TailwindCSS build

    #lighthouse#tailwind-css#bem

    P
    Dean•480
    Submitted over 1 year ago

    1 comment
  • NFT preview card component - TailwindCSS Build

    #lighthouse#tailwind-css

    P
    Dean•480
    Submitted over 1 year ago

    0 comments
View more solutions

Latest comments

  • Caleb Ogbike•90
    @iamkayleb
    Submitted over 1 year ago

    FAQ ACCORDION

    1
    P
    Dean•480
    @Deanogit
    Posted over 1 year ago

    Hi @iamkayleb,

    I was taking a look at your code to see if I could help with your question The part where the accordion icon toggles between "icon-plus" and "icon-minus" is where I still can't seem to fix. I will really appreciate your help on that part?

    One way to achieve the toggle would be to declare both icons in your HTML, and use a hidden class to show and hide the icons. So the minus icon would start with a hidden class, which would be removed when needed, when minus icon is visible the plus icon would become hidden.

    There are a few different approaches to applying this method, here's some further reading

    I hope this helps

  • Alvaro Cordoba•10
    @AlvaroCordoba-5
    Submitted over 1 year ago

    Qr

    1
    P
    Dean•480
    @Deanogit
    Posted over 1 year ago

    Hello @AlvaroCordoba-5

    Great effort putting together this solution

    I was taking a look at your code and thought you might be interested,

    In order to center the card in the browser, try applying these declarations to your body selector in your CSS file

    body {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }
    

    Its possible to change the background-color to 'hsl(212, 45%, 89%)' too, in order to better match the design.

    I hope this helps,

    Above all, your solution looks great!

  • Rahul K.•50
    @rahulkumarpahwa
    Submitted over 1 year ago

    Qr-code page using Css flexbox

    1
    P
    Dean•480
    @Deanogit
    Posted over 1 year ago

    Hi @rahulkumarpahwa,

    Great work getting this solution built!

    I was taking a look at your code and found something you might be interested in

    In order to center the card in the middle of the screen, try including this code in your CSS file.

    body{
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh
    } 
    

    Remove the margin top on the .main selector for this to work optimally.

    I hope this helps

    Above all, your solution is looking great.

  • Enayut•10
    @Enayut
    Submitted over 1 year ago

    Responsive Faq Accordian Using HTML CSS JS

    1
    P
    Dean•480
    @Deanogit
    Posted over 1 year ago

    Hey @Enayut,

    Great work getting this solution submitted

    I was just taking a look at your code and noticed something you might be interested in.

    The background images are not loading due to a small error in the syntax.

    Your code:

    function changeImg(){
          let width = window.innerWidth
          console.log(width)
          if (width > 700) {
              img.setAttribute("src","/assets/images/background-pattern-desktop.svg");
          } else {
              img.setAttribute("src","/assets/images/background-pattern-mobile.svg");
          }
    

    try adding a . in-front of the first / when declaring the image paths.

    Try checking the syntax for the icons too

    I hope this helps

    Great effort building this solution

    Marked as helpful
  • sami09876543•10
    @sami09876543
    Submitted over 1 year ago

    Order summary component

    #tailwind-css#accessibility
    1
    P
    Dean•480
    @Deanogit
    Posted over 1 year ago

    Hi @sami09876543;

    Great job submitting your solution for this challenge,

    I was just taking a look at your code and may have found something you might be interested in.

    In the index.html file you have an inline style for the body selector, and inside the style.css you also have a body selector.

    The inline style in the index.html has the highest specificity and so overrides the styles declared in the style.css file.

    Check out the docs HERE for more information about specificity

    Try tidying this conflict up and you should be able to get your solution closer to the design.

    Above all, great effort getting this solution built

  • Coding nub•150
    @coding-stock
    Submitted over 1 year ago

    Qr code

    1
    P
    Dean•480
    @Deanogit
    Posted over 1 year ago

    Hey @coding-stock

    I tried to take a look at your code, but the link to your code is not working.

View more comments
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub