Tell us what’s happening:
help need p element in lesson 1 please. new at this.
Your code so far
<html>
<body>
<h1>CatPhotoApp</h1>
<!-- User Editable Region -->
<h2>Cat Photos</h2>
<Everyonelovescutecatsonline!>
<!-- 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/132.0.0.0 Safari/537.36 Edg/132.0.0.0
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 3
Hi there @marleneneilson66 . See the above h2
opening and closing tags around Cat Photos
text as an example. Like that create p
(stands for paragraph) element opening and closing tags around the required text for the challenge step.
When you use these symbols: < and >, you put them around things that instruct the computer. Those are called elements. Usually, what’s between the elements is what gets shown on the screen. So when you have your <h2>Cat Photos</h2>
the <h2>
part tells the computer that whatever comes between <h2>
and </h2>
needs to be a certain size. In your case, it’s the words “Cat Photos.” When you put <Everyonelovescutecatsonline!>
Those words are interpreted by the computer as instructions for how those words are supposed to look, and not the actual words that need to go on the screen.
What the lesson is asking you to do is similar to the previous lesson, it wants you to learn how to make those words go on your screen, but because the way those words need to look are different, you need to give different instructions than <h1></h1>
to the computer.