Freecodecamp: 在提供的图像中,链接文本与示例不匹配。 在图像中,它被写为“到自由代码营地.com的链接”,而在示例中,.com不存在。

创建于 2017-03-25  ·  3评论  ·  资料来源: freeCodeCamp/freeCodeCamp

质询链接到具有锚元素的外部页面时出现问题。
用户代理为: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36
请描述如何重现此问题,并在可能的情况下包括指向屏幕截图的链接。

我的代码:


<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

  .smaller-image {
    width: 100px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

help wanted

最有用的评论

我会做的...

所有3条评论

感谢您报告此问题。

这是一条标准消息,通知您此问题似乎是在寻求帮助。 而不是在这里寻求帮助,请在freeCodeCamp上的挑战上单击“帮助”按钮,它将带您进入该特定挑战的帮助聊天室。 您还可以查看我们的官方聊天室的完整列表

如果您认为我在关闭此问题上有误,请重新打开它并添加进一步的说明。 谢谢,祝您编程愉快。

@ pramodgk93感谢您的问题。 尽管较小,但为了保持一致性,最好在代码块示例中添加.com

我会做的...

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

kokushozero picture kokushozero  ·  3评论

MelissaManning picture MelissaManning  ·  3评论

danielonodje picture danielonodje  ·  3评论

robwelan picture robwelan  ·  3评论

trashtalka3000 picture trashtalka3000  ·  3评论