coding and technology module 4 lesson 5 web slides
TRANSCRIPT
![Page 1: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/1.jpg)
R U C H E N W Y N G A A R D
Meet youreducator
![Page 2: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/2.jpg)
Professional Diploma in
Coding and Technology
Lesson 5: JavaScript Objects, Properties and MethodsLesson 5: JavaScript Objects, Properties and Methods
![Page 3: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/3.jpg)
Working with JavaScript functions
Understand JavaScript objects and properties
Practical demonstration
Lesson 5
Objectives
![Page 4: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/4.jpg)
Functions and methods are often used interchangeably.
DID YOU KNOW?
![Page 5: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/5.jpg)
Loading…
![Page 6: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/6.jpg)
JavaScript functionsA JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when "something" invokes it (calls it).
![Page 7: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/7.jpg)
Functions
![Page 8: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/8.jpg)
Functions
![Page 9: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/9.jpg)
Global and local
variablesGlobal variables Local variables
![Page 10: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/10.jpg)
Global and local variables
![Page 11: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/11.jpg)
Global and local variables
![Page 12: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/12.jpg)
return statement
![Page 13: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/13.jpg)
return statement
![Page 14: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/14.jpg)
Loading…
![Page 15: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/15.jpg)
JavaScript objects and propertiesAn object is a collection of properties, and a property is an association between a name (or key) and a value.
![Page 16: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/16.jpg)
JavaScript objects and properties
![Page 17: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/17.jpg)
JavaScript objects and properties
![Page 18: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/18.jpg)
Creating objects with functions
![Page 19: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/19.jpg)
Constructors
![Page 20: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/20.jpg)
Creating methods
![Page 21: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/21.jpg)
Loading…
![Page 22: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/22.jpg)
Let’s code!
![Page 23: Coding and Technology Module 4 Lesson 5 Web Slides](https://reader031.vdocuments.us/reader031/viewer/2022012016/61dab3b197a1031ad40d927f/html5/thumbnails/23.jpg)
Completed lessons
1 2 4
5 6 7 8
3 See you soon for
L e s s on 6