Dont know how to go bout this was told to add(em)

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

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
    </section>
    <section>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
      <ul>
        <li>cat nip</li>
        <li>laser pointers</li>
        <li>lasagna</li>
      </ul>
      <figure>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
        <figcaption>Cats love lasagna.</figcaption>
        (element)love(/element)
      </figure>
    </section>
  </main>
</body>
</html>

Challenge: Step 24

Link to the challenge:

Hello @generalflame7 ,

I will make one of my elements emphasized below.

<p> Some text </p> → This is my element with the content of Some text.

<p><em> Some text </em></p> → I emphasized my content(my content = Some text) here which means i wrote the content in between my <em> </em> tags.

Realize that my <em> </em> tags are also nested inside my p opening (<p>)and closing(</p>) tags.

What would i do if i just would want to make my “Some” text emphasized? →

<p> <em> Some </em> text </p>

Now, ahead and find your <figcaption> Some other text </figcaption> tags and and emphasize some text inside it as requested.

Hope that helps. Best of luck!

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