

JavaScript Modules
Presentation
•
Computers
•
Professional Development
•
Medium
Lazaro Alsina
Used 22+ times
FREE Resource
9 Slides • 6 Questions
1
JavaScript Modules
Welcome to introduction to Node, and browsers runtime environment.
As well as what are modules!

2
Browsers Runtime Environment
Using JavaScript on your browser.
3
Browser Runtime Env
The code we have been running relies on an environment. The most common one, known as the front end, is the browser.
The issue here is we need the browser to run Javascript or use other programming languages like Java or PHP.
Thank to NODE, this had changed.
4
The power of Javascript expanded
The Node environment allows us to create code without a browser, meaning we can create full-stack software.
As you can see, this code to your right is running on a PowerShell!
5
Multiple Choice
Javascript can only be run on a browser.
True
False
6
7
The power of flexible and reusable code.
Modules allow us to add code in a special way. It allows us to segment our programs in a way that allows us to work more effectively in groups and debug our code.
It would be nice if someone who is amazing with math, makes all the math modules we need for our program. While we focus on other parts like the database module!
8
Benefits of using Modules
Compose Software: Using modules like lego blocks, building parts of the program. E.G, we have a team of programmers; one builds the house, another builds a car.
Isolate components: The programmers can build the module that needed for the project without usually thinking about the entire codebase. E.G, one programmer makes a lego car, there no need for him/her/they to worry about the housing module yet...
Organized code: Modules tend to be more organized for the main codebase.
Reuse code: Modules make it really easy to reuse the same code, even one more than one project.
9
Fill in the Blanks
Type answer...
10
Demo Time
On slide 4, we used node to run the meal maker. It would be a waste not to use it again in a new program that I like to call the Meal of the day!
11
Multiple Choice
How Node.js modules are available externally
module.exports
module.spread
module.expose
none of the above
12
Multiple Choice
Which function is used to include the modules in Node.js
include();
require();
attach();
None of the above
13
Multiple Choice
Who made node.js?
Hampton Catlin
Ryan Dahl
Isaac Z. Schlueter
GitHub
14
Poll
How do you feel?
Comfortable
Stretch
Panic
15

CodecademyMini Arrow Down Icon
You can open this webpage in a new tab.
JavaScript Modules
Welcome to introduction to Node, and browsers runtime environment.
As well as what are modules!

Show answer
Auto Play
Slide 1 / 15
SLIDE
Similar Resources on Wayground
10 questions
Coding in Kindergarten 2023
Presentation
•
KG
13 questions
Communication Networks
Presentation
•
Professional Development
10 questions
FoIS - Imaging Tool
Presentation
•
Professional Development
13 questions
Ordering Food (ESL)
Presentation
•
Professional Development
9 questions
CNE-LESSON3
Presentation
•
Professional Development
13 questions
How to Spot Fraudulent FRs
Presentation
•
Professional Development
11 questions
PARTICIPLE CLAUSES
Presentation
•
University
12 questions
Energy Review
Presentation
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade