FreeCodeCampChina / freecodecamp.cn

FCC China open source codebase and curriculum. Learn to code and help nonprofits.
https://fcc.asia/
Other
37.04k stars 1.38k forks source link

Style Text Inputs as Form Controls ? #515

Open wildye opened 6 years ago

wildye commented 6 years ago

Challenge Style Text Inputs as Form Controls has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<div class="container-fluid">
  <div class="row">

    <form action="/submit-cat-photo">

      <input class="form-control" type="text" placeholder="cat photo URL" required>

      <button type="submit" class="btn btn-primary">Submit
        <i class="fa fa-paper-plane"></i>
      </button>
    </form>

  </div>
</div>
S1ngS1ng commented 6 years ago

@wildye 先 Reset 一下,然后只修改需要修改的部分,其他内容不要删。<div class="container-fluid"> 里面肯定不止你上面的这几行。 如果其他内容你没有删掉,重新提交一次试试