Learn HTML by Building a Cat Photo App - Step 8

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

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
  <p><img src=""alt=""/> Click here to view more cat photos.</p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">    
    </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/106.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 8

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

am stuck on this step 8 can you please guide me the step complete

please click the reset button :arrows_counterclockwise: to restore the code to its initial state.

then you will be shown the following line of code in the editor

<img>

this is an img element but it is not complete and it is missing the src attribute

to add the src attribute you must type it next to the word img (inside the angled brackets).
then type the equal sign =
then type some double quotes “”
and inside the double quotes you should copy the value of the link for this img from the exercise description

make sure you leave a space between img and src

make sure you still have the angled brackets in place

hello and welcome to fcc forum :slight_smile:

okay lets first see what instructions is saying about this with an example

An example of an img element using an src attribute: <img src="https://www.example.com/the-image.jpg">

and lets see what this step is asking you to do

Inside the existing img element, add an src attribute with this URL:
https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

now given these information, i would recommend to start with what “hbar1st” is saying to reste this “step” and begin fresh and with rest to finish this step, happy learning :slight_smile:

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