Creating a log-in page (need help) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Creating a log-in page (need help)

Hello,I have been trying to create a log in page but I have been having difficulty putting the form inside the block element how do I do this? Do I put it in <div> or is there another way because when I tried that it didn’t work.

26th Apr 2020, 12:15 AM
Honest Thomas
Honest Thomas - avatar
5 Answers
+ 2
Honest Thomas hi, When you say it didn't work, what were you expecting and what did you get ? If your code is on sololearn, it would be useful you post a link to it here,for debugging.
26th Apr 2020, 1:05 AM
EmmanueLZ.
EmmanueLZ. - avatar
+ 2
Kindly share your code.
26th Apr 2020, 3:36 AM
Tarun Kumar
Tarun Kumar - avatar
27th Apr 2020, 8:31 PM
Honest Thomas
Honest Thomas - avatar
+ 1
It’s embarrasingly bad
27th Apr 2020, 8:32 PM
Honest Thomas
Honest Thomas - avatar
+ 1
Honest Thomas ,no reasons for embarrassment 🙂. About your code , your <form> should be nested in your <div> but you closed your </div> before. Try: <div> <form> <label></label> <input> </form> </div>
27th Apr 2020, 8:41 PM
EmmanueLZ.
EmmanueLZ. - avatar