I don't know what I'm doing

Stuck at the alt attribute.


<main>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A  relaxing cat">
<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>

It is best if you include all of your code and a link to the challenge you are working on.

What does the failing test say?

I believe your issue is on this part of the course:

Here the problem is that you need to keep the first original paragraph in the starter code as it is and then on the next line, create this second paragraph which you have created (which looks correct).
Then enclose both the paragraphs inside the main tag.
Remove that image element. The test does not ask for it. Sometimes including unnecessary stuff which the test does not expect, also causes the test to fail.

Is this the Tutorial you are working on.

Add Images to Your Website

If not, please post a link to the Tutorial here.

If that is the correct tutorial, then the link and the ALT are correct, And you seem to have deleted the upper elements on the page.

PRESS RESET and redo the link, or cut the link out, PRESS RESET, and paste it in the newly reset code.

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