Photo by Florian Olivo on Unsplash

Capturing all input values from a HTML form can be hectic sometimes, especially for beginners. Fortunately there are different techniques that can be used to achieve that, some developers prefer to use JavaScript Libraries others prefer to use vanilla JS.

Deciding what technique to use heavily depends on your requirements, for instance you might find yourself in a scenario where you have to clean/process the user inputs before submitting the data to the back-end. …

Photo by Valery Sysoev on Unsplash

With HTML it’s very easy to preselect a value by default on a select box using the selected attribute as follows.

Sam Tomashi

If programming was magic, I would be the Wand and you the Bright. If it was a form of communication, I would be a multilingual who speaks Java, Python, C#, etc.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store