JavaScript for Node-RED Online Course
JavaScript for Node-RED Online Course
This course offers a deep dive into JavaScript essentials, designed specifically for enhancing your Node-RED projects. Starting with an introduction to the core concepts, you'll explore variables, operators, and the various data types that form the foundation of JavaScript programming. Interactive lessons guide you through practical examples and project-based learning, ensuring a solid grasp of each topic. Moving into more complex topics, the course covers arrays, objects, and logic statements, providing hands-on experience with real-world applications. You'll learn to manipulate data structures, implement conditional logic, and create sophisticated program flows. Projects are integrated throughout the sections to reinforce learning and provide practical application of the concepts. In the final sections, the course delves into loops, functions, and built-in JavaScript methods, offering advanced techniques for optimizing your Node-RED workflows. Each video builds on the previous one, gradually increasing your coding proficiency. By the end of the course, you'll have a comprehensive understanding of JavaScript and the ability to leverage it for powerful Node-RED applications.
Who should take this course?
This course is ideal for IoT developers, automation engineers, and tech enthusiasts who want to enhance Node-RED flows with JavaScript. It’s also great for beginners looking to integrate logic and custom functions into low-code IoT and automation projects.
What you will learn
- Master variable declarations, data types, functions, and control structures.
- Implement complex data structures with arrays and objects
- Utilize JavaScript to integrate external libraries and systems within Node-RED flows.
- Develop real-world projects simulating industrial automation and IoT tasks.
- Leverage built-in JavaScript methods for enhanced functionality
Course Outline
Introduction to the course
- Introduction to the course
Variables and Operators
- Math.random() and Math.floor() function
- Declaring the variables - var, let, const
- String: Double quote or Single quote?
- Number
- Boolean
- Undefined and null
- Typeof and datatype conversion
- Arithmetic Operators
- Logical operators
- Project-1
Arrays
- Understanding Arrays and its properties
- Project Work
- Array methods
- Array sorting (String)
- Array sorting (Numeric)
- Array (Minimum and Maximum value)
- Challenge (LIFO and FIFO)
- Multi-dimensional arrays
- Project: Object Storage and Retrieval (using Single-dimension array)
- Project: Object Storage and Retrieval (using Multi-dimension array)
Objects
- Understanding Objects
- Project 1
- Nested Objects and Arrays
- Project 3
Logic Statements
- Introduction to Conditional statement (IF-ELSE)
- else if statement
- Project Work
- Conditional ternary operators
- Switch statement
- Project 2
Loops
- While and Do while loop
- Project 1
- For loop
- Project 2
- Break and Continue
- Project 3
- Project 4
- 'For in' and 'For of' loop
- Practice Exercises
- Converting Objects to Arrays
- Nested loops
- Practice Exercises
Functions
- Introduction to Functions
- Writing a basic function
- Parameters and arguments in Functions
- Parameter validation
- Project 1- Create random numbers with Function
- Project 2- ASRS with Function Task 1 and 2
- Project 2- ASRS with Function Task 3
- Project 2- ASRS with Function Task 4
- Arrow function, Return value and Variable scope
- Nested Functions
- Project 3
Built-in JavaScript Methods
- Parse Int, Float and Number methods
- Array methods
- String methods
- Exercises
- Number methods
- Math methods- Find Max. and Min.
- Math methods- Power, Sqrt, Real to decimal
- Exercise
- Date methods
- Exercise Solution
No reviews yet. Be the first to review!