Another very important topic to cover regarding variables in Javascript is hoisting. Without fully understanding hoisting, it can create problems in your code later on. As mentioned on part 1 of this post, hoisting was a new addition to Javascript back in 2015 with the release of ES6.

Before going over some example of hoisting, let’s define exactly what it is first.

Hoisting is JavaScript’s default behavior of moving declarations to the top.

While the above definition is true, it’s important to point out that Javascript does not physically move declarations to the top of your page. …


As I wrap up 15 weeks of intense coursework at Flatiron’s web development bootcamp, I am finally able to reflect on everything that flew by so quickly. The lack of reflection up until this point is also a great representation of what a bootcamp really is after-all. Loads of coursework, tons of new topics, and a short time frame to absorb it all. At the end of every 3 week “mod”, you’ll get tested on the material, and then you’ll create a project showcasing the technologies you just learned.

Flatiron gave me the tools and resources to continue on and…


A couple weeks into my coding bootcamp at Flatiron I began asking classmates and acquaintances about Javascript styling frameworks. The one that kept coming up, time and time again was Tailwind CSS. Since then I have implemented Tailwind into my Javascript and React projects multiple times and have learned a lot along the way. I wanted to share basic use cases for Tailwind and show off some low level examples as well.

I started out learning Tailwind when I was still new to even CSS at the time. Despite this, I still felt that Tailwind wasn’t too advanced for me…


When I first started learning about rails and how models worked, I was terrified that if I left something out of my initial model migration, I would have to start over from scratch and do it over. Luckily with much more practice and trial and error, I’ve learned that certainly isn’t the case. Lets talk about creating a user model in Rails and how to add columns of data to your model after you’ve migrated it:

After spinning up your new rails app with:

$ rails new project_name

Make sure to switch to the new folder:

$ cd project_name

Now…


To start off this discussion of what let, var, and const do in Javascript and why theres even more than one way to declare variables, I’ll repeat what my software engineering teacher said to me: “Always start with const and move to let if you get an error.” This has stuck with me since and I use it in practice every day, but it got me thinking. Why is this so, and how can I better understand the intricacies of these very important keywords?

Let’s back it up a bit shall we? When Javascript received its last major revision with…

Kyle Davis

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store