Teaching Newbies since 2014

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Archives for Web Dev

August 15, 2020 by: Kauress

Deep and shallow copying in JavaScript – part 1

Copying objects with shallow and deep copies Primitive values such as strings, and numbers are copied by value, whereas objects are copied by reference. What do we mean by this? The following code example will explain this practically: let num1 = 10; let num2 = num1; num1 = 6; console.log(num2); //10 The value of num1 which is the number 10 is assigned to the variable

[ Read More ]

August 14, 2020 by: Kauress

Pass by reference vs Pass by Value

Pass by value Non-primitive data types are passed by reference compared to primitive data types that are passed by value. As such non-primitive data types are also called reference types. To understand why they’re called reference types, we need to briefly look at how variables are stored in memory. A fixed amount of memory is allocated to a variable after it is declared. For primitive

[ Read More ]

August 12, 2020 by: Kauress

Execution context in JavaScript for beginners

Introduction Execution context is an abstract concept describing the environment within which JavaScript code is executed. The execution context will dictate if a variable, object, or another block of code is accessible or not. There are two types of execution contexts: global and function. Let’s examine the global execution context first. Global execution context The global execution context is the default execution context. Variables and

[ Read More ]

August 10, 2020 by: Kauress

What is the event loop anyways?

Introduction JavaScript is single-threaded this means that the main thread on which code is executed runs one line at a time. There is no possibility of doing anything in parallel. Therefore, the run time is blocked until a task is completed. An example of blocking the run time is an infinite loop. However, the DOM API, setTimeout() , setInterval() methods are provided by the web

[ Read More ]

August 9, 2020 by: Kauress

Understanding the call stack

What is the call stack? An understanding of the call stack will allow you to understand how execution order in JavaScript works. JavaScript is a single-threaded language; this means that it handles one task at a time. JavaScript code is executed by the JavaScript engine. Google’s V8 engine is an example of a popular JavaScript engine, there are others such as the SpiderMonkey and Rhino.

[ Read More ]

May 24, 2020 by: Kauress

💟Astrid learns JavaScript

This past month I’ve been working with an animation studio in Utah to help create a course on JavaScript for kid! It’s been a lot of fun! See the trailer here! https://vimeo.com/storyboxentertainment/review/408998377/d003cca7d9 https://vimeo.com/storyboxentertainment/review/408998377/d003cca7d9

[ Read More ]

May 17, 2020 by: Kauress

Code Cadet Outit

Code_Cadet_Outfit

I’ve always wanted a dev tech outfit for myself. Imposter syndrome aside, coding is a lifestyle. A lifestyle where you sit for long periods of time and it’s really irritating to pull up your pants so that they don’t scrunch at your knees when you sit down 🙂 I wanted to make it official, nothing wrong with jeans, track pants and t-shirts. But I was

[ Read More ]

April 9, 2020 by: Kauress

SailorMoon Pose Signup/Login #machinelearning

Took me a day to finish the above + read on posenet and have it running on a local server. My webcam on my laptop isn’t all that great but should suffice for the time being. Below are steps for the project so far: Use getUserMedia method of the web media API to detect a webcam and get permission from the user to stream video

[ Read More ]

January 29, 2020 by: Kauress

50 #javascript interview questions

[ Read More ]

September 28, 2019 by: Kauress

Udemy milestone reached

Time to change the footer on this blog which says 7000+ and make it 10,000+! I’m happy to say 4 years later I’m still doing what I intended to do which was to lower the entry barrier into coding by project based learning.

[ Read More ]
  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 6
  • Next Page »

Copyright © 2022 ·Kauress