The src is not working

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
  the src wont work i watched the video and did it the same way it still does not work, it keeps telling me to put in src

<h2>CatPhotoApp</h2>
<main>
<img [src="https://www.bit.ly/fcc-relaxing-cat."] alt="Relaxing cat.">

<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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.47

Challenge: Add Images to Your Website

Link to the challenge:

Why is it in square brackets?

3 Likes

Hyy @rando,

You’re almost good to go and you’ll be able to pass the challenge after you remove those square brackets before and after the src attribute and fullstop at the end of the link.
Try this code :

<img src="https://www.bit.ly/fcc-relaxing-cat" alt="Relaxing cat.">

Hope you got your answer.
Have a great day ahead! :rose:

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

I’m sorry for that @JeremyLT , I’ll remember it next time! Thank you for guiding me. :pray:

thank I figured it out with a few attempts

i don’t know either I just got confused I guess

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.