Learn HTML by Building a Cat Photo App - Step 3

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>

<!-- User Editable Region -->

    <h2>Cat Photos</h2>
    <See more cat photos in our gallery/>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 3

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!

You’re on the right track with this. You see how with element h2 you have it squeezed together with these <> symbols making < h2 > Also notice how on the opposing end of that line of code you end it with < /h2 > Take the same structure/look and do that with the second line. Instead of using the h2 element you’ll be using that other element that it meant for text on a website.

1 Like
 Hello! I don't know what your current level is, but I hope this helps.

The Paragraph element

requires an opening tag

as well as a closing

tag. Anything between the opening, and closing paragraph element tags will be displays in the web browser.

The paragraph element is considered a block element. When you use the paragraph element tag it starts on a new line, and stretches completely from left to right. It is the only element on that line(s). It takes up the whole block.

Looking at step 3 from the cat photo app on freeCodeCamp is the following:

Step 3

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:

See more cat photos in our gallery.

You want to begin with your opening paragraph element tag

then type the following test after it; “See more cat photos in our gallery.”. Then type the closing paragraph element tag


it should look like this.

Cat Photos

See more cat photos in our gallery.

Now you can click on the check your code button.

Best of luck to you.   -Bill

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.