JavaScript Objects: A Guide
While lists are a useful method of storing data, they are inconvenient to use when you want to store multiple properties about a specific object in the list. For instance, if you want to store data on all the cookies…
JavaScript Events: Three Ways to Create an Event
Adding interactive features to a website is where JavaScript shines. Whereas HTML and CSS are used to set the structure and styles of a web page, respectively, you can use JavaScript to make your site more dynamic. In JavaScript, events…
JavaScript Math: A Guide for Beginners
Computers are really good at math. It’s in their metaphorical blood, considering computers are powered by the 1s and 0s that we call binary. When you’re coding, there’s probably going to be a time when you want to perform some…
Map JavaScript: A Guide to the .map() Method
Programmers like to reduce repetition in their code. The more you repeat your code, the less maintainable it is, and the slower your programs will run. That’s the reason why there are various methods in JavaScript to iterate through datasets.…
querySelector JavaScript: A Guide
getElementById. getElementByClass. You may have heard about these functions before. They both allow you to select a particular element in JavaScript. Once you’ve selected an element you can change its contents, modify its state, or even make it disappear. There’s…
JavaScript Default Parameters: A Beginner’s Guide
Default parameters make working with functions a whole lot easier. Using default parameters, you can tell your functions what parameters they should use in the case that you haven’t specified any. This can help avoid errors and makes your code…
JavaScript localStorage: A Guide
Web applications can get very complicated, very quickly. One thing I’ve learned in my time as a developer is that there’s a lot you can do with plain old JavaScript if you give it the chance. The localStorage API is…
How to Use Async and Await in JavaScript
Introduced in ES6, Promises allow you to easily write asynchronous code without having to deal with different callback functions. With Promises, there’s no need to worry about multi-level callback functions which are both difficult to write and maintain. There’s another…
Git Pull Request: How to Create a Pull Request
Git repositories have become a popular way to manage a codebase. Using Git, you can have multiple people working on a project simultaneously. Everyone can have a version of a project on their local machine to modify, but any changes…
JavaScript Console: A Guide for Beginners
Writing code, while entertaining, can also become quite tedious. There are days when you start writing code, realize something is not running, and get very frustrated. Even more annoying is when your code runs, but you can't figure out why…
JavaScript Countdown Timer: A Tutorial
Countdown timers are used all over the Internet by people who want to count down to a major event. You could use a countdown timer to count down to the launch of your new website. A countdown timer could mark…
How to Deploy an Application to Heroku
You’ve done the heavy lifting and built a web application, congratulations! After you’ve created your web application on your local machine, your next step is to put it online. Once your application is online, it will have its own web…
Best Online Colleges in 2020
Many colleges are temporarily offering online classes as a response to the COVID-19 pandemic, but some were doing so long before COVID-19 disrupted daily life. Over the past decade, online learning has become an immensely popular alternative to the traditional,…
Python Modules: How to Create a Module
Modules are a feature of Python that allow you to divide your code into multiple files. Python modules are files that end in the “.py” extension. In this guide, we’ll provide examples and you’ll learn how to create a Python…
Ruby Each with Index
When you’re programming, you’ll use and encounter various data structures including arrays and hashes. Eventually, you’ll want to iterate through each item in an array or hash to extract or transform the information in these data structures. The ability to…
Ruby For Loop
As developers, our goal is to write succinct and effective code. Loops are one way to cut down on unnecessary code. In Ruby, there are several types of loops including `while`, `for`, `do..while`, and `until` loops. In this article, we’ll…
Best Online Finance Degrees 2020
Do you have a passion for money? Have you always wondered how businesses manage their money and how the stock market works? If this describes you, then maybe you should consider enrolling in an online finance degree. The job prospects…
Online Interior Design Degrees 2020
Depending on where you are right now, you may be within a room designed by an interior designer. Your office was likely designed by an interior designer. Maybe you even paid a designer to decide how your home should look,…
Online History Degrees 2020
History may be seen by some as “stuff that’s already happened,” but make no mistake--the study of history is an incredibly important field. Studying history helps us understand how our ancestors lived and we can use what we learn from…
Online Criminal Justice Degrees in 2020
Jobs in criminal justice play an important role in our society. Crime scene investigators help determine who has committed a crime, detectives investigate crimes and lawyers help ensure our legal system works as intended. These are just three of the…
Best Online Nutrition Degrees 2020
Top Online Nutrition Degrees 2020 Dietitians and nutritionists play a crucial role in our society. They advise people on what to eat in order to live a healthy lifestyle or achieve a specific goal related to their health. If you…
Best Medical Billing and Coding Online Degrees 2020
Not all jobs in healthcare involve providing medical assistance. For example, you can work as a health information technician. Their duties involve filing and categorizing patient data for insurance reimbursement claims, or you could work as a medical billing manager.…
Best Online Environmental Science Degrees 2020
As public awareness of environmental threats increases, so does interest to pursue a degree in environmental science. The world is facing a number of environmental issues, from tackling pollution to protecting public health. To solve these problems, we need people…
JavaScript Arrow Functions: A Step-By-Step Guide
JavaScript arrow functions are a way of declaring functions. Arrow functions can be used to write JavaScript functions more efficiently and using more concise syntax. Arrow function syntax supports implicit returns for single expressions. A function is a block of…
What is a RESTful API?
At some point in your career as a developer, you’ve likely encountered RESTful APIs. But, do you know what they are? How do they work? In this guide, we discuss the essentials of REST APIs, covering everything you need to…
What is CRUD?
An API should fill four types of functions. It should be able to create new data and read, update, and delete existing data. In computer science, we refer to these options as CRUD. The CRUD method is essential in building…
How to Build a Command Line Interface Using Ruby
Are you considering building a command line interface? That’s a great project idea! In this guide, we discuss how to build a command line interface in Ruby. Before we get started, you should have Ruby installed on your computer, and…
Online Accounting Degrees 2020
Best Online Accounting Degrees 2020 A career in accounting can unlock a strong and stable career for you. According to the U.S. Bureau of Labor Statistics, the median salary for an accountant and auditor in 2019 was $71,550 per year.…
What is HTTP?
You’ve probably come across the acronym HTTP at some point in your life. All you need to do is look in the address bar of your computer and you’ll see https:// before the Career Karma domain name. HTTP is everywhere…
How to Make axios GET and POST Requests
When you’re building a web application, there may come a time when you want to perform a HTTP request to access an external resource. For instance, suppose you are making a blog. You may want to call an API to…