Please help. Im having issues with my html and css. The name and the input box are not on the same line and I dont know how o fix it. Also the submit button doesnt show up. https://codepen.io/Mackdine/pen/gOOOaQK?editors=1100
Honestly, save yourself the trouble and make the form a one-column layout with the labels on top of the inputs. It is better UX and easier to make.
-
You have a typo on
.labels, it isinline-blocknotinlign-block. -
.rightTabis a block-level element and will take up the full width of its container so the.labeland.rightTabelements will never sit next to each other. -
Give the first three
.rowTabelements a new class.flex-align-center.
<div class="rowTab flex-align-center">
Add the new CSS for the class and change the CSS for the .label class
.flex-align-center {
display: flex;
align-items: center;
}
.labels {
text-align: right;
width: 30%;
padding: 5px;
}
-
Between lines 62 and 63, you need to close the unordered list
</ul>. -
On line 82 you need to close the label, you have an opening tag it should be a closing tag.
-
On line 94 you have a typo for the closing
</textarea>tag.
THANK YOU for your answer.