Style Text Inputs as Form Controls

Style Text Inputs as Form Controls
0

#1

Tell us what’s happening:

Your code so far

  <form action="/submit-cat-photo">
  <input class="form-control" type="text" placeholder="cat photo URL" required>
    <button class="btn btn-primary" type="submit"> <i class="fa fa-paper-plane">Submit</i></button>

  </form>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:

Make sure each of your i elements has a closing tag. Why can not i run tests?


#2

your input tag is not closed


#3

You don’t have to close the input tag, but you should leave <i class="..."></i> empty and put “Submit” after or before the i tags.


#5

Can you show me your code ?