通過編寫貓咪相冊應用學習 HTML - 步驟 14

告訴我們發生了什麼:
在此詳細描述你的問題。

你目前的代碼

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

<!-- User Editable Region -->

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

<!-- 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/112.0.0.0 Safari/537.36

Challenge: 通過編寫貓咪相冊應用學習 HTML - 步驟 14

挑戰的鏈接:

根据题意,target 属性应该被添加到 <a> 起始标签中,而不是写在 </a> 后面。

正确的写法应该是:<a href="" target=""></a>

另外,你把 target 拼错了,还有它的值是 _blank,不是 a blank

1 Like