Create a Module Script, Learn JS ES6 Syntax on freeCodeCamp, Learn to Code Free Online Tutorial VIDEO
In this freeCodeCamp lesson, we begin learning about the best practices in sharing code among our different js files. When sharing javascript code, in the past, copy and paste were utilized a lot. Because of this, code became less maintainable and clean. As the years progressed, seperating our files became more necessary and using a module script allows us to keep our code modular and clean. This allows our code to be much more maintainable. We simply learn how to add a module script tag in this lesson, but in the following lessons, we will learn the best practice for importing and exporting js code in different files.
Other Videos By We Will Code 2019-12-31 Introduction to the Regular Expression Challenges, A Regex Tutorial for Beginners, Learn Regex 2020 2019-12-30 Handle a Rejected Promise with catch, Learn ES6 on freeCodeCamp 2020 2019-12-26 Handle a Fulfilled Promise with then, freeCodeCamp's ES6 Challenges 2019-12-23 Complete a Promise with resolve and reject, freeCodeCamp's Learn ES6 Challenges 2019-12-22 Create a Javascript Promise, freeCodeCamp's ES6 Challenges on freeCodeCamp 2019-12-22 Import a Default Export, freeCodeCamp's ES6 Lessons and Explanations 2019-12-21 Create an Export Fallback with export default, freeCodeCamp's ES6 JS Syntax 2019-12-21 Use * to Import Everything from a File, freeCodeCamp 2019-12-21 Reuse Javascript Code Using import, freeCodeCamp's ES6 Challenges, Javascript Help 2020 2019-12-20 Use export to Share a Code Block, ES6 Challenges freeCodeCamp, WebDev Tutorials 2019-12-18 Create a Module Script, Learn JS ES6 Syntax on freeCodeCamp, Learn to Code Free Online Tutorial 2019-12-17 Use getters and setters to Control Access to an Object, freeCodeCamp's Learn ES6 Syntax Challenges 2019-12-03 Use class Syntax to Define a Constructor Function, ES6 tutorial, Learn ES6 Syntax 2019-12-02 Write Concise Declarative Functions with ES6, Learn ES6 Syntax 2019-11-29 Write Concise Object Literal Declarations Using Object 2019-11-28 Create Strings using Template Literals, Learn JS ES6 2019-11-26 Use Destructuring Assignment to Pass an Object as a Function's Parameters,Learning Destructuring ES6 2019-11-24 Use Destructuring Assignment with the Rest Parameter to Reassign Array Elements, Learn JS 2020 2019-11-23 Use Destructuring Assignment to Assign Variables from Arrays, Learning JS ES6 2020, Web Dev 2019-11-22 Use Destructuring Assignment to Assign Variables from Nested Objects, Learning the ES6 Syntax 2019-11-21 Use Destructuring Assignment to Assign Variables from Objects, An ES6 Course Introduction
Tags: creating a module script
js module scripts
module scripts in javascript
js scripts tutorial