Project#4 FCC got stuck a bit

Currently working on the 4th project of fcc , got a bit stuck and i wasnt sure what to do.

1st: For the nav bar i couldnt figure out how to make the border stretch more towards the left side.
2nd: ive got a code element in the first section of the main element, not sure if that was how its supposed to be done.
3rd: if theres anything else ive done wrong please let me know so i can fix it.

ps: not done styling it and what not, i like to do that at the end

thanks a ton in advance bros!

1st: For the nav bar i couldnt figure out how to make the border stretch more towards the left side.
ul tag has some some padding-left applied as a browser default. You will need to override that or just not use ul at all

2nd: ive got a code element in the first section of the main element, not sure if that was how its supposed to be done.
Kind of. If you combine code tag with the pre tag you will be able to better preserve the formatting as expected. There is a bit more to that - google it for more

3rd: if theres anything else ive done wrong please let me know so i can fix it.
You need to copy the test script into your html so you can run the testing software. The error messages are really helpful too.

ps: not done styling it and what not, i like to do that at the end

1 Like

alright bro thanks a ton

figured out the first two points you gave but didnt really understand what you meant in the 3rd point. can u ELI5 that last one for me? new to coding

I didn’t see this in your HTML

<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

It adds the menu of test scripts for the various FCC projects. Run those scripts to determine if you have fulfilled all requirements. The error messages can be quite helpful.