Category: Code

  • Javascript call(), apply(), bind()

    by

    in

    If you’ve ever Googled Javascript interview questions, you’ve probably came across a questions asking the interviewee to discuss the differences between Javascript’s call, apply, and bind functions. At a first glance, these seem to be very confusing, but if you take the time to really study them, they’re pretty easy to understand. Before we get…

  • Specificity in CSS

    by

    in

    I only have a video for this one. Maybe I’ll come back and write this one up sometime, but not today!

  • How to make a triangle in CSS.

    by

    in

    Watch the short video tutorial here: If you’re new to CSS, you’re probably already comfortable with making plenty of boxes and other four-sided shapes on your webpage, but you can also make more advanced shapes with CSS. Today will be making a triangle in CSS. First let’s write a tiny bit of html. All you…

  • How to enable Redux DevTools in Chrome

    by

    in

    Setting up Redux DevTools is a bit more complicated than just installing a chrome extension (but not much). Getting this set up will make development with Redux a bit easier since you can see your actions and examine your state. Let’s get started. First, go download the Chrome extension here: https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd Now, you need to…

  • Authentication in Ruby on Rails 6 (log in, sign up)

    by

    in

    Pretty much any application that you want to make will include some portions that need to be restricted. Maybe you have certain pages you want to block, or maybe you just want to make sure users can log in your site and post items. Whatever it is, making sure that your website or application has…

  • Adding Bootstrap 4 to a Rails 6 project

    by

    in

    If you’re like most developers, you probably have a lot of work to do. Because of this, smart developers like to take advantage of tools that let them write less code. And Bootstrap is a tool that does just that. This CSS framework lets us quickly whip up pages that look pretty decent. In this…

  • Javascript Primitive Data Types

    by

    in

    In order to understand some more advanced Javascript topics – or even some beginner topics – it’s important to know the primitive different data types in Javascript. I’d like to get a shoutout to https://www.programiz.com/javascript/data-types . I used that page – and a few others – while putting this article together; Javascript has five primitive…