HI! I’m working on my Product Landing Page and can’t figure out what’s wrong with my nav bar. Something’s definitely off cause not only it’s not passing the challenge, but the id isn’t getting the different colors that it should in the code but i can’t put my finger on what’s wrong! (I’m talking about tasks 3 and 4! Haven’t attempted 5 yet)
Here’s my code!
PS: Please don’t judge the aesthetics of my page, i’ll improve on that later on!
EDIT: SOLVED! Thank you!
Basic mistake, you forgot to close your tag !
<img id="header-img" src= "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Square_-_black_simple.svg/1200px-Square_-_black_simple.svg.png " <-- right here, the closing “>” is missing ^^
THANK YOU! i really need to learn to catch those
No problem, I used to make this mistake like EVERYTIME x)
happy to hear one does indeed get better!!! happy coding to you!
Well, by dint of making mistakes, when your code doesn’t work, you’re like “Okay, what did I do this time ? Forgot quotes ? A letter ?” x) Happy coding
In the upper right corner of your codepen HTML panel, there’s a dropdown menu where you can, amongst other stuff, let codepen analyse your HTML. It’ll highlight syntax errors such as a missing closing tag etc for you (saves time and nerves).