Validation with javascript


I’m trying to practice JavaScript, it’s a simple code to do validation :dizzy_face:

but when I press the login buttom the output page hasn’t the similar style like what I did.
try it Sir @Alhakem please


Div="main" you forgot to close it



A big thank :ok_hand: @sniperadmin


Welcome @Nabila!
Nice code!