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

怎么把cat photos单词转换为指向 https://freecatphotoapp.com的链接

正确的应该是怎么写?求解
你目前的代码

<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 herf="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/116.0.0.0 Safari/537.36 Edg/116.0.1938.62

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

挑战的链接:

你添加 a 元素的方法是对的,但是你应该把题目中本来有的 cat photos 转换为指向 https://freecatphotoapp.com 的链接,而不是新增一个 cat photos。另外,注意 href 的正确拼写。