The fetch() function is one of the tools JavaScript has to access and manipulate data. It’s a global method on the window object. fetch() allows you to make network requests, similar to XMLHttpRequest. XMLHttpRequest used to be more popular but more and more developers are moving away from that method because of the Fetch API’s added flexibility and feature set.

One of the main differences between the two is that the Fetch API uses Promises, which allows for cleaner and simpler code.

A good resource for learning more about Promises is this Google article.

At their most basic, promises are…


For my blog this Mod I wanted to review some of the basics of JavaScript. I’ve found it valuable to return to the information I only learned a few weeks ago in order to refresh the basics.

First a quick introduction:

JavaScript is a programming language that allows you to implement complex features on a website, such as dynamic elements or interactivity. Or, in other words, HTML and CSS add content and structure the foundations of a website, and JavaScript adds behavior.

JavaScript was initially created to “make web pages alive”. …


I was trying to explain to my friend what a gem was in Ruby and I realized that while I understood what a gem was, I wasn’t great at teaching it! So this blog is for my friend and for anyone who “gets” what a gem is but is a little shaky on the specifics.

Ruby gems seem like magic at first! But they’re really just open-source libraries or plug-ins. A gem is a package of pre-written code you can download and install to fill a specific need. …


In preparation for project week, I began looking into APIs but found it hard to wrap my head around the definition after staring at labs all weekend.

So let’s break it down into language anyone can understand.

API stands for Application Programming Interface.

In simple language, API is the messenger. It takes requests, tells a system what you want to do, and then returns the system’s response back to you.

It helps to keep in mind how the Web works.

Every page on the internet is stored on a remote server. When you use your computer to access a webpage…

Casey Bivens

Software Engineering Student @ Flatiron School

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