FreeCodeCampChina / freecodecamp.cn

FCC China open source codebase and curriculum. Learn to code and help nonprofits.

Home Page:https://fcc.asia/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Placeholder Text to a Text Field挑战无法被检测

sercershell opened this issue · comments

浏览器信息

  • 360浏览器 10.0.1794.0
  • Windows10 x64 专业版

问题描述

  • 挑战 Add Placeholder Text to a Text Field 的第二个条件
    把你的placeholder属性的值设置为"cat photo URL"。
    无法被检测

  • 正常的输入代码就这样

你的代码

<link href="https://fonts.gdgdocs.org/css?family=Lobster" target="_blank" rel="nofollow" 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>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back" src="/images/relaxing-cat.jpg"></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<input type="text">
<input type="text" placeholder="cat photo URL">