通过编写猫咪相册应用学习 html - 步骤 12

我不知道问题出在了哪,下面是我写的代码,但是提示我“ 你应该在 元素中嵌套一个新的锚点()元素。p a” 我不太理解这句话。 麻烦大家帮我看看,谢谢了

你目前的代码

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

<p>See more cat photos in our gallery.<a href="https://freecatphotoapp.com">cat photos</a> </p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- User Editable Region -->

      <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>

你的浏览器信息:

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

挑战: 通过编写猫咪相册应用学习 HTML - 步骤 12

挑战的链接:

这里应该是把 p 元素中本来就有的 cat photos 放到锚点 a 中,而不是新增一个 cat photos,即 <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

  <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>