complete-javascript-course icon indicating copy to clipboard operation
complete-javascript-course copied to clipboard

not opening in console my code

Open vishaiitaliya opened this issue 2 years ago • 2 comments

not opening any output in chrome condole chapter 1 final code. is anything i miss? i am beginner in code help me to out from this

vishaiitaliya avatar Oct 09 '22 08:10 vishaiitaliya

Hi, check these two things:

  1. Is your script.js file linked with the index.html file? Check if you have this code before the closing </body> tag
<script src="script.js"></script>
  1. Is your script.js file in the same directory as the index.html file? If they're in different directories, the path used in the <script> tag will be different.

akozdev avatar Oct 09 '22 13:10 akozdev

having similar problem just that when i type in new file it is auto creating as (); scritp.js not js script.js??

journeypoors avatar Nov 16 '22 23:11 journeypoors