GDGary Ditschingaryditsch.hashnode.dev·Aug 6, 2022 · 4 min readAsync/Await and Handling Promises from our ApiOne of the objectives we have in the Intro to Web class is to build a website that brings in data from an api. We will use that data to supply some interactive features on the web pages. To this point, in order to get data from our chosen api, we us...01R
GDGary Ditschingaryditsch.hashnode.dev·Jul 30, 2022 · 3 min readLearn the basics of variable scope in javascriptIn javascript, there are three types of scope: global, function, and block. Prior to ES6, javascript only had global and function scope, so let's start with those two examples. Function Scope When a function is created that function creates its own...00
GDGary Ditschingaryditsch.hashnode.dev·Jul 24, 2022 · 5 min readJavascript object references & creating a copyThe way that javascript objects store values as variables can cause issues if you are unaware of how it is done. The difference is that values are stored as a reference, in contrast to primitive data types which are stored as the actual value. As a ...01R