Image for post
Image for post

I try to solve some beginner level problem using JavaScript. Just for practice. We will use some basic mathematical calculations, some JavaScript Math object, and loop.

  1. Ludo Dice

Image for post
Image for post

What is React?

Facebook recently launched their new interface. Which is nice and attractive. As a user, I think it’s good. Because ultimately user experience is the main priority for web designers or web developers. Why we are talking about Facebook???

React is created by Facebook. And React is a User Interface library. Many of us are confused about the library and framework. Just set it to your mind that React is a Library, not Framework.

Now make it clear that what is Library and what is Framework!!

Library is a set of reusable functions used by a computer program…


Image for post
Image for post

Types

Every language has some primitives types. And JavaScript also has some. There are six primitives types in JS.

  1. String,
  2. Number,
  3. Undefined,
  4. Null,
  5. Boolean,
  6. Symbol.

That’s important to know about the primitives types. Because it helps a lot to understand the language.

console.log(“Hello”)//String

console.log(3)//Number

console.log(undefined)//Undefined

Expressions

JavaScript’s language syntax recognizes expressions and statements. Both are different and we should need to know the basic difference.
An expression is a code that evaluates the value and a statemnet is a code that performs.
console.log(2 + 2);//expression
if (answer !== 1) { answer = 1} // statement

Checking a type of value:


Image for post
Image for post

At the very first age, JavaScript was called LiveScript. An engineer named Brendan Eich has created JavaScript in 1995. There was a little confusion about the name with Java and JavaScript. After several months Microsoft released JScript with Internet Explorer 3. After that Netscape submitted JavaScript to Ecma International. In 1999 ECMAScript edition 3 launched and it has stayed pretty much stable ever since.

An Overview of JavaScript:

JavaScript is a dynamic language with many type, operators, objects, and methods. JavaScripts’ syntax is inspired by Java And C language. A programmer can work with object prototypes, instead of classes and…

sadman sakib jisan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store