Learn Javascript

While HTML and CSS help create the design of a webpage, JavaScript helps create functionality on a webpage. Other non-browser environments also use JavaScript for more functionality. 

Do not confuse Java and JavaScript. Though similar in name, the two are very different programming languages. 

Learn more about JavaScript below. 

Strings

In JavaScript, Strings are values made up of text and can contain letters, numbers, symbols, punctuation, and even emojis!

Numbers

Numbers are values that can be used in mathematical operations. You don’t need any special syntax for numbers — just write them straight into JavaScript.

Booleans

In JavaScript, a boolean value is one that can either be TRUE or FALSE. If you need to know “yes” or “no” about something, then you would want to use the boolean function. It sounds extremely simple, but booleans are used all the time in JavaScript programming, and they are extremely useful. Anything that needs to be “on” or “off”, “yes” or “no”, “true” or “false”, or which just has a temporary purpose, is usually a good fit for booleans.

Operators

Operators are the symbols between values that allow different operations like addition, subtraction, multiplication, and more.

Variables

Variables are named values and can store any type of JavaScript value.

Functions

JavaScript functions are reusable blocks of code that perform a specific task, taking some form of input and returning an output.

Conditionals

Conditional statements control behavior in JavaScript and determine whether or not pieces of code can run.

There are multiple different types of conditionals in JavaScript.

Arrays

Arrays are container-like values that can hold other values. The values inside an array are called elements.

Array elements don’t all have to be the same type of value. Elements can be any kind of JavaScript value — even other arrays.

Objects

JavaScript objects are variables that contain multiple data values. The values within a JS object are known as properties. Objects use keys to name values, much like how is done with variables.