Technical documentation code snippet

Technical documentation code snippet


Hi i am stuck with the creation of code snippet using the html code element if anyone could help


Can you share your demo via codepen?

#3 Line 47


You are already creating html elements in html section.


If you are referring to the User Story N. 6 you can just use the code tag and write anything you want and you will pass the test, ie:

6. The .main-section elements should contain at least 5 <code> elements total (not each).

You can also use any CSS example of code to describe whatever you are talking about on the topic.

For example:

CSS is used to style colours

    html {
        background-color: #121212;

Hope this helps