通過編寫貓咪相冊應用學習 html - 步驟 12

有人知道這個哪裡有問題嗎?

你目前的代碼

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

<!-- User Editable Region -->

<p>Click here to view more
<a href ="https://freecatphotoapp.com">cat photos</a></p>

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

挑戰: 通過編寫貓咪相冊應用學習 HTML - 步驟 12

挑戰的鏈接:

我复制你的代码,报错是这样的:

原因是你把 p 元素的文本改了。

不明白为什么你要改 p 元素文本呢?在你之前提问的一道题目里也是这样的情况 :thinking:

1 Like