how to console log error message javascript code example Example: javascript console.error console.error('Put an error message here...')