JavaScript: Equality Operators
There are four ways to compare equality in JavaScript. This article talks about the unique operators used to determine equality, what type coercion is, and some of the idiosyncrasies encountered when evaluating for a truthy or falsy value in the…
Python Hello World: A How-To Guide
The Python "Hello World" program is usually the first program a coder will write in Python. This program uses a print statement to display a string to the Python console. The program looks like: print("Hello World"). One of the very…
Big O Notation – Time Complexity
As software engineers, sometimes our job is to come up with a solution to a problem that requires some sort of algorithm. An algorithm, at a high level, is just a set of directions – the recipe to solve a…
Python Interpreters: A Step-By-Step Guide
Python is super accessible to learn because Python Interpreters exist online without having to ensure you have the correct version of Python installed on your machine. In this article, we talk about what the Python Interpreter is and list some…
Java Compilers: A Step-By-Step Guide
Five to ten years ago, learning Java wasn’t as accessible as it is now. Back then, you had to download a Java Development Kit (JDK) that contained the compiler and interpreter to run on your machine. Now there are a…
HTML vs CSS: What’s the Difference Between the Two?
An aspiring web developer learns HTML and CSS as part of their tech career training.In this article, we look at the difference between the two languages and two examples: one using HTML, the other using HTML and CSS. The hope…
Use the Bootstrap Framework to Create Tabs
Tabs are a user interface (UI) element that allow us to see different panes of information without using up extra space. Just like tabs in a binder or book, they mark a placement on the page for more information and…
Using the Bootstrap Framework to Create a Modal
A modal is a window that is separate from the main window of a web page. It’s main purpose is to disable the main window from user interaction and to share information or confirm something with the user. Modal windows…
How to Perform a JavaScript Redirect
There are several ways to redirect a web page: client side using the meta tag in HTML, and server side using HTTP redirect methods to name a few. In this article, we look at how to redirect a web page…
How to Perform an HTML Redirect
There may be times when you need to redirect your web traffic to a new site. There are multiple ways to perform a redirect, usually through the backend, but in this article we cover how to do it using a…
Differentiating Between the Types of Spaces in HTML
In HTML, sometimes we need to create space, and it’s not as easy as just using the spacebar to create it. This is especially true if we need multiple spaces in a row or tabs – HTML tends to collapse…
A Guide to Using Quotes in HTML
There are several ways to cite sources or discern quotes from its surrounding text in HTML. Today, we go over the HTML Quotation Elements: <blockquote>, <q>, <abbr>, <address>, <bdo> and <cite>. Each has their own unique use cases – we…
How to Open a Link in a New Tab Using HTML
When we want to direct a user to a third-party web page, the default behavior is for the link to go directly to that page in the same tab. You can keep users on your page by opening up the…
SQL Triggers
An SQL Trigger is an event that sets off a number of other events that happens when a user interacts with a particular table. This particular SQL statement helps by validating form data, or enforcing rules. A trigger is executed…
Using MySQL’s IF(), NULLIF(), and IFNULL() Functions
Just like other programming languages, the structured query language has conditional statements that control the flow of data. The IF function returns a statement if condition is met and another type statement (or none at all) if not met. Let’s…
SQL Substr() Function
Sometimes we need just a portion of a string value in our data to display. There is a string function we use called SUBSTR(). There is also an equivalent function called SUBSTRING(). In this article, we cover using this substring…
SQL Having
SQL has different types of operations used to make queries to a database. SQL’s HAVING statement works like a subquery on top of an initial query. It works well when you have an overwhelming amount of entries that have one…
How to Use the SQL Contains Command
There are many SQL statements and functions to query your database and retrieve or figure out useful information. One such function is the CONTAINS() function. This particular statement is not a standard SQL function – depending on which database you…
How to Build a Query Using the SQL Concatenate Function
When working with queries, sometimes we need to take raw data from our database and reformat it in a different way for use elsewhere. In this article, we look at a couple of functions in MySQL to help us work…
How to Create a Github Profile README Using Markdown
Github gives us the opportunity to personalize our profile – the page where our pinned repositories are – with a custom README.md that introduces who we are as developers. In this article, we take a look at steps to create…
JavaScript Operators: Comparison and Equality
We first encountered operators when we were children learning arithmetic in elementary school. Operators are the symbols in between two operands. In web development, we use operators to compare two values to determine if an expression is true or false.…
JavaScript: Capitalize First Letter of Each Word in a String
There’s many beginner-friendly code challenges that will help you to start thinking more like an engineer. One such challenge is one where you capitalize the first letter of every word in a given string. In this article, we’ll take a…
SQL Comments Using Single- and Multiline Comments
There are two types of comments in SQL statements: single-line and multi-line. We’ll take a look at these in our article with an example of each and discuss why we might use comments When we make comments in our code,…
C – Booleans
Originally, booleans did not have built-in support in C. With the advent of the C99 standard about ten years ago, C added a _Bool type. In this article, we’ll go over several ways that you can represent boolean values in…
JavaScript Math Object: Round
This article will show you how to use the Math Object to figure out how a floating point number rounds to the nearest integer. As a reminder, when we round a number, we look to the right of the decimal…
JavaScript Methods: Object.assign()
JavaScript has an Object class that has all sorts of methods we can use to manipulate those objects. In this article, we’ll take a look at the Object.assign() method and demonstrate how it’s used. A Little Background As a reminder…
JavaScript Methods: charAt() Method
There exists a String object method in JavaScript that gives us the ability to figure out which character is at a given index in a string. This article will tell you about that method and show how to use it.…
JavaScript Methods: toFixed() – a Number method
There exists a Number object method in JavaScript that allows us to set a fixed decimal point on a number and then returns it as a string. This article will talk about the syntax of this method and illustrate how…
JavaScript Math Object: Absolute Value
This article will show you how to use the Math Object to figure out the absolute value of an input. As a reminder, the absolute value of a number disregards the sign – it assumes that all numbers are 0…
React Components – Functional vs. Class
React-js is a JavaScript framework that allows us as developers to encapsulate code to make it more reusable. These encapsulated code snippets are called components. They can hold their own logic and state without interfering with what’s going on in…