Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

Hello, I need some help identifying my problem. My other only tag that is red is my

tag, which is why my first tag is also red, but the rest of my tags are burgundy, and consequently my closing tag is also burgundy.

CatPhotoApp

Cat Photos

Click here to view more cat photos.

Your code so far

<html>

<!-- User Editable Region -->

  <body  
 
   <main> 
     <h1>CatPhotoApp</h1>
     <h2> Cat Photos </h2>
     <!-- TODO: Add link to cat photos -->
     <p> Click here to view more cat photos. </p>
     </main>
    
    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

the red doesn’t mean error, it is only the color of choice for that particular part of the code

but you have an error, look at the second tag in your code, right before your color mismatch

I updated my code, but still no luck

please show your updated code

 <main> 
     <h1>CatPhotoApp</h1>
     <h2>Cat Photos</h2>
     <!-- TODO: Add link to cat photos -->
     <p>Click here to view more cat photos.</p>
     </main>

Hi @JessicaGastelum

I edited your post so the code correctly formats on the forum.

Here is a comparison of the original code and your code.

The code in blue is the original code, the code in red is your code.
The code in magenta is the overlap.

I looks like you modified the text of the paragraph element.

Please reset the step to restore the seed code and try again.
Only add the main element, do not modify the existing code or text.

Happy coding

Thank you it works now!

1 Like