how to console log real value javascript code example
Example 1: how to log to the console javascript
console.log('What you want to log here.');
Example 2: js console log input value
<input type="text" placeholder="name" id="uname" />
<input type="button"value="submit" onclick="send()" />
let uname = document.querySelector("#uname");
function send() {
console.log(uname.value);
}