<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
<!-- User Editable Region -->
< img src= A cute orange cat lying on its back" >"https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
<!-- User Editable Region -->
</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/122.0.0.0 Safari/537.36
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
I’m still very confused with what to do here, in the exercise the code starts with <img src. And in your response the code starts with <img attribute ?
However the error I’m getting is this:
Sorry, your code does not pass. You’re getting there.
Your img element does not have an alt attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.
I’ve tried adding spaces where I was advised but still no luck. I’m still very new to this so maybe one of you more advanced coders can assist.
Add the text “A cute orange cat laying on it’s back.” With your alt attribute. and image link with src attribute. And you need only two <> angled brack. Before and after your img and it’s content. Don’t add any bracket within img element. @najmuddeenpotgieter