0:00
JavaScript is a scripting language that enables you to create dynamically updating content
0:04
control multimedia, animate images, and pretty much everything else. It is a versatile, high-level scripting language. It can be used for client-side validation
0:15
creating interactive webpages, video game development, creating web and mobile apps. It is supported by all browsers and easy to learn
0:23
We can include our code in an HTML file in three different ways
0:27
Using a script tag, inline JavaScript, or linking an external JavaScript file
0:33
A block of code is defined using curly braces and each statement ends with a semicolon
0:38
Variables can be initialized with three keywords, const, var, and let, having its own features. An array can store values of different
0:47
data types and each element can be accessed using its index. While an object stores values in key-value format
0:55
the stored values can be accessed using the associated keys. It is just like a dictionary from Python. It also supports if-else statements
1:08
A for loop seems like that from C++ and same applies to while loop
1:14
We can define functions in two different ways, a normal function and an arrow function
1:19
An arrow function can really reduce your code in some cases and make your code more readable
1:25
Welcome to DOM, Document Object Model, which can be manipulated dynamically using JavaScript
1:32
We can add, remove, update HTML elements. Each element attribute can be modified
1:38
Why not try adding CSS to some elements in runtime? I personally created 20 plus projects, a personal portfolio, landing page
2:07
to-do list app, a quiz app, memory game, and the list goes on
2:13
I'll leave you with only one but the best JavaScript learning resource, MDN WebDocs