CSS List Style
Lists are an important way to display data in HTML. When you have a number of items with a common theme, such as shoe sizes or navigation tools, the most effective way to present the data may be to use…
CSS Transitions
When you’re designing a web page, you may want to add transitions to an element. Transitions are triggered when a certain condition is met. For instance, you may want the background color of a button to change when the user…
CSS Opacity
When you’re designing a website, you may decide that you want an element on a web page to appear more transparent than other elements. For instance, you may be designing a web page with a number of images that you…
CSS Float
When you’re designing a web page, you may decide that a particular element should appear in a certain position on the page. For instance, you may want a box containing an image to appear at the right of a page.…
CSS Rounded Corners
When you’re designing a web page, you may want an element to have rounded corners. For instance, if you’re adding a headshot of a business owner to a web page, you may want the image to have rounded corners to…
CSS Gradient
Gradients are commonly used to make a web page more aesthetically pleasing. Instead of using a plain color to style a box, a gradient allows you to show a transition between two or more colors, which can be more visually…
CSS Margin
Adding spaces between elements on a web page is a crucial part of designing aesthetically pleasing and functional user experiences. Margins are used to create an empty area around an HTML element to separate the element from other objects on…
Sort a Dictionary by Value in Python
Dictionaries are unordered data structures. They use a mapping structure to store data. Dictionaries map keys to values, creating pairs that hold related data. Using the Python sorted() method, you can sort the contents of a dictionary by value. For…
Java Static
How to Use the Java Static Keyword When you’re working with classes in Java, you usually need to create an instance of the class before you can access its members. However, you may encounter a situation where you want to…
Priority Queue C++
How to Use Priority Queue in C++ In programming, queues are used to create data structures that store values in a first-in, first-out order. When you’re coding in C++, you may want to create a queue that processes the element…
Do while Loop C++
How to Use “while” Loops in C++ In programming, you can automate repetitive tasks with loops. Loops are an important part of programming because they allow developers to reduce code repetition. This reduction helps make code more efficient and easier…
C++ Stack
How to Use C++ Stacks: A Guide A stack is a data structure used to store data in a last-in, first-out (LIFO) order. When you’re programming in C++, you may encounter a situation where using a stack is the best…
C++ Enum
How to Use C++ Enum: A Guide An enumerated type is a user-defined data type which can be assigned one value from a range of values. Enums are often used in programming when a variable should only be able to…
Switch Statement C++
How to Use the Switch Statement in C++ Conditional statements are a common feature of all programming languages. These statements are used to control the flow of a program and specify when specific blocks of code should be executed. The…
HTML Textarea: Step-by-Step Guide
The HTML textarea tag is used to make a text input field with multiple lines in a form. It is defined with the <textarea> tag and can hold an unlimited number of characters. When you’re creating a form in HTML,…
Flockjay Tech Sales Bootcamp Review
Fast growth in the technology sector has led to increased demand and higher salaries for skilled workers in computing-based roles. This demand has quickly outpaced the number of people who are graduating from traditional computer science degrees, thus creating a…
Java Array Contains
When you’re working with arrays in Java, you may encounter a situation where you want to check whether an array contains a particular value. For instance, if you are building a program that tracks your bird-watching progress this season, you…
Java Inheritance
Object-oriented programming includes a number of features that help prevent repetitive code. One of these features is inheritance. This tutorial will discuss, using examples, the basics of inheritance in Java. We will explore how inheritance works, why it is important,…
Java Abstract Class
How to Use Java’s “Abstract” Classes and Methods Abstraction is one of the three core principles in object-oriented programming—alongside encapsulation and inheritance. Abstraction is one way to reduce the complexity of your programs and make your code easier to read.…
Java Super
Java Super: A Guide Inheritance is a core feature in object-oriented programming that allows a developer to define a new class from an existing class. For instance, a class to store the suppliers of meat at a local health foods…
Java Print Array
How to Print an Array in Java An array is an ordered sequence of a certain number of items of the same data type. It is a Java data structure. Java developers often use arrays to store data. For instance,…
ArrayList to Array Java
Convert ArrayList to Array Java When you’re working with an ArrayList, you may encounter a situation where you want to convert it into an array, or vice versa. For instance, you may have a list of stocks in your portfolio…
C++ Queue
How to Use C++ Queues In programming, queues are used to create data structures using the first-in, first-out (FIFO) approach. When you’re programming in C++, you may decide that you want to store a particular set of values in a…
For Loop C++
Loops are an essential feature of programming, and allow coders to automate and repeat the same task multiple times. This allows coders to maintain the readability of their code and also reduces the need to repeat the same code throughout…
C++ Array
A Guide to C++ Arrays In C++, an array is a data structure that contains an ordered list of elements. Each element within an array is called an item, which can be altered or removed. Arrays play an important role…
Java This
How to Use the Java this Keyword When you’re starting to code in Java, you’ll likely notice the keyword this being used in methods or constructors. The this keyword refers to the current object inside methods or constructors, and has…
Coronavirus: A Guide For Online Learners
Coronavirus, officially known as COVID-19, has impacted all of our lives. Whether we know someone who is sick, or whether we have been asked to work from home -- or go even further -- there has been no escaping the…
While Loop Java
In programming, there are often instances where you have a repetitive task you want to execute multiple times. Loops are used to automate these repetitive tasks and allow you to create more efficient code. The while and do...while loops in…
Exception Handling with Try Catch in Java
Even the best programmers make mistakes in their code. An error could occur because of a typo, an unexpected user input, or for many other reasons which are difficult to track. That’s where exception handling comes in. Good code includes…
How to Use Java Constructors
In Java, methods are used to store blocks of code that perform a specific action. When you’re working with methods, you may encounter a concept called constructors. Constructors are special methods used to initialize objects in Java. Constructors are called…