Lesson 25. Quick DOM events; Instructor:- Sir Laurence Svekis
In this Lesson:-
* Quick DOM Events
* DOM
* Events
Course covers
Quick DOM Events
There is a much better way to use the DOM.
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
3
views
Lesson 23. Function the return; Instructor:- Sir Laurence Svekis
In this Lesson:-
* What Functions need
* Return value
* Add or Multiply
* Value
Course covers
What function need, Functions have 3 parts
1. Input-data that is sent into the function
2. Code-block of code that is run by the function
3. Output-value that is returned by the function
Return value math function that will take two numbers and return the value
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
3
views
Lesson 22. Function Parameters; Instructor:- Sir Laurence Svekis
In this Lesson:-
* JavaScript Functions
* Parameters
* Multiple arguments
* Default argument value
Course covers
Function parameters inside the parentheses() in the function definition
Function arguments values received by the function when it is invoked
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
5
views
Lesson 24. Function in HTML; Instructor:- Sir Laurence Svekis
In this Lesson:-
* Functions as attributes
* DOM
* Element
* Onclick
Course covers
Functions as attributes
Runs the block of code in the function. There is a much better way to do this when
you use the DOM but for now, try this code onlick=" message()"in element
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
2
views
Lesson 21. JavaScript Functions Instructor:- Sir Laurence Svekis
In this Lesson:-
JavaScript Functions
create functions
Reuseable code
Course covers
Functions are blocks of reuseable code-a set of statements that performs the task of calculating a value. One of the fundamental building blocks in JavaScript. To use a function, you must define it somewhere in the scope from which you wish to call it.
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
3
views
Lesson 20. JavaScript Switch Instructor:- Sir Laurence Svekis
In this Lesson:-
JavaScript Switch
switch statement
evaluates
JavaScript
Course covers
The switch statement evaluates an expression, matching the expression's value to a
case clause, and executes statements associated with that case, as well as statements associated with that case, as well as statements in cases that follow the matching case.
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
3
views
Lesson 19. Code Challenge #3 Instructor:- Sir Laurence Svekis
In this Lesson:-
Code Challenge #3
Hello Greeter
Message
output
console
JavaScript
Course covers
Challenge #3 Hello Greeter
Set a default time 24-hour clock, Create a message to be output according to the
time.
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
4
views
Lesson 18. Multiple Conditions. Instructor:- Sir Laurence Svekis
In this Lesson:-
Multiple Conditions
Logical Operators
Boolean values
non-Boolean value
JavaScript
Course covers
Logical operators are typically used with Booleans (logical) values. When they are,
they return a Boolean value. However, the && and || operators actually return the
value of one of the specified operands, so if these operators are used with
non-Boolean values, they will return a non-Boolean value.
By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
2
views
Lesson 17 Ternary Operator. Instructor:- Sir Laurence Svekis
In this Lesson:-
Ternary Operator
JavaScript Operator
if statement
odd or even
determine
Course covers
The conditional ternary operator is the only JavaScript operator that takes
three operands. This operator is frequently used as a shortcut for if statement.
Lesson Challenge check if variable value is odd or even use modules to determine
the output. By Laurence Svekis Top Instructor over 1 Million Students WorldWide.
18
views