Technical documentation code snippet

Technical documentation code snippet
0

#1

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


#2

Can you share your demo via codepen?


#3

https://codepen.io/Laxos/pen/XxYwoG Line 47


#4

You are already creating html elements in html section.


#5

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