MSManish Singh Bishtinmanishsinghbisht.hashnode.dev·Jan 19, 2023 · 4 min readLoops In JavaScript?Why do we need loops? There's a task given to you to display numbers from 1 to 10, both inclusive. How will you do it? Way-1 To console log all numbers one by one manually. The problem with way-1 is that it will become very difficult to do the same w...00
MSManish Singh Bishtinmanishsinghbisht.hashnode.dev·Jan 16, 2023 · 5 min readConditionals in JavaScript?We use conditionals a lot in our day-to-day life. For example: when our mother asks us to get some groceries, she often says "bring cauliflower from the market and if all is finished bring cabbage". The same thing is in programming languages as well,...00
MSManish Singh Bishtinmanishsinghbisht.hashnode.dev·Jan 12, 2023 · 3 min readDatatypes in JavaScript?What are Datatypes in a programming language? Datatypes define the type of data the variable can store. Based on these datatypes a variable can perform certain operations which other datatypes might not perform. Examples of datatypes: String, integer...00
MSManish Singh Bishtinmanishsinghbisht.hashnode.dev·Jan 10, 2023 · 5 min readDifference between LET, CONST, VAR?What are Variables? Variables in any programming language are containers of information. It is the name given to the address/location of information that is stored in the memory. Just like in mathematics, x=10 or t=10x+c, etc, the same is in programm...00
MSManish Singh Bishtinmanishsinghbisht.hashnode.dev·Jan 4, 2023 · 2 min readHello World in JavaScript!!!Where can we write JavaScript? In the HTML page: JavaScript is inserted between <script> and </script> tags in the HTML page. You can place any number of scripts in an HTML document. Scripts can be placed in the <body>, or in the <head> section of...00