KennyA
December 11, 2024, 5:23pm
1
Tell us what’s happening:
My p element is wrong can you show me the proper way to use it in my h3?
Your code so far
<html>
<body>
<h1>CatPhotoApp</h1>
<!-- User Editable Region -->
<h2>Cat Photos</h2>
<h3p>Everyone loves cute cats online!</h3>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 3
ILM
December 11, 2024, 5:23pm
2
you don’t need an h3
at all here, you need to create a p
element
KennyA
December 11, 2024, 5:24pm
3
How there are no examples showing
KennyA:
<h2>Cat Photos</h2>
How did you write an h2
element?
KennyA:
<h1>CatPhotoApp</h1>
How did you write an h1
element?
p
elements work the exact same way.
ILM
December 11, 2024, 5:25pm
5
you write it the same as the other elements, <elementName>
for opening and </elementName>
for closing where the element name is p
KennyA
December 11, 2024, 5:28pm
7
Dang i wrote it out and got that sorry
ILM
December 11, 2024, 5:29pm
8
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 (').
This is a p
element inside of an h3
element.