Tell us what’s happening:
I don’t understand why it won’t let me go to the next step, I’m supposed to nest my p element with my a element, but when I nest it I get this error: Hint
After nesting the anchor (a) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spacing, or punctuation of both the p and nested anchor element.
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.
<a href="https://freecatphotoapp.com">cat photos</a>
</p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Hello, I already restarted the lesson and I did what you told me and I don’t know what is wrong in the code since I only modified my p element and it gives me the same error
you’re not supposed to remove any code.
Just add code.
The final result for this paragraph should be that the last 2 words are clickable.
Click here to view more cat photos.
(check your preview pane, if the sentence is not showing up like this, restart the step and add code to the paragraph element only to make the words clickable)