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

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

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

</script>
</body>
</html>

1 Answer

You have

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

Try

console.log('End program');
huckleberry
huckleberry
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.

Cheers,

Huck - :sunglasses: