w2schools javascript forms code example Example: javascript let str = 'Hello World'; console.log(str);