Learn HTML by Building a Cat Photo App - Step 3

i know this might sound stupid from my end but im fully new to HTML and cant figure this step out and the reason why im posting this is because i wanna get familiar with the workspace.

" The p element is used to create a paragraph of text on websites. Create a p element below your h2 element and give it the following text:" is my objective and i cant figure out what to do.

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

1 Like

please post your code and a link to the step, we are not able to help without those informations

1 Like

"https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-3 " is the link

"

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    
</html>

and heres the code

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

thank you, again im sorry im pretty new here.

you need to add a new element, this time a paragraph element, whose name is p in html, what issues are you having with that?

I cant get pass that step, but i will try to figure it out and come back at it.

what have you tried? you have given only the starting code

1 Like

Well this is my objective

image

im just confused on how to apply this

you have create an h2 element last step, now you need to do the same with a p element, it will have an opening tag and a closing tag like the h2 element, and the text you are given as element text between the p opening tag and the p closing tag

1 Like

so lets say instead of writing this

<h2/> See more cat photos in our gallery.<h2>

i write this
<p/> See more cat photos in our gallery.<p>

<h1/> is not an opening tag, an opening tag looks like <elementName>
<h1> is not a closing tag, a closing tag looks like </elementName>

Thank you well that fixed my issue i thought they all resulted to the same thing, thank you very much. again sorry for these simple mistakes.

1 Like

no need to be sorry, you are learning!

2 Likes