like, share , subscribe
0:00 start
0:07 problem
0:20 js file to import in another one
0:32 js file imported in html
1:05 html code
1:15 SOLUTION
1:35 last test
2:17 end
Quick steps:
1 - Go to your HTML file where you've imported JS code
2 - add to {script src="index.html"} {/script} the following words: type="module"
3 - it should look like: {script type="module" src="index.js"} {/script}
4 - test
Here are the files used in the tutorial:
https://drive.google.com/drive/folder...
Follow me on :
Electronics Channel : / @darkpink_electronics4523
Music Channel : / @kzbeats_0
twitter : / darkpinkp
facebook : / kzkamalzaitar (more active here)
soundcloud : / user-163169075
#DarkPink_Electronics #electronics #programming #es6 #js #html