Hello there!
I am new on here & I am trying out the mini tests on freecodecamp.
I am stuck on the HTML5 elements section and I really dunno what to do.
I seem to be doing something wrong still…
Hello there!
I am new on here & I am trying out the mini tests on freecodecamp.
I am stuck on the HTML5 elements section and I really dunno what to do.
I seem to be doing something wrong still…
You’ll have to provide a little bit of context here: we cant tell what you’re stuck on, we aren’t telepathic!
Lmao Dan.
Thanks for the reply.
I am at this point (below)
Basic HTML and HTML5: Introduction to HTML5 Elements
HTML5 introduces more descriptive HTML tags. These include header, footer, nav, video, article, section and others.
These tags make your HTML easier to read, and also help with Search Engine Optimization (SEO) and accessibility.
The main HTML5 tag helps search engines and other developers find the main content of your page.
Note
Many of the new HTML5 tags and their benefits are covered in the Applied Accessibility section.
Create a second p element after the existing p element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
Wrap the paragraphs with an opening and closing main tag.
We can understand the first challenge you are in, but the real thing is, you need to provide the code of what you have tried, show us what the error says. or provide a screenshot of what you have tried
Hey @ifysucre ,
Whenever you need help with any of the Freecodecamp challenges, use the “Ask For Help” button on your challenge page. It gives the link to the challenge as well as posts the code properly here on forum.
And, when you enter a code block into a forum post, precede it with a separate line of three backticks and follow it with a separate line of three backticks to make the code easier to read. See this post to find backticks on your keyboard.
Hope that helps.
what I tried
Error message
Passed
You need 2 p elements with Kitty Ipsum text.
Make sure each of your p elements has a closing tag.
Passed
Your p element should contain the first few words of the provided additional kitty ipsum text.
Your code should have one main element.
The main element should have two paragraph elements as children.
The opening main tag should come before the first paragraph tag.
The closing main tag should come after the second closing paragraph tag.
Use three backticks (```) at the start and at the end and place your code between those. Or provide a screenshot.
From the error. i can say you have to,
Create two p
elements, it means <p></p>
( this is a single p
element ) - You have to create two of them and add the required text between the opening and closing tags of the p element.
Wrap the two p elements with a main element, main
looks similar to p element with an opening and closing tag, but your two p
elements should go between the opening and closing of main tag
Thank you.
I will try this & let you know.
Hello there.
Please what is an ‘‘opening tag’’ & what is a ‘‘closing tag’’ also?
Ex:
<tag>
this is an opening tag and
</tag>
this is a closing tag
Thanks Sujit.
Again please what is a main tag?
'‘The main element should have two paragraph elements as children.’'came up
The parent is the main
tag here and the child is the p
tags ( there are some self-closing tags too which you will learn later, you need not worry about it now) , i had already mention how to create tags
Consider this, the main
tag should have two paragraph element as children, therefor <p></p>
this is single paragraph element, you have to create another.
Between the opening and closing of main
tag place two p
elements