JavaScript JavaScript Basics Introducing JavaScript Link to an External Script

Kevin Mortensen
Kevin Mortensen
2,047 Points

i think i am writing this right, but i get an error?

Hi i think i am writing this properly but i still gives me an error?...

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"></script>

</body>
</html>
shout.js

1 Answer

Lola Jahn
Lola Jahn
17,368 Points

You're missing an equality Operator (=) between the src and path. Like this:

<script src="shout.js"></script>