+ 1

Why is it that my code on css does not display

https://code.sololearn.com/WownJVmovUF4/?ref=app

18th Mar 2022, 11:04 AM
Prince Johnson Osinachi
Prince Johnson Osinachi - avatar
2 Answers
+ 2
In most environments, clicking "submit" removes the for from display. If you want to print your input on screen after submitting, fetch the data from the fields and use document.write or make the data content of some output element. (JS) If you simply want to prevent the from from disappearing on button click, change the "submit" type of the input to "button".
18th Mar 2022, 4:25 PM
Lisa
Lisa - avatar
0
What part are you refuring to? Css is not suppose to display objects, only edit the objests in the html
18th Mar 2022, 2:08 PM
Brain & Bones
Brain & Bones - avatar