Hey, I’m currently on the HTML curriculum, and learning and getting used to all the elements.
I understand how elements work, I have some trouble with certain attributes, like the “value” on input elements. I know ID is to tie them to their label, and name is used to group them and set whether you can choose multiple options, but I can’t understand what “value” does. I’ve looked it up and all I could find was “sets the value of the element”, which doesn’t help. Is it something I should just keep using as instructed, and will be covered on later lectures?
you should use it yes, the value attribute is how you get the value of the form element programmatically, it’s quite important, you will learn more about it when you learn to interact dynamically with the page through code