Stuck on a task in the FreeCodeCamp list. its the task to add the Paragraph (p)

Tell us what’s happening:
Describe your issue in detail here.

Hi, I’m stuck on this task. Please can you help? it says to do the below:

" Create a paragraph ( p ) element below your h2 element, and give it the text Click here to view more cat photos."

It says my code is wrong

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <elementName>(p)Click here to view more cat photos.
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

Challenge: Step 3

Link to the challenge:

Hey there! Welcome to the forums :wave: :slightly_smiling_face:

I think you might be missing how the example is written. “elementName” is meant to be replaced with “p” (or whatever element you are creating).

A paragraph element would look like:

<p> This is a paragraph </p>

The (p) should rather be in the area where you have place the elementName.
it should read

Click.......

Try this

Thank you so much. That worked :slight_smile:

1 Like

Based on your deleted post, it looked like you tried to share your code and it got hidden. The forums will attempt to render HTML if it’s not formatted so to share it, copy/paste it between two rows of three backticks:
```
your code here
```

Just a tip for the future! :smile:

1 Like

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