Learn HTML by Building a Cat Photo App - Step 27

Tell us what’s happening:

I’m looking to add an open and close em tag to emphasize the word “love” in this test within the future caption. I’ve tried closing the open tag in around love to closing the open tag around the entire sentence. Of course, I closed the em tag after the figure caption close tag.
Am I missing a space, quotation marks?

What am I doing wrong?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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>catnip</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.">

<!-- User Editable Region -->

          <figcaption> Cats <em love lasagna.> </figcaption> </em>

<!-- User Editable Region -->

        </figure>
      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Mobile/15E148 Safari/604.1

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 27

Welcome to the forum @hutwagner.a

You placed the target text inside the opening em tag.

Please reset the step to restore the seed code and try again.

Happy coding

Good evening! You are closing the tags the wrong way, the correct way would be like this:

code removed by moderator

The tag “em” was only to be used in the word “amor”. I hope I helped, good evening

hi @antoniilucasofc

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like