freecodecamp.cn icon indicating copy to clipboard operation
freecodecamp.cn copied to clipboard

任务27中,你的a元素应该嵌套在你新的p元素中。已经嵌套了却没过

Open linwxin opened this issue 9 years ago • 10 comments

Challenge Nest an Anchor Element within a Paragraph has an issue. User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<link href="https://fonts.gdgdocs.org/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>

<p>View more <a herf="http://www.freecatphotoapp.com">cat photos</a></p>

<img class="smaller-image thick-green-border" src="/images/relaxing-cat.jpg">

<p class="red-text">在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。</p>
<p class="red-text">养动物有的时候,就是介于爱与恨之间,当你钦羡别人萌宠这么可爱的时候,你一定没有想过,狗狗和猫猫会到处拉屎,甚至会屯老鼠,啃鞋子,用爪子爬门,你不理它,它就挠你,你要对它发脾气,它会比你更来劲。所以,狗猫慎入,没有一定的准备,切勿随便去侍养动物。它们一旦认定你了,你就是它们的主人,如果你抛弃它们,它们必定心中重创。</p>

linwxin avatar Jan 10 '17 15:01 linwxin

感谢,已经过了,但是有新难题[42] 以下是我的代码

{把 gray-background class 指定给你的 div 元素。

你的 div 元素应该有一个灰色(gray)的背景。 }

以下是我的代码

CatPhotoApp

Click here for cat photos.

A cute orange cat lying on its back

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
----- 原始邮件 ----- 发件人:linwxin 收件人:"FreeCodeCampChina/freecodecamp.cn" 抄送人:Subscribed 主题:[FreeCodeCampChina/freecodecamp.cn]_任务27中,你的a元素应该嵌套在你新的p元素中。已经嵌套了却没过_(#103) 日期:2017年01月10日 23点26分

Challenge Nest an Anchor Element within a Paragraph has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0.

Please describe how to reproduce this issue, and include links to screenshots if possible. My code:

CatPhotoApp

View more cat photos

在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。

养动物有的时候,就是介于爱与恨之间,当你钦羡别人萌宠这么可爱的时候,你一定没有想过,狗狗和猫猫会到处拉屎,甚至会屯老鼠,啃鞋子,用爪子爬门,你不理它,它就挠你,你要对它发脾气,它会比你更来劲。所以,狗猫慎入,没有一定的准备,切勿随便去侍养动物。它们一旦认定你了,你就是它们的主人,如果你抛弃它们,它们必定心中重创。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

immortalwang avatar Jan 10 '17 15:01 immortalwang

哥们。。我还没过啊。。我卡在这里了

------------------ 原始邮件 ------------------ 发件人: "wky";[email protected]; 发送时间: 2017年1月10日(星期二) 晚上11:59 收件人: "FreeCodeCampChina/freecodecamp.cn"[email protected]; 抄送: "暂时不知道叫什么"[email protected]; "Author"[email protected]; 主题: Re: [FreeCodeCampChina/freecodecamp.cn] 任务27中,你的a元素应该嵌套在你新的p元素中。已经嵌套了却没过 (#103)

感谢,已经过了,但是有新难题[42] 以下是我的代码

{把 gray-background class 指定给你的 div 元素。

你的 div 元素应该有一个灰色(gray)的背景。 }

以下是我的代码

CatPhotoApp

Click here for cat photos.

A cute orange cat lying on its back

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
----- 原始邮件 ----- 发件人:linwxin 收件人:"FreeCodeCampChina/freecodecamp.cn" 抄送人:Subscribed 主题:[FreeCodeCampChina/freecodecamp.cn]_任务27中,你的a元素应该嵌套在你新的p元素中。已经嵌套了却没过_(#103) 日期:2017年01月10日 23点26分

Challenge Nest an Anchor Element within a Paragraph has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0.

Please describe how to reproduce this issue, and include links to screenshots if possible. My code:

CatPhotoApp

View more cat photos

在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。

养动物有的时候,就是介于爱与恨之间,当你钦羡别人萌宠这么可爱的时候,你一定没有想过,狗狗和猫猫会到处拉屎,甚至会屯老鼠,啃鞋子,用爪子爬门,你不理它,它就挠你,你要对它发脾气,它会比你更来劲。所以,狗猫慎入,没有一定的准备,切勿随便去侍养动物。它们一旦认定你了,你就是它们的主人,如果你抛弃它们,它们必定心中重创。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

linwxin avatar Jan 12 '17 06:01 linwxin

<a href="http://www.freecatphotoapp.com">cat photos</a> 只需要在空白行插入这行代码就行了 你的错误在于把href写成了herf

xyzdbb avatar Jan 19 '17 12:01 xyzdbb

我觉得类read-text写一个就可以了,两段之间用br换行

ghost avatar Jan 19 '17 17:01 ghost

@linwxin @yearnZero 27 过了没 怎么过的

turboxing avatar Feb 14 '17 09:02 turboxing

@immortalwang 务27中,你的a元素应该嵌套在你新的p元素中。已经嵌套了却没过 伙计 这个你怎么过的

turboxing avatar Feb 14 '17 09:02 turboxing

@linwxin href拼错了,修正以后确认可以通过

wudifeixue avatar Feb 16 '17 01:02 wudifeixue

我也是 任务27有bug,过不了

daydayupstudy avatar Mar 01 '17 03:03 daydayupstudy

第27题并没有Bug, 请认真读题 daydayupstudy [email protected]于2017年2月28日 周二20:08写道:

我也是 任务27有bug,过不了

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/FreeCodeCampChina/freecodecamp.cn/issues/103#issuecomment-283232055, or mute the thread https://github.com/notifications/unsubscribe-auth/AG-lwTrzb-YnPgtrQAbXqPPNE_4WmN98ks5rhOExgaJpZM4LfiZI .

-- Curtis Xiao

wudifeixue avatar Mar 01 '17 15:03 wudifeixue

27关有BUG啊

renshaopeng avatar Mar 04 '17 15:03 renshaopeng