JavaScript JavaScript Basics Introducing JavaScript Link to an External Script

You didn't call the `alert()` function inside the `shout.js` file. And I DID can anyone help, please.

I say

alert("I DID IT!);

index.html
<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
</head>
<body>
  <script src="shout.js";

</body>
</html>
shout.js
alert("I DID IT");

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 49,975 Points

You should close you script bracket and tag. And add an exclamation point to I DID IT.

Thanks. that was the problem. I Can belie I forget that lol. Thanks Thanks Thanks