Needs help with this

Needs help with this
0

#1

Tell us what’s happening:
These instructions are not gradually teaching the learner because it throws u off. how can are get kitten image placed in my src attribute

Your code so far


<h2>CatPhotoApp</h2>
<main><img src ="" https: //bit.ly/fcc-relaxing-cat/ kiten image alt = "cats are swimming">
  
  
  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/add-images-to-your-website


#2

There are a few problems here:

First, html attributes (in this case, src and alt) which accept values (attribute="something") cannot have a space between the attribute name and the = sign. So src = "" should be src="" and alt = "" should be alt="". When you have a space after the attribute name, it indicates it is a boolean attribute. That is not what you want in this case.

Values for attributes need to go inside of the quotes. So in the case of src, it should look something like src="linktoimage".

The link to the image (https: //bit.ly/fcc-relaxing-cat/) is currently outside of the quotes.

If you fix those two issues (removing the space between the attirubute names and the = sign and move the image URL into the quotes), it should work.