Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 11 Lesson 9 JavaScript

Getting error on the very first line. not sure why.

<!DOCTYPE html>
<html>
<head>
<title>nothing</title>
</head>
<body>
<main>
<p id="demo"></p>
</main>
<script>
let message = document.querySelector("#demo");
let printMessage = message.inneText = "I Love Studytonight";
console.log(printMessage);
</script>
</body>
</html>
by

1 Answer

sam5epi0l
Just submit the JavaScript Code.
// write your code here
console.log("I love Studytonight");

Login / Signup to Answer the Question.