How to assign a value to an input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

How to assign a value to an input?

I have been trying for a week to assign a value to an input in html but i am still not getting it It's showing a 'assignment error' Could someone help me?

13th Apr 2020, 1:47 PM
Bot
Bot - avatar
3 Answers
+ 4
<input value="Default value">
13th Apr 2020, 1:53 PM
Gordon
Gordon - avatar
+ 3
could you post your code.
13th Apr 2020, 1:49 PM
Bahhaⵣ
Bahhaⵣ - avatar
+ 3
Thanks for your immediate response
13th Apr 2020, 1:56 PM
Bot
Bot - avatar