User Story #6: The .main-section elements should contain at least 5 code elements total (not each)

Tell us what’s happening:

Your code so far
User Story #6:** The .main-section elements should contain at least 5 code elements total (not each).

WHAT ARE CODE ELEMENTS(I’m creating technical documentation Page)

**

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.

Challenge: Build a Technical Documentation Page

Link to the challenge:

have you tried to use the Read Search Ask method?
have you found something you do not understand?

1 Like

Im new here,can you tell me what is Read Search Ask method ?
Best Regards!!!

Read: read carefully the text of the challenge and any errors you get
Search: search on previous challenges, on documentation or google to find the info you need
Ask: if you haven’t been able to find the answer on your own after some work, ask for help

1 Like

But I have failed in the first Place, Please tell what are code elements, I don’t wanna lose again…

here the documentation on them

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code

I’m somehow confused, They’re showing many elements ,If you know some(code elements), Please post them right here…
Thank you!!!

that talk specifically about the code element and shows examples about it, code is its name

Does this means that also “a elements”(links) are code elements

fyi…

HTML tags vs elements vs attributes

HTML tags

Tags are used to mark up the start and end of an HTML element. The following are paragraph tags.
<p></p>

HTML elements

An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. The following is a paragraph element:
<p>This is the content of the paragraph element.</p>

HTML attributes

An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element’s start tag. An element’s start tag may contain any number of space separated attribute/value pairs.
The most popular misuse of the term “tag” is referring to alt attributes as “alt tags”. There is no such thing in HTML. Alt is an attribute, not a tag.
<img src="foobar.gif" alt="A foo can be balanced on a bar by placing its fubar on the bar's foobar.">

1 Like

they are elements, but code is a specific element, called code

2 Likes