Teaching Newbies since 2014

kauress

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

August 26, 2020 by: Kauress

Functions as objects

In JavaScript functions are a type of object known as function object. You can work with function objects as though they were objects. Functions may be assigned to objects, passed in as arguments to other functions, returned from other functions. Additionally a function can be passed into an array. And this gets me to earlier in my articles when I’ve stated “almost everything in JavaScript

[ 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 ]

February 8, 2020 by: Kauress

The Learn How to Code Planner

Code Planner

ps: If you just want to download, go here: https://bit.ly/3biXP4j Learning how to code can be overwhelming! Often learners confuse a curriculum with a plan to learn coding. A curriculum is a list of topics on a particular subject for example JavaScript or python. Whereas, a planning involves the steps including the time and energy commitments to finish the curriculum. Common problematic pattern As I

[ Read More ]

January 3, 2020 by: Kauress

JavaScript filter()

Part of my “Functional JavaScript” programming notes Syntax: let newArray = Oldarray.filter(callback(element, index, array)); Explanation: The filter method returns a new array from the filtered items from the oldArray Items are filtered according to some condition To do so a callback function is used The callback function takes 3 arguments: element: The current element index: the index of the current element array: the old array

[ Read More ]

November 29, 2019 by: Kauress

Browser Snapchat Clone

Not sure why I never updated my blog with that but last summer I coded a browser based SnapChat clone. Oh! so much fun. It’s been coded by using JavaScript and a face tracking library called tracking.js NOTE: for whatever reason the code doesn’t work for you is mostly like (95%) because of a cross browser compatibility issue. I’ve tested this on IE, Chrome and

[ 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 ]

July 27, 2019 by: Kauress

Simply Auth now on heroku!

Past week I’ve been fixing issues with the simply auth project now on heroku! https://simplyauth.herokuapp.com/ I will add a rate limiting feature to limit login attempts to 3 and call it a day with this project. Rate limiting helps with brute force attacks so that a request from the same I.P address cannot have an unlimited amount of login attempts. It also makes an ‘app’

[ Read More ]

June 23, 2019 by: Kauress

JWT: What are JSON Web Tokens & use cases

Same old web..new drama.. What are JSON Web Tokens? [JWT]? JWT are tokens that you can use in your web application to transfer data over a network and therefore authenticate communication between 2 parties. A better definition is: JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. – Source It is a hash like encrypted string

[ Read More ]

Copyright © 2021 ·Kauress