JavaScript JavaScript Basics Introducing JavaScript Using the Console

Not sure what I'm doing wrong here. I believe I placed the line of code in the right place. Can anybody offer help?

Challenge 2 of task 2

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");
  alert("Begin program");
document.write("Welcome to JavaScript Basics");
console.log("End program");
</script>
</body>
</html>

2 Answers

Emmanuel C
Emmanuel C
7,620 Points

That alert isnt needed, and I think its blocking the test. If you remove it, it passes.

You're right - thanks Emmanuel!! :)