** The third image should have an src
attribute set to https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg
.
Unable to solve this error, after typing this code.
**
** The third image should have an src
attribute set to https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg
.
Unable to solve this error, after typing this code.
Please post your actual code and a link to the Step instead of a screenshot! Thanks!
That just provides a link to the challenge we can not see your code. You can follow these steps to post your code
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<section>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<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>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 <em>love</em> lasagna.</figcaption>
</figure>
<h3>Top 3 things cats hate:</h3>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg.">
</figure>
</section>
</main>
</body>
</html>
Looks like you have an extra . here at the end of the url
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.