0 of 6 problems solved • 0%
Use in a course

Exercise prompt

Print a Greeting

console.log() displays a value in the console. Text values are called strings, and a string must be surrounded by matching quotation marks.

Example

console.log("Good morning!");

This prints Good morning!. The quotation marks make the greeting one text value, and console.log() sends that value to the console.

Your task

Change the existing console.log() call so the console displays Hello, JavaScript!.