

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
What concept are we talking about below, this statement about modules?
The programmers can build the module 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/them to worry about the housing module yet...
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
MODAL VERB : CAN
Presentation
•
University
10 questions
AIOT
Presentation
•
Professional Development
10 questions
VACE Presentation
Presentation
•
Professional Development
9 questions
CEREBROTE - Pensamiento Computacional
Presentation
•
Professional Development
13 questions
K.2 Pause for People
Presentation
•
KG
9 questions
Reading Strategies
Presentation
•
6th - 8th Grade
10 questions
quizizz
Presentation
•
University - Professi...
13 questions
Exploring the Power of EZPLUZZE in the Classroom
Presentation
•
Professional Development
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Soup, Salad, or Sandwich?
Quiz
•
1st Grade - Professio...
20 questions
Employability Skills
Quiz
•
Professional Development
9 questions
How to Email your Teacher
Quiz
•
Professional Development
25 questions
2023 Pop Culture Trivia
Quiz
•
Professional Development
20 questions
Cinema Camera Angles
Quiz
•
9th Grade - Professio...
20 questions
Sports trivia
Quiz
•
Professional Development
21 questions
Shop Safety
Quiz
•
Professional Development