Step by Step JavaScript modules (.mjs) Tutorial

preview_player
Показать описание
In this video we will learn about Javascript Modules from scratch. We will learn about their benefits, how we do we create them and use them in browser and what kind of code is required to fall back in case a browser does not support modules. The javascript es6 module file extension is .mjs and you need to make sure your web server can render this as a javascript file.

Here is the code

Download Visual studio code

Spin a web server 3:00

Stay Awesome!
Hussein
Рекомендации по теме
Комментарии
Автор

One of the rare times I subscribe to a channel after watching a single video. Great job man 👏👏 great job.

mohamedismaiel
Автор

Good job Hussein
You are a great instructor

kawishabbas
Автор

Great vid. I love your delivery. "Hey old browsers, you suck" 😁

louleg
Автор

Absolute Fun ! firefox thing cracked me up

eyeamkd
Автор

Watch Out, Firefox may file a Defamation case against you Hussein 😁 Damn Man , must say your trolling level is LIT😁

shihabp
Автор

Noticed your codes where without the conventional semicolons ';' ... why please?

jkhsmglobal
Автор

Is the second part, the node part already done? The thing you mention where you want it to be the same for both?

OscarGarcia-dgis
Автор

I really enjoy your presentation. Please stick with a js stuff.

brentmorgan
Автор

Great video ! But why use .mjs and not simply .js ?

yadusolparterre
Автор

Great video, but the idea of creating a new extension is horrible and ugly.

elgs