For all the self-taught geeks out there, here our content library with most of the learning materials we have produces throughout the years.
It makes sense to start learning by reading and watching videos about fundamentals and how things work.
Machine Learning Engineering (16 weeks)
Full-Stack Software Developer
Search from all Lessons
Curated list of small interactive and incremental exercises you can take to get better at any coding skill.
Curated section of projects to build while learning with simple instructions, videos, solutions and more.
Guides on different topics related to the technologies that we teach in our courses
Social & live learning
The most efficient way to learn: Join a cohort with classmates just like you, live streams, impromptu coding sessions, live tutorials with real experts, and stay motivated.
☝️ This lesson is for users of WebPack and ECMAScript Modules (ESM) syntax;. There is another way to work with modules using the [CommonJS syntax] (https://requirejs.org/docs/commonjs.html) that we will not cover.
All of our JS code cannot be on the same file; that will make it hard to read and almost impossible to maintain.
Thanks to Webpack, we can split our code in small files however we want and then we are able to reference other files from our current one.
We have actually been doing that already when we import our styles, bootstrap or jQuery from the index.js.
For example, here we are importing a function from another file:
There is one small variation that you can find over the internet that is called "export default" – this is just a way of exporting one thing by default onto your file.
You can only export ONE variable by default, and you don’t have to use the curly brackets while importing.
Here is a small demonstration of all the import/export types working on the same project.