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

告诉我们发生了什么:
提示我输入链接的文本应该是 freeCodeCamp.org,但是仔细输入之后发现不能成功测试,已经验证无误。

你目前的代码

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>cat nip</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>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
          <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
        </figure>
      </section>
      <section>
        <h2>Cat Form</h2>
        <form action="https://freecatphotoapp.com/submit-cat-photo">
          <fieldset>
            <legend>Is your cat an indoor or outdoor cat?</legend>
            <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
            <label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
          </fieldset>
          <fieldset>
            <legend>What's your cat's personality?</legend>
            <input id="loving" type="checkbox" name="personality" value="loving" checked> <label for="loving">Loving</label>
            <input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
            <input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic">Energetic</label>
          </fieldset>
          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="submit">Submit</button>
        </form>
      </section>
    </main>
    <footer>
      <p>
    No Copyright - freeCodeCamp.org <a href="https://www.freecodecamp.org"> freeCodeCamp.org </a>.
      </p>
    </footer>
  </body>
</html>

你的浏览器信息:

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

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

挑战的链接:

这里应该是 <a href="https://www.freecodecamp.org"> freeCodeCamp.org </a>,按题目要求把题目中已有的 freeCodeCamp.org 放进 <a> 就行了。

加油!

复制了文本内容放进去但是还是显示无法成功运行,都懵了 :sob:

截图给你看看:

No Copyright - <a href="https://www.freecodecamp.org"> freeCodeCamp.org </a>

注意句末不要加一个句号,我看你的代码句末是有句号 . 的,也不能通过。

感谢,现在通过了,但是前面p标签的文本为什么要去掉后面的freecodecamp,我看那个上面提示需要,非常感谢你的帮助,这个困扰了我好久

你是问 <a> 标签的文本为什么要去掉后面的 freeCodeCamp.org 吧?

你对 <a> 标签的理解是正确的,写法也正确,只是需要注意——在不能通过测试的时候,多理解一下题意,多尝试。

你看截图,如果是按照你的代码,底部就有两个 freeCodeCamp.org,一个有链接,一个没有,是重复的。

这样子特别感谢,待我继续坚持努力谢谢你的耐心指导