JavaScript is a robust language for web development. You should learn it if you want to be a web developers
Reasons
Currently used by 94.5% websites
Wide range of applications including mobile and desktop devices
Most in-demand language
{ 2 / 19 }
Reasons




{ 2 / 19 }
Depth of JavaScript is something that every developer loves or hates (Not sure). But starting with it is easy.
Even it becomes 50% easier if you're familiar with the few common programming concepts. For example, loops. control statements etc...
{ 3 / 19 }
Even it becomes 50% easier if you're familiar with the few common programming concepts. For example, loops. control statements etc...
{ 3 / 19 }
Learning any new technology follows the same principle - You should learn the basics first
Let's see some key concepts of JavaScript you should learn for web development
{ 4 / 19 }
Let's see some key concepts of JavaScript you should learn for web development
{ 4 / 19 }
Start with the basics of JavaScript or we can say basic of any programming language
- Print statement
- Data types and variables
- Basic operators
- Logical operators
- Comparisons
- Loops and statements
These all are pretty basic stuff in any programming language
{ 5 / 19 }
- Print statement
- Data types and variables
- Basic operators
- Logical operators
- Comparisons
- Loops and statements
These all are pretty basic stuff in any programming language
{ 5 / 19 }
JavaScript helps you to add behaviour in you websites.
These two methods can help you to add interaction using which user can interact with your web page
1. alert()
2. prompt()
{ 6 / 19 }
These two methods can help you to add interaction using which user can interact with your web page
1. alert()
2. prompt()
{ 6 / 19 }
alert() - display a dialog with an optional message, and to wait until the user dismisses the dialog.
prompt() - display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog
{ 7 / 19 }
prompt() - display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog
{ 7 / 19 }
Some intermediate topics that you should cover in JavaScript
- Arrays
- Objects
- Functions
- Arrow function
- Array methods

{ 8 / 19 }
- Arrays
- Objects
- Functions
- Arrow function
- Array methods


{ 8 / 19 }
This is great website and here you'll find a proper syllabus of JavaScript
https://javascript.info/
{ 9 / 19 }

{ 9 / 19 }
I think much JavaScript would be good enough before jumping onto DOM manipulation
Basic things you need to cover in DOM
Finding HTML Elements
- getElementsByTagName()
- getElementsById()
- getElementsByClassName()
{ 10 / 19 }
Basic things you need to cover in DOM

- getElementsByTagName()
- getElementsById()
- getElementsByClassName()
{ 10 / 19 }

- element.innerHTML
- element.attribute
-element.style.property
- element.setAttribute(attr, value)

- document.createElement(element)
- document.removeChild(element)
- document.appendChild(element)
{ 11 / 19 }
After learning these basic properties and methods, its time to move onto Evnets and Event Listener
The addEventListener() method attaches an event handler to the specified element.
{ 12 / 19 }
The addEventListener() method attaches an event handler to the specified element.
{ 12 / 19 }
Upto this point you will able to make a fully functional website using JavaScript. But there are always some margin of improvement
Here are some advance key concepts
- Hoisting
- Closures
- Callbacks
- Promises
- Async & Await
- Currying
- And other ES6 feature
{ 13 / 19 }
Here are some advance key concepts
- Hoisting
- Closures
- Callbacks
- Promises
- Async & Await
- Currying
- And other ES6 feature
{ 13 / 19 }
The interesting part about JavaScript is that you can start writing code just now without installing any software or code editor
You can write JS code directly in your browser
{ 14 / 19 }
You can write JS code directly in your browser
{ 14 / 19 }
1. Open your browser
2. Right click
3. Click on inspect
4. Go to console
5. Start writing your first like of code
{ 15 / 19 }
2. Right click
3. Click on inspect
4. Go to console
5. Start writing your first like of code
{ 15 / 19 }
Although you will need an editor as you go further into this field
There are plethora of editors out there. But I would recommend VS Code. Why?
- Many built-in features
- It's fast
- Large community
- IntelliSense code completion and debugging
{ 16 / 19 }
There are plethora of editors out there. But I would recommend VS Code. Why?
- Many built-in features
- It's fast
- Large community
- IntelliSense code completion and debugging
{ 16 / 19 }
Check out this link for a quick start guide
https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics
{ 17 / 19 }
https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics
{ 17 / 19 }
Here I compiled 9 website so that you can start learning JavaScript with minimum efforts
https://twitter.com/Prathkum/status/1380418201503272960?s=20
{ 18 / 19 }
https://twitter.com/Prathkum/status/1380418201503272960?s=20
{ 18 / 19 }
I think that's pretty much it for this thread. I hope it helped you.
Thanks for reading this
*** END ***
Thanks for reading this

*** END ***