Build a Cat Blog Page - Step 7

Tell us what’s happening:

i’m building Mr whiskers cat page.
at the step 7,i add a figcaption.but my code don’t work and i don’t know what’s wrong

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Mr. Whiskers' Blog</title>
    <meta charset="UTF-8" />
  </head>

<!-- User Editable Region -->

  <body>
    <header>
      <h1>Welcome to Mr. Whiskers' Blog Page!</h1>
      <figure>
         <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/1.jpg" alt="a cat peacefully sleeping">
         <figcaption>Mr. Whiskers Sleeping. </figcaption>
      </figure>
    </header>
  </body>

<!-- User Editable Region -->

</html>

Your browser information:

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

Challenge Information:

Build a Cat Blog Page - Step 7

Hi and welcome to the community!
Check if the text inside the figcaption is exactly the one you’re asked to add. Does it have a period for example? Or an extra space at the end?

hi!
yes the text is correct.i just copy and paste

Are you sure?
You seem to have added a period . and an extra space at the end of the text

OMG!!
thank you J. it was the . ,the problem.thank you so much

1 Like