Getting value from user input (input field) after clicking button
Scenario
We have simple form in HTML with:
input field,
button that is supposed to display an alert with text inputed in input field.
Simple, right? No, hell not.
Analysis
What?
We cannot just:
let v = document.getElementById('inputField').value;...
furiousdev.hashnode.dev1 min read