Technical Documentation Page

Can’t finish 2 of 14 tests:
"4. Each element with the class of “main-section” should also have an id that corresponds with the text of each contained within it. Any spaces should be replaced with underscores (e.g. The that contains the header “Javascript and Java” should have a corresponding id=“Javascript_and_Java”)."
I cant find where I made mistake

and this one
"1. On regular sized devices (laptops, desktops), the element with id=“navbar” should be shown on the left side of the screen and should always be visible to the user."

Please help me to understand what I did wrong

http://codepen.io/Bron101/pen/LWjzrP

You used lowercase s in “JavaScript”. Note that you can find more details on the error by clicking “Tests 12/14”

I don’t know why the other one fails.

1 Like

Thanks for helping mate

Thanks for explanation

The issue is still open, so it should be resolved once/before the curriculum update goes out of beta.

EDIT: There is also an issue for it on the tests-repo: https://github.com/freeCodeCamp/testable-projects-fcc/issues/74

In most cases this can easily be solved by using padding-top or margin-top (on a child element).

I’m having the same problem. I just designed mine to have a logo in top of the navbar, no my layout is broken because of the measurement pixels implemented on the tests :sweat:

And I too have a problem here. My page should pass all the tests, but I’m stuck on this one:

“1. On regular sized devices (laptops, desktops), the element with id=“navbar” should be shown on the left side of the screen and should always be visible to the user.”

And here’s my page: https://codepen.io/Ricardaszxy/pen/NzbQog

If someone could give a hand I’d really appreciate it.

I am having the exact same problem. …

@Chris2020, you’re replying to a post two years later. If you’re having an issue, open your own topic, tell us what issue/problem you’re having and be sure to provide a link to your pen.