Please am a new beginner andam stuc in sessin 18 of html

Please am stuck in session 18 of the html

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

         <section>
       <h2>Cats lists.</h2>

Hello!
Welcome to the fCC forum
Ensure that your text is exactly the same as it is in the instruction.
You have 3 typos.
Try:
Removing the ‘s’ at the end of the word that is supposed to be ‘Cat’.
Capitalizing your ‘L’ from the word ‘Lists’.
And removing the dot at the end as it is not needed.

2 Likes

Have done that but its saying Your section element should have an opening tag. Opening tags have this syntax: .

Okay, can you please post your full updated code here by wrapping it in 3 backticks (```)

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<section>
<h2>Cat Links</h2>

When you paste your code here, you need to wrap it in three backticks for it to show, otherwise we will see the output.
Like this
image

Your code comes here ```
1 Like

I have edited your post so that your code displays correctly on the forum, as @zuhameer6 suggested.

The issue now is that your closing section tag is missing a forward slash.

2 Likes

Thanks this is useful and have been able to also solve 18 ,19 20 21 of the challenges

2 Likes

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