ive been trying to insert src in img element in step 8 as shown below but not seem to get it right. please help me with the correct arrangement, ive spent over 5 hours on it.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
<imgsrc>https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg</imgsrc>
</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/86.0.4240.75 Safari/537.36
There should be a space between the img and src. The src should be
src = “the link”
It doesn’t require a closing tag since img is self closing, its should be closed after the src has been filled up
From what I see you have your tag there. your “src” attribute too. I see your website “link”.
What is missing is your order in how you placed everything meaning your special characters, (i.e. <, ", >). You have also missed your ‘=’ sign.
It should appear like this:
<img src="then add your website link here">
Lastly, be mindful as you apply your tags that they will always be self-closing so you never need to create this part…</img>.
It took me several months, many tests before I got used to not doing it.
Your are doing great. Keep up on your journey in code and welcome to the collective of learners in code and FCC!