paint-brush
How I Fixed My Stupid JavaScript Mistakeby@yahyajamaladine
277 reads

How I Fixed My Stupid JavaScript Mistake

by Yahya jamaldine4mJanuary 18th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The first time I wrote a code that contained an import statement, I made a stupid mistake. A module is just a file that exports some code. JavaScript developers have been using modules with libraries’ aid till the community introduced them as a built-in feature in ES6. It turns out that I should change the type attribute in the script tag because I’m dealing with a module, not a regular JavaScript file. The solution in a Stack overflow was found in Stack overflow.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How I Fixed My Stupid JavaScript Mistake
Yahya jamaldine HackerNoon profile picture
Yahya jamaldine

Yahya jamaldine

@yahyajamaladine

Javascript Lover/ I write random stuff on : Meduim https://medium.com/@yahya_

Learn More
LEARN MORE ABOUT @YAHYAJAMALADINE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Yahya jamaldine HackerNoon profile picture
Yahya jamaldine@yahyajamaladine
Javascript Lover/ I write random stuff on : Meduim https://medium.com/@yahya_

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Thetechstreetnow
Techosmo
Anonymousmedia