JavaScript JavaScript Basics Introducing JavaScript Link to an External Script

JavaScript Challenge task

I keep getting the Bummer error saying using too many '<script>' tags in the HTML

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

1 Answer

remove this

<script>("JavaScript Basics!"); </script>