freeCodeCamp Challenge Guide: Style Text Inputs as Form Controls

freeCodeCamp Challenge Guide: Style Text Inputs as Form Controls
0

#1

You can add the fa-paper-plane Font Awesome icon by adding <i class="fa fa-paper-plane"></i> within your submit button element.

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

#2

is there any difference if we close the i tag before submit text??
like this.
<button type=“submit” class=“btn btn-primary”>Submit


#3

but you did not answer to this part of question "Give your form’s text input field a class of form-control. "
and please give with me this part answer “Give the text input in your form the class form-control.”


#4

#5

@bahmanlodder,

They are asking you to give your input field that is linked to the “submit” button the class of “form-control”

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

#6

dear @BelcherJames87

Thank you for answer


#7

For anyone that wasn’t sure


#8

can you give comment , i cant next my step to study here because i get a problem with this step “Add a within your submit button element”

can you give me information to solved this step


#9

“Add a within your submit button element” its is script


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

what does form-control do here?