Technical Document Page Challenge

In this challenge, i have done exactly as told in the challenge. But still I can’t pass one test which is having id in each which i have and working alright with navbar links.

Here is my project URL - https://codepen.io/sahal-ch/pen/bGrZbeV

Can someone please tell me what is wrong with my code?

Hey!

Just check out the error messages. You can pinpoint the failed case and the expected and current values.

@sahal.ch3, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

The full failing test message says;

Each <section> element with the class of "main-section" should also have an id comprised of the <header> innerText contained within it, with underscores in place of spaces. The id may include special characters if there are special characters in the respective <header> innerText. (e.g. The <section> that contains the header, "JavaScript & Java", should have a corresponding id="JavaScript_&_Java").
Some "main-section" elements are missing the following ids (don't forget to replace spaces with underscores!) : FUNCTION_DECLARATIONS : expected 1 to equal 0
AssertionError: Some "main-section" elements are missing the following ids (don't forget to replace spaces with underscores!) : FUNCTION_DECLARATIONS : expected 1 to equal 0

Do you understand what the test is looking for / saying?
Sometimes a single letter can mean passing a test or not.

On a side note, you don’t have to replicate the sample projects. They are just examples of one way the project can be done. The instructions say to make yours “functionally similar” and to “give it your own personal style”.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.