24.2 Code Repo Question
Really struggling with the question on this one, anyone got any ideas? Maybe i still dont quite understand the principles from this module but Im hoping the answer will help it make sense. This is the part of the question im struggling with together with the code its referring to. Its to do with applying Flex to a form and for the elements to appear in columns instead of ontop of each other. Question (part of): 1. Modify the HTML of the form: remove the <br> elements that separate the form into lines. - Add <br> elements after the <label> tags, so that the number field appears after the label, on a new line. - Wrap each section element into <div> tags, and provide them a class="form-section". - Now we will have 3 "form-section" elements. Two of them will contain the labels and their corresponding fields, while the 2rd one will contain the button. The code as it stands: <section id="buy"> <form> <label for="Adults"><b>Adults</b></label> <input type="number" id="Adults"> <br><br> <label for="Children"><b>Children</b></label> <input type="number" id="Children"> <br><br> <input type="button" value="Buy"> </form> </section> Thanks so much!