Build a Cat Photo App - 步骤 32

告诉我们发生了什么:

步骤32 添加的alt属性是"Two tabby kittens sleeping together on a couch." 但是检查你的代码却按"Five cats looking around a field."验证

到目前为止你的代码

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
        <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>
      <section>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
        <ul>
          <li>catnip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
        </ul>
        <figure>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
          <figcaption>Cats <em>love</em> lasagna.</figcaption>  
        </figure>
        <h3>Top 3 things cats hate:</h3>
        <ol>
          <li>flea treatment</li>
          <li>thunder</li>
          <li>other cats</li>
        </ol>
        <figure>

<!-- User Editable Region -->

          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt = "Two tabby kittens sleeping together on a couch">

<!-- User Editable Region -->

        </figure>
      </section>
    </main>
  </body>
</html>

你的浏览器信息:

用户代理是: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0

挑战信息:

Build a Cat Photo App - 步骤 32

GitHub Link: i18n-curriculum/curriculum/challenges/chinese/blocks/workshop-cat-photo-app/5efae0543cbd2bbdab94e333.md at main · freeCodeCamp/i18n-curriculum · GitHub

欢迎来到论坛 @hxbonly

提示信息似乎有误。

您需要在文本的 alt 属性值末尾添加标点符号。

祝您编程愉快!

是的,就是末尾缺少标点符号引起的。

提示确实有误导。

谢谢!