Skip to main content

JavaScript in Theory and Practice


JavaScript in Theory and Practice


JavaScript is a great programming language and is one of the best starting points in anyone's life when experimenting with coding, hacking and developing paths.

JavaScript is a text-based programming language used on client-side and server-side technologies.
When starting your career as a programmer javascript is one of the choices of technology that would be used in the web development process. 

Web development is the broadest programming path with the most opportunities for work. Many success stories can be found in a search for motivation in the direction of the hacking and coding career of choice.

Variable

Let us start with Variables.

In JavaScript a variable is declared that holds information about an object, string, number, or for example a boolean.

Here is an example of how to declare a variable:

Let name = 'Jon Doe'

This example will cause the name's value to be Jon Doe, as the name is the variable that could be called later in the function or in the JSX or HTML depending on which technology you use.

Object

An object is a living breathing entity. Mostly in practice would be associated with the product or the user of a website.

An object has specifications such as color, size, length, dimensions, etc.

Example of an Object:

const shoes = {type:"Reebok", size:"9", color:"white"};

String

A string is a sequence of letters of words. A sequence can include numbers and could sometimes be just number also but is different than a number.

            https://www.w3schools.com/js/js_strings.asp 

 

 


 





Comments