Im trying to complete the third project from (New) Responsive Web Design course, but got stuck in one step: Your #navbar should always be on the left edge of the window.
I tried a lot of different ways to solve this, but although it seems ok in my Preview, I still can`t get passed when Run the Tests.
I`ll link the codepen project here in case someone know how to solve this problem:
Use padding instead of margin on the
nav. The tests don’t consider margin to be part of the element and so they thing your
nav is not all the way to the left. The tests do consider padding to be part of the element.
Geez… It worked!
Thank you very much, mate!!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.