JavaScript JavaScript Basics (Retired) Introducing JavaScript Using the Console

cant finish this

please help this is so frustrating I get past one but the other messes up

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
<script> console.log("Begin Program"); document.write("Welcome to JavaScript Basics");

document.write console.log('End Program');


1 Answer

You have

document.write console.log('End Program');


console.log('End program');
14,636 Points

What this guy says. On the 2nd task of the challenge it tells you to place the necessary code that will print out "Edn program" to the console, after the last line. You did, but you included document.write before console.log and the interpreter has no idea what you want there because

document.write console.log("End program");

simply isn't a thing that you can combine on one line.


Huck - :sunglasses: