The Test is not passing my code for the top fixed #navbar.
background-color: rgb(179, 58, 58);
Link to the files are here: GitHub - Itanglish1/personal-portfolio-exercise: Final test for Free Code Camp responsive Web Design Project .
I might have something not working with the rest of the code.
Exercise is at the time of writing, not finished and missing queries.
I have opened a request on GitHub but I was sent over here to see if it can be fixed, or it’s a website issue.
Have you set the top margin to 0?
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (
</>) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
Note: In your html you linked the css using a file name of style.css
<link rel="stylesheet" href="style.css" />
When you paste the code into freecodecamp make sure to change the file name of the link element to styles.css
When I change the link element’s href to
styles.css, the navbar remains at the top, But you dont seem to have any media queries?
@Cryptic_X I have done a soft reset :
Haven’t finished the exercise yet, so no media queries yet
Thanks for the tip
I think the problem is with the link element, ok?
Can you see your css effects in the preview.
Mind blown, one letter and it is all fixed!!! It was how the css file was linked