I've been having issues with adding the image, I need help

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img scr="https://s3amazonaus com/freecodecamp/relaxing-cat.jpg" alt="fcc-relaxing-cat" />

  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; Infinix X657C Build/QP1A.190711.020) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Your code is showing:

It’s asking you to do: Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

1 Like

How do I go about seting the src attributes so it points to the url?

Per the instructions :
You can add images to your website by using the img element, and point to a specific image's URL using the src attribute.
There is even more information in the step: https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

I recommend reading the instructions of each step you work on. Each step explains how to complete the problem. The people who wrote these courses do a much better job of explaining how to do these steps than i can.

1 Like

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