Declaring a variable means giving it a name. In JavaScript, this is often done with the let keyword. For example, here is how you would declare a hello variable:
Variable naming follows specific rules: names can include letters, numbers, dollar signs, and underscores, but cannot contain spaces and must not begin with a number.let hello;
Declare a character variable in your code.
Note: It is common practice to end statements in JavaScript with a semicolon. ;
let character;