Technical documentation page challenge

I have passed all tests in this section except for “You should have at least five code elements that are descendants of .main-section elements.” I dint quite understand this. To cross check I added some more spare ‘p’ elements in each of my ‘main-section’ to take the total upto 5 but its not working. Any guidance is welcome…Thanks!

Welcome to our community!
Post your html and css code here in order for us to get a better insight into what might be an issue.

Hello there! Thanks for responding! Somehow I am not able to paste the entire html over here, is there any other way we can do it?

For inserting code we use ‘code’ element:

<code></code>

Now, follow the instruction: “You should have at least five code elements that are descendants of .main-section elements.”
Put each ‘code’ element into ‘section’ elements with class set to main-section.

(post deleted by author)

Ok! And that fixes my problem! Thanks a lot :smiley:

1 Like