{"id":7733,"date":"2018-10-10T08:31:51","date_gmt":"2018-10-10T13:31:51","guid":{"rendered":"https:\/\/www.carnaghan.com\/?p=7733"},"modified":"2021-03-06T15:47:38","modified_gmt":"2021-03-06T20:47:38","slug":"javascript-data-types-values-and-variables","status":"publish","type":"post","link":"https:\/\/www.carnaghan.com\/javascript-data-types-values-and-variables\/","title":{"rendered":"JavaScript Data Types, Values, and Variables"},"content":{"rendered":"\n

JavaScript<\/span> is one of the three core technologies used to build websites and web applications. Alongside HTML<\/span> and CSS<\/span>, JavaScript<\/span> provides the interactive functionality commonly used throughout the web. In this lesson you will be introduced to some of the core concepts of JavaScript<\/span>.<\/p>\n\n\n\n

To follow along, you will need a modern web browser<\/span>, such as Google Chrome<\/span> or equivalent with developer<\/span> tools. You will also need a capable text editor. I highly recommend Microsoft Visual Studio Code<\/a>. The first concept we are going to cover in this lesson is variables<\/span>. Variables are spaces of memory where you can store information of a certain type, that can be retrieved later in your code.<\/p>\n\n\n\n

JavaScript<\/span> is capable of storing five different types of primitive data types within variables<\/span>. These include:<\/p>\n\n\n\n