freeCodeCamp Challenge Guide: Line up Form Elements Responsively with Bootstrap

freeCodeCamp Challenge Guide: Line up Form Elements Responsively with Bootstrap
0

#1

We line up the form elements the same way we do with others, using divs.

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

#2

This helped me get unstuck.:grin:


#3

Like usual, the syntax is key here. Just make sure your div classes are within their own arrows before the input. so < div>< input>< /div>


#4

Please help! Iam still stuck with this challenge.what am I missing?


#5

Mine looks exactly like yours and I’m stuck, too! All my div elements seem to have all their closing tags. We need help.


#6

Hi
Did you get any solution yet??


#7

i’m stuck too… All my div elements have closing tags and I can’t get through. Is there any way to skip?


#8

Something is buggy on this challenge. My code was not accepted until I copied and pasted it back into the challenge.

Make sure your </form> closing tag still exists


#9

thank you very much. it works perfectly :grin:


#10

Make sure to clearly read the instructions and then make sure to use the correct syntax.


#11

Hi everyone! I’m having a really tough time with this particular challenge. I can’t seem to figure out what I’m doing wrong. I’ve pretty much done exactly what I’m being told to do but apparently I’m missing something. I’d love a fresh perspective or at least advice that’s a little more in-depth.

Here’s my code:

What exactly am I doing wrong? Please advise!


#12

I’m stuck exactly the same spot. I double checked and I didn’t see any thing missing but I could be wrong. I need help!


#13

Does it? The inverted comas around col-xs-5 are missing in the camperbot solution. The correct answer is that there are 3 /div’ at the end! (2 new ones + one from the very beginning) :slight_smile:


#14

Do it like Me