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