how to log text and a varible in JS code example Example: javascript log to console const varName = 'this variable'; console.log(varName);