JavaScript blog-1

JavaScript blog-1

Hello Everyone🙏🏻

code snippet

This side Priyanshu Mishra! How are you all doing! Hope you all are doing good!!😎 and today this blog is for the totally beginners in Javascript.I will try to make programming language easy for you

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

👇

code snippet

Similarly in Javascript we use to print withconsole.log and it must be in the lower case LIKE THIS

👇

code snippet

Variables in JS 💎

So like in python we make variables LIKE THIS

👇

code snippet

And in Javascript it's more interesting LIKE THIS

👇

code snippet

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!🎉

code snippet

Pretty easy right? 😉😉

Now what if you want to multiple/divide/add or subtract the decimal numbers in JS you can do LIKE THIS

👇

code snippet

So, now I am gonna tell you all that how to get the remainder in Javascript!😊

code snippet

  • Basically it's done because of the % and from this we can easily find the remainder!!🔥

Motivation for today:

study to be capable not to succeed🙌

कामयाब होने के लिए नहीं काबिल होने के लिए पढ़ो 🙌

code snippet

JavaScriptjslearn codinglearningjavascript for beginners #js