How to read content of html element in consol.log code example
Example 1: javascript log to console
const varName = 'this variable';
console.log(varName);
Example 2: how to use js console log
console.log('string');
const varName = 'this variable';
console.log(varName);
console.log('string');