JavaScript JavaScript Basics Hello, JavaScript! Write JavaScript Statements

Its asking for the begin command.. Is consle.log not the correct one?

index.html
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>JavaScript Basics</title>
  </head>
  <body>
    <script src= "app.js"></script>

  </body>
</html>
app.js
consle.log ("This message will print to the consle");

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,300 Points

Hi Bryan Valdez

You're on the right track. There are just two issues.

  1. There is a spelling error in the command. You are missing an "o" in console.log.
  2. The message to be printed is explicitly stated in the instructions to be "Begin program" not "This message will print to the console." --Challenges are very specific and instructions always need to be followed exactly or you will get the Bummer message.

Once you fix those up, you're good to go.

Keep Coding! :) :dizzy: