Uncaught SyntaxError: Cannot use import statement outside a module

preview_player
Показать описание
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
4 - test

Here are the files used in the tutorial:

Follow me on :

#DarkPink_Electronics #electronics #programming #es6 #js #html
Рекомендации по теме
Комментарии
Автор

it's always the most basic solutions😂

ZeKermet