JavaScript JavaScript Basics Introducing JavaScript Link to an External Script

Hello! what do i enter to load the external JavaScript file into the web page. Did i learn this in a task or video?

I am drawing a blank for what exactly to enter for this challenge. Thanks, dallas

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
<script src= 'index.html' </script> 

1 Answer

Edgar Gil
Edgar Gil
866 Points

Everything is looks good. But your <script> tag is a tag for javascript and you inserting an html.file.

You also missing a ending > <script src= 'index.html' </script>

Try <script src= 'index.html'> </script>

Also to make this even better <script src= 'script.js> </script>

See what I did there.