Tell us what’s happening:
he third image should have a src attribute set to https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg .
I cant seem to figure out what is the problem here
Your code so far
<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>
<!-- User Editable Region -->
<figure>
<img scr="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg.">
</figure>
<!-- User Editable Region -->
</section>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 29
Welcome to our community!
You have a typo. Don’t use the dot after an image extension (…jpg.).
i removed the dot but im still getting this error
he third image should have a src
attribute set to https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg
.
Shinfoo:
<img scr="https:
In your posted code you have a ‘scr’ instead of ‘src’.
Tell us what’s happening:
i cant figure out what the problem here seems to be.
Your code so far
<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>
<!-- User Editable Region -->
<figure>
<img scr="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg">
</figure>
<!-- User Editable Region -->
</section>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 29
ILM
July 3, 2024, 9:52am
6
Shinfoo:
scr
the attribute name is src
Hi, I noticed that you opened two topics to ask for help on the same step. Please do not do that again in future here. (Instead just update the original topic with further questions or inquiries)
I have merged your duplicate topics with everyone’s responses.
system
Closed
January 1, 2025, 9:56pm
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.