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 development

April 10, 2020 by: Kauress

5 years ago..

Introduction to Git

5 years ago I made my first course and it was on Git. I learned a lot about making courses, video editing, sound editing and how people learn! Because I like to focus on core stuff example Vanilla JavaScript instead of libraries and frameworks, I rarely have to update things. Infact this course is still relevant and has had only 1 minor update during it’s

[ Read More ]

February 9, 2020 by: Kauress

forEach( ), sort( ) and filter( ) for newbies

Array Methods JavaScript

forEach() ES6 has introduced the forEach() method which allows you to loop through an array. Arrays as you may already know are of the type ‘object’. In contrast to the string,number,boolean, undefined and symbol types which are primitive data types. For example if we console.log the typeof operator to find the typeof array, objectwill be logged, as seen below: [code] const yummies = [‘Ice-cream’,’Cupcake’,’Donut’,’Cupcake’]; console.log(typeof

[ Read More ]

September 18, 2019 by: Kauress

Sweet & Sour mongoose.js methods – 2

This is part of the ‘Sweet & Sour mongoose.js methods’ series. In this function we will write a method that acts upon the UserSchema to check whether an email OR username already exists in the database. As an example use-case, this method can then be used in the any of your routes files by exporting the “User” to check whether an email address already exists

[ Read More ]

August 12, 2019 by: Kauress

Conditionally rendering EJS template with res.locals in express.js

This snippet is to conditionally render navbar items based on whether a user is logged in OR not.  So toggle the ‘Login’ button to ‘Logout’ if the user is already logged in and vice versa. I admit it took more time that I had anticipated. Primarily because in the beginning I insisted on using a global variable in express to manage the user’s ‘isAuthenticated’  state

[ Read More ]

November 28, 2018 by: Kauress

FullStack Vue.js December

Committing to 2 fullstack vue projects this month. There you go, made it public. Resources I’m using: Official Vue.js documentation https://vuejs.org/v2/guide/ Fullstack Vue Book – The Complete Guide to Vue.js – Fullstack.io https://www.fullstack.io/vue Getting to know vue.js Vue Handbook by @flaviocopes

[ Read More ]

November 15, 2018 by: Kauress

Let’s JavaScript! CliffsNotes

Introduction Extensive JavaScript notes. CliffsNotes version. ###JavaScript Syntax ####JavaScript Comments A line that begins with // is a comment. A multi-line comment has the form: /* */ ####Strict Mode When strict mode is in effect, the JavaScript interpreter will emit errors for unsafe syntax. Invoke strict mode by placing the following statement at the top of a JavaScript file or at the top of a

[ Read More ]

November 3, 2018 by: Kauress

Growing

Let’s JavaScript!:  To $git -push and $git-pull from the universe’s knowledge repository. More on this later.. Currently trying to push code locally into git repos.

[ Read More ]

July 31, 2018 by: Kauress

Coding worksheet

This is the 3rd code worksheet in a series of: “As long as they work and I’m getting results”. This worksheet features For Loops. While coding is a pretty hands on activity, reading is probably the most under-rated part of coding! Which is part of what I’m trying to do here with the worksheets, present bite sized information for scrumptious and easier consumption to the

[ Read More ]

March 17, 2015 by: Kauress

Transparent Non Bootstrappy – Twitter – Bootstrap Navbar

I did some breaking and re-making of twitter bootstrap’s navbar. I love how convenient everything in twitter bootstrap is with all the pre-defined classes etc but it does take some time to customize bootstrap components and make them a little less bootstrappy…. [codepen_embed height=”568″ theme_id=”21518″ slug_hash=”WrxqVE” default_tab=”result” user=”Kauress”]See the Pen <a href=’http://codepen.io/Kauress/pen/WrxqVE/’>Transparent Twitter Bootstrap NavBar</a> by Kauress (<a href=’http://codepen.io/Kauress’>@Kauress</a>) on <a href=’http://codepen.io’>CodePen</a>.[/codepen_embed] Here’s the HTML

[ Read More ]

Copyright © 2021 ·Kauress