โ Back to Printing
Question 37
Template Literal Greeting
Template Literal Greeting
Create two variables: name = 'Joseph' and track = 'JavaScript'. Use a template literal and console.log() to print exactly: Welcome Joseph to JavaScript! Steps: 1. Create the two variables with the exact values shown 2. Use a template literal (backticks) to build the message 3. Print the final message with console.log()
Expected Output:
Welcome Joseph to JavaScript!
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.