0

I am getting an error when I try and import a js file in my html. I've even put the html in the same folder as the data.js. I'm using Chrome

GET file:///C:/Users/dm/Documents/timezone/data.js net::ERR_FILE_NOT_FOUND 

My script is below

<html>
<script src="data.js"></script> 
<!-- other stuff here -->
</html>
user1142130
  • 1,617
  • 3
  • 20
  • 34

0 Answers0