Table of contents
Hello Everyone!๐
My Name Is Amena!! How are you all doing! Hope you all are doing good!!๐ and today this blog is for the totally beginners in Javascript.
So, Today I am gonna write the basic syntax of Javascript for you guys because genuinely I love to teach someone so I am writing a blog on Javascript!!โค
So Let's Go!!
Printing statements๐
I'll start with the examples because they are the most important for us!!
So, like in python we use to print the statements by the print statement LIKE THIS๐
Similarly in Javascript we use to print withconsole.log
and it must be in the lower case LIKE THIS๐
Variables in JS ๐
So like in python we make variables LIKE THIS๐
And in Javascript it's more interesting LIKE THIS๐
Arithmetic Operators๐ฎ
So now we'll come to the Arithmetic Operations
!!!!!๐
Obviously, you guys already know how to print them in python. we'll talk that how to print arithmetic operations in Javascript!๐
Pretty easy right? ๐๐
Now what if you want to multiple/divide/add or subtract the decimal numbers in JS you can do LIKE THIS๐
So, now I am gonna tell you all that how to get the remainder in Javascript!๐
- Basically it's done because of the
%
and from this we can easily find the remainder!!๐ฅ
Motivation for today: Dreams are not which you see while sleeping, Dreams are which don't let you sleep.๐โโ๏ธ
So, this was my Javascript for beginners Part-1. Now, I will see you all again tomorrow in my Part-2 till then byee!!๐