-
Open
SQL Where Contains String – Substring Query Example
If you’re working with a database, whether large or small, there might be occasions when you need to search for some entries containing strings. In this article, I’ll show you how to locate strings and substrings in MySQL and SQL Server. I‘ll be using a table I call products_data in
( 6
min )
How to Implement Reveal on Scroll in React using the Intersection Observer API
Are you looking for an elegant way to reveal content on your React website as users scroll down the page? Look no further than the Intersection Observer API. In this article, you’ll learn how to implement the reveal on scroll effect in React using Intersection Observer. This will allow you
( 8
min )
Python Remove from List – How to Remove an Item from a List in Python
A list in Python is a collection of items that are ordered and changeable. It is one of the most versatile and frequently used data structures in Python. A list can contain any type of data, such as integers, strings, floats, and even other lists. In Python, lists are
( 4
min )
Undo Git Add – How to Remove Added Files in Git
Git is a powerful version control and collaboration tool. It allows developers to work together seamlessly on projects. But even the most experienced developers can make mistakes while using Git, such as accidentally adding files that were not meant to be committed. This can be a problem, especially if the
( 4
min )
Creating a Directory in Python – How to Create a Folder
In this article, you will learn how to create new directories (which is another name for folders) in Python. You will also learn how to create a nested directory structure. To work with directories in Python, you first need to include the os module in your project, which allows you
( 4
min )
Use Vite to Speed Up Web Development
Vite is a powerful build tool and development server designed to speed up modern web development. We just published a full Vite course on the freeCodeCamp.org YouTube channel that will teach you how to use Vite effectively and efficiently to streamline your web development workflow. Arsalan Khattak developed this course.
( 4
min )
How to Get Started in Data Analytics – A Roadmap for Beginners
Hello and welcome to the world of data analysis! If you're considering a career in this field, you're in good company. Data analysis is a growing and exciting field that's becoming increasingly important in today's data-driven world. Let's face it, we're all drowning in data these days. From social media
( 11
min )
-
Open
-
Open
Git Squash Commits – Squashing the Last N Commits into One Commit
If you are working on a project and trying to implement a new feature, you might commit your code a few times to test things out. This lets you see how the code works or looks. While doing this, things might get messy because you now have several commits, even
( 5
min )
CRM App Development with Django, Python, and MySQL
Are you interested in learning how to build a customer relationship management (CRM) app with Django, Python, and MySQL? We just published a course on the freeCodeCamp.org YouTube channel that will guide you step-by-step on how to build a fully-functional CRM application using Django, Python, and MySQL. John Elder developed
( 3
min )
Print Newline in Python – Printing a New Line
Working with strings or text data in programming frequently involves printing a newline. The end of a line is indicated by a newline character, which also advances the cursor to the start of the following line. Using the escape character "\n," we can print a newline in Python. Other programming
( 4
min )
Python Variables – The Complete Beginner's Guide
Variables are an essential part of Python. They allow us to easily store, manipulate, and reference data throughout our projects. This article will give you all the understanding of Python variables you need to use them effectively in your projects. If you want the most convenient way to review all
( 6
min )
How to Prevent Account Loss When using Two-Factor Authentication
If someone gains unauthorized access to your passwords, two-factor authentication (2FA) can prevent them from accessing your account. But if you ever lose access to all your 2FA methods, you have lost your account. How do you prevent such loss? In this article, we will look at two-factor authentication
( 11
min )
How to Incorporate Cybersecurity Audits into Your Workflow
The word "audit" describes any process designed to review and assess a system's current state, capacity, and integrity. An internal audit is a review process initiated and carried out by an organization itself. External audits are often performed by or on behalf of banking entities or government regulatory bodies
( 5
min )
The freeCodeCamp Mobile App – Learn to Code Right On Your Phone
I am happy to announce that the freeCodeCamp mobile app is finally ready for you to download. 🎊 The mobile development team just pushed a big update with many helpful improvements, including the much-awaited /learn user experience. You can now code your way through the Responsive Web Design curriculum and
( 4
min )
-
-
Open
What does => Mean in JavaScript? The Equals Greater Than Symbol aka Hashrocket Explained
Prior to the introduction of arrow functions, function expressions in JavaScript had a verbose syntax that often made code harder to read and understand. As a more concise way of writing function expressions in JavaScript, arrow functions were introduced in ECMAScript 6 (ES6). They quickly gained popularity among developers
( 5
min )
Modern Social Engineering Explained – 10 Types of Social Engineering Cyberattacks
Have you ever received a suspicious email or phone call from an unknown number asking for information? Or clicked on that link promising discount deals but ended up entering sensitive information? Chances are you were a victim of a social engineering attack. Social engineering is a manipulation technique used by
( 7
min )
JavaScript if Statements, Equality and Truthy/Falsy – Explained with Examples
Decisions, decisions, decisions. Go left? Or go right? In programming, we use an if statement when we want our code to make a decision. In this tutorial, we'll deep dive into the JavaScript if statement. Along the way, we'll examine the difference between single equals, double equals, and triple
( 10
min )
Chart.js Tutorial – How to Make Marimekko Charts in Angular
Data visualization is an essential part of data analysis. And charts are one of the most effective ways to present data in a clear and concise manner. Marimekko charts are an excellent choice for displaying complex data sets in a compact and visually appealing format. A Marimekko chart,
( 5
min )
Advanced SQL Techniques for Complex Queries
Structured Query Language or SQL is an effective tool for managing and modifying data that is stored in databases. The SELECT, INSERT, UPDATE, and DELETE SQL commands are suitable for many common use cases. But sometimes, more sophisticated techniques can help you perform out more complex queries and analyses
( 6
min )
Use OpenAI Gymnasium for Reinforcement Learning
Embark on an exciting journey to learn the fundamentals of reinforcement learning and its implementation using Gymnasium, the open-source Python library previously known as OpenAI Gym. We just published a full course on the freeCodeCamp.org YouTube channel that will teach you the basics of reinforcement learning using Gymnasium. Mustafa Esoofally
( 4
min )
-
Open
-
Open
How Developers Can Prevent Fraud and Stop Scammers
Online frauds and scams have shot past projections in the last decade, and no one seems to be immune to them—including developers. The shift to serverless cloud management has opened doors for hackers to try new attack surfaces and the impact is right in front of us. 90% of
( 10
min )
Next.js SEO for Developers – How to Build Highly Performant Apps with Next
Next.js is a popular React-based web framework that has gained popularity and a growing community in recent years. It's a powerful tool for building fast and SEO-friendly web applications with dynamic pages that work great on mobile devices. Due to the complex nature of isomorphic system design, Next.js SEO
( 12
min )
JavaScript Operators and Operator Precedence – Beginner's Guide
A few months ago, I attempted to solve a math problem in my head before writing it in JavaScript. It was then that I received the most stunning revelation of my career, which was both shocking and eye-opening. So what did I attempt to do? I made the following
( 12
min )
JavaScript Basics – How to Work with Strings, Arrays, and Objects in JS
JavaScript is a popular programming language that 78% of developers use. You can build almost anything with JavaScript. The problem is that many developers learn JavaScript in a very short period of time, without understanding some of the most essential features of the language. In this article, we will cover
( 10
min )
Create a platformer game with Python
Are you ready to build a classic platformer game in Python from start to finish? If so, you're in the right place! We just published a video course on the freeCodeCamp.org YouTube channel that will teach you how to create a platformer game in Python using the Pygame library. We'll
( 3
min )
Bash Scripting Tutorial – Linux Shell Script and Command Line for Beginners
In Linux, process automation relies heavily on shell scripting. This involves creating a file containing a series of commands that can be executed together. In this article, we'll start with the basics of bash scripting which includes variables, commands, inputs/ outputs, and debugging. We'll also see examples of each along
( 14
min )
List Flatten in Python – Flattening Nested Lists
Lists are one of the core data structures of Python. Due to their flexibility, there are a lot of things you can do with lists. And one of those things is turning a list of lists into a single list. It is also possible to turn a list of dictionaries,
( 6
min )
How to Build React Forms with Formik
Form building in React [https://reactjs.org/] can be complex and time-consuming, requiring state management, validation, and error handling. To simplify this process, the Formik [https://formik.org/] library provides an intuitive solution for building forms in React. Formik has a straightforward API and built-in validation, making collecting and manipulating input data in
( 5
min )
How to Create a Serverless ChatGPT App in 10 Minutes
Since OpenAI released an official API for ChatGPT [https://openai.com/blog/introducing-chatgpt-and-whisper-apis] in March 2023, many developers and entrepreneurs are interested in integrating it into their own business operations. But some significant barriers remain that make it difficult for them to do this: * OpenAI provides a simple stateless API
( 6
min )
How to Define Relationships Between Django Models
Django [https://www.djangoproject.com/] is a free and open-source web framework written in Python. It helps with rapid web development and provides out-of-the-box web security. Websites must be able to store and retrieve data from databases. Django makes provisions for this. By default, Django operates a Relational Database Management System. >
( 5
min )
-
Open
-
Open
How to Generate Automated Reports from a SQL Database Using Python
Generating reports from SQL databases is a common task in many organizations. But the process can be time-consuming and error-prone, especially if it involves manual data extraction, transformation, and formatting. In this article, we will explore how to use Python to automate the process of generating reports from SQL
( 4
min )
Data Visualization in Google Sheets for Beginners
Spreadsheets are the OG resource for visualizing data with charts and graphs...unless you count chalkboards, I suppose. Spreadsheets are built to churn through tons of data. And by using a few simple built-in tools, you can glean valuable insights from large chunks of data. gif of "OG" graphicWhen dealing
( 5
min )
How to Create an Array in Java – Array Declaration Example
Creating and manipulating arrays is an essential skill for any Java programmer. Arrays provide a way to store and organize multiple values of the same type, making it easier to work with large sets of data. In this article, we will provide a step-by-step guide on how to create an
( 7
min )
Lambda Sorted in Python – How to Lambda Sort a List
The sort() method and the sorted() function let you sort iterable data like lists and tuples in ascending or descending order. They take parameters with which you can modify how they perform the sorting. And one of those parameters could be a function or even a lambda function. In this
( 7
min )
CSS Grid Handbook – Complete Guide to Grid Containers and Grid Items
CSS Grid gives you the tools to create basic and advanced website layouts in responsive ways that look great on mobile, tablet, and desktop devices. This tutorial discusses everything you need to know to use CSS Grid like a pro. Table of Contents 1. What Is CSS Grid?
( 22
min )
GSoC 2023 Guide – How to Prepare for Google Summer of Code
Google Summer of Code [https://summerofcode.withgoogle.com/] is an open source program that is managed by Google's Open Source team. They invite developers to spend their summer contributing to the source code for various different organisations taking part in the program. There are many organisations that list their project ideas
( 11
min )
How to Automate SQL Database Backups Using Python
You should back up your SQL database on a regular basis. It's a critical task that helps ensure that your data is always protected. But manually backing up a database can be time-consuming and error-prone, especially if you have multiple databases to back up. In this article, we
( 5
min )
Create a SQL Database App with a Windows GUI
Are you interested in learning how to design and use databases for Windows applications? We just published a full course on the freeCodeCamp.org YouTube channel that will teach you how to create a SQL database application with a Windows graphical interface. Led by Shad Sluiter, a Professor Of Computer Science
( 3
min )
-
Open
-
Open
Pip Upgrade – And How to Update Pip and Python
Python is a widely used and powerful programming language that's relatively simple to learn. Python releases patch updates every few months and major updates around once in a year. Because of this, it is always a good idea to update the version of Python you have on your computer. In
( 4
min )
Cybersecurity Vulnerabilities – How Attackers Can Get Your Data
In order to understand potential threats hanging over your organization, you'll need to understand two things: what dangerous stuff is out there on the internet right now, and what impact it could have were it to actually hit you. Once you have that information, you'll be in a position
( 7
min )
Functional Programming in Java
Functional programming (FP) is a programming paradigm. It emphasizes the use of pure functions that don't have side effects and always return the same output for a given input. This article explores how to implement FP concepts in Java, including viewing functions as first-class citizens, chaining, and composing them
( 9
min )
How to Build a Simple Login App with Flutter
Flutter is one of the most popular frameworks for building mobile and desktop applications. And many companies are using it today. This is in part because of its outstanding performance, having a benchmark of 60 Frames Per Second (FPS). This helps it outperform other cross-platform technologies, and it performs better
( 12
min )
Joining Lists in Python – How to Concat Lists
The process of combining two or more strings, lists, or other data structures into a single entity is known as concatenation in programming. Concatenation produces a new object with all the components of the original objects, arranged in the concatenation order. Concatenation in the context of strings refers to
( 5
min )
How to Create and Manipulate Tables in a SQL Database Using Python
Python is a powerful programming language that you can use to interact with SQL databases. With the help of Python, you can create, manipulate, and interact with the tables in the SQL database. In this tutorial, we will be discussing how to create and manipulate tables in a SQL
( 5
min )
JavaScript Sort Array - How to Sort an Array Accurately
In programming, situations that need you to sort data will always arise. When you sort data, you will always want accurate results because failure to get an accurate result can result in malfunctions or bugs within your code. In this article, you will learn how to sort an array in
( 6
min )
Matplotlib Marker - How To Create a Marker in Matplotlib
In this article, you'll learn how to use markers in Matplotlib to indicate specific points in a plot. The marker parameter can be used to create "markers" in a plot. You can specify the shape of the marker by passing a value to the parameter. Here's what a
( 3
min )
How To Change Legend Font Size in Matplotlib
You can modify different properties of a plot — color, size, label, title and so on — when working with Matplotlib. In this article, you'll learn what a legend is in Matplotlib, and how to use some of its parameters to make your plots more relatable. You'll then
( 4
min )
Hack Summit 2023 – Developer Conference Focused on Blockchain Development
Hack Summit is one of the largest online developer conferences in history. Across its 5 events over the past decade, more than 130,000 developers have attended. And this year's event should be no different – filled with opportunities to learn from speakers and expand your professional network. This year, the
( 3
min )
-
Open
-
Open
How to Remove Duplicate Data
in SQL
Duplicates can be a big problem in SQL databases as they can slow down query performance and waste valuable storage space. Fortunately, there are several ways to remove duplicate data in SQL. In this article, we will explore some of the most effective methods for removing duplicate data
( 4
min )
JavaScript One-Liners to Use in Every Project
JavaScript is a powerful language that can do a lot with very little code. In some cases, the amount of code you need to write doesn't exceed more than a single line, which is why they are known as one-liners. Let's go through 10 essential one liners worth using in
( 6
min )
Python Iterate Over Dictionary – How to Loop Through a Dict
In this article, we will talk about dictionaries, and also learn how to loop through a dictionary in python. Python Dictionaries In Python, a dictionary is a built-in data structure used to store and organize data in key-value pairs. A dictionary has two parts for each entry: a key
( 5
min )
JavaScript String Tutorial – String Methods in JS
A string is a sequence of characters intended to represent text. Strings can contain any kind of character, like letters, numbers, or special characters. They are a very useful data type and you will be probably working with them frequently. So it's important to know how to manipulate them
( 10
min )
How to Write Simpler JavaScript Code
As developers, writing clean and maintainable code is the goal. But sometimes, this is hard to achieve when we have a large and bulky codebase that can become complex and difficult to manage. One way to avoid this is to simplify your code. This can help improve its readability, efficiency,
( 6
min )
How to Build Forms in React
Forms play an essential role in modern web applications. They enable users to share information, complete tasks and provide feedback. Without forms, many of the tasks that we take for granted on the web, such as logging in, signing up, or making purchases, would not be possible. As such,
( 12
min )
-
-
Open
-
Open
How to Make a Clickable SVG Map With HTML and CSS
Tour Afrique
( 7
min )
How to Perform Machine Learning Tasks with Python and SQL
Machine learning has become a popular field in recent years, with various applications in data analysis, computer vision, natural language processing, and more. Python is one of the most widely used programming languages for machine learning, thanks to its rich ecosystem of libraries, frameworks, and tools. But to
( 5
min )
Exploiting CORS – How to Pentest Cross-Origin Resource Sharing Vulnerabilities
All web browsers implement a security model known as the Same-Origin Policy (SOP). It restricts domains from accessing and retrieving data from other domains’ resources. The SOP policy helps protect users from malicious scripts that could access their sensitive data or perform unauthorized actions on their behalf. For example,
( 10
min )
Learn Web Development from Harvard University (CS50 Web)
Are you looking to expand your knowledge and skills in web programming? Look no further than CS50's Web Programming with Python and JavaScript course from Harvard University. This full course is designed to provide a comprehensive understanding of web programming, from the basics of HTML and CSS to more advanced
( 4
min )
Learn LaTeX for Creating Scientific Documents
Are you looking to create professional-looking documents with ease? Look no further than the world of LaTeX. LaTeX is a typesetting system that enables users to produce high-quality documents, such as academic papers, scientific publications, and even books. We just published a beginner's course on the freeCodeCamp.org YouTube channel that
( 4
min )
How Do I Make RegEx Optional? Specify Optional Pattern in Regular Expressions
Regular expressions are greedy by default, meaning they try to match as many strings as possible. One of the ways to write accurate regular expressions is to make them as lazy as possible. The metacharacter that helps achieve laziness is the question mark ?. It helps you make any RegEx
( 4
min )
How to React to User and Browser Actions with JavaScript
When a user clicks a button on a webpage, the user expects the page to respond to their action and do something: play the game, buy the product, display a message, and so on. In this tutorial, we walk through how to use JavaScript to react to user or browser
( 8
min )
-
Open
-
Open
Binary Search in Java – Algorithm Example
Algorithms provide step by step instructions on solving specific problems. They help you solve problems using efficient, standard, and reusable steps. The binary search algorithm is one of the commonly used algorithms in programming. It is used to search and find an element in a sorted array. The
( 6
min )
How to Convert Arabic Numbers to Roman Numerals with SolidJS
Have you heard about the Romans? Who hasn’t, right 🙂 They used their own numeric system, which was a bit of a mouthful, especially when it came to writing. It looks like this: I, II, III, IV, V, VI and so on. Maybe that’s one of the reasons that people
( 9
min )
How to Read and Write Data to a SQL Database Using Python
Databases are a crucial component of modern-day software systems. And SQL databases are one of the most widely used types of databases. They are ideal for managing data in a structured and organized way, and they are widely used in various applications, including e-commerce, healthcare, finance, and more.
( 6
min )
MERN App Development – How to Build a CI/CD Pipeline with Jenkins
As you continue to develop your software, you must also continue to integrate it with previous code and deploy it to servers. Manually doing this is a time-consuming process that can occasionally result in errors. So we need to do this in a continuous and automated manner – which
( 10
min )
C Operator – Logic Operators in C Programming
In this article, you will learn about the three logical operators in C. I will first explain what operators are in programming and list the different types of operators available in C. Then, you will learn the role logical operators have and how to use them with the help of
( 7
min )
What Does B in RegEx Mean? Word Boundary and Non-word Boundary Metacharacters
In regular expressions, “B” is a metacharacter for specifying word boundary. It could be in two forms – the capital letter “B” and the small letter “b”. Since B (and b) is a metacharacter, you need to escape it to make it work (\b and \B). Otherwise, b or
( 4
min )
-
-
Open
Different Types of APIs – SOAP vs REST vs GraphQL
Hi everyone! In this article we're going to take a good look at APIs, a core concept in modern software development. We're going to talk about the main kinds of APIs used nowadays (SOAP, REST and GraphQL), their characteristics, pros and cons, and situations in which each of them might
( 14
min )
How to Generate Colors in JavaScript
In this article, we'll use build a random color generator in JavaScript. Along the way, we will explore general topics in programming like functions and randomization. We will build a project called Change The Background Color to illustrate these concepts. You can see the demo here [http://rufai.github.io/buildingx/random_bg_color.html]. In
( 8
min )
Circular Reference Error in JavaScript – Meaning and How to Fix It
Have you ever encountered a "circular reference" error when working with JSON? In this tutorial, I'll explain what this error means as well as how to fix it. This error, in my experience, occurs when you try to convert an object with circular references to JSON. You may have experienced
( 6
min )
How to Use Loops in Python
Loops are an essential concept in programming. They allow you to execute a block of code repeatedly based on certain conditions. Python offers two types of loops: for and while loops. In this article, we will explore both of these loop types and provide examples of how to use
( 5
min )
Deep Learning with Julia – How to Build and Train a Model using a Neural Network
Julia [https://julialang.org/] is a general purpose programming language well suited for numerical analysis and computational science. Some consider it the future of machine learning and the most natural replacement for Python in this field. In the previous post "Machine learning with Julia – How to Build and Deploy a Trained
( 28
min )
The Business of Technology Research – Who Funds It, And What's Being Done
Getting a new technology out to consumers will usually require good people and boat loads of resources – including money. Generally, lots of money. A lot of that money will be spent on research. And, more often than not, the hard research needed to translate a great idea into
( 10
min )
Variable Data Types Explained
Walking into a hardware store, it's not enough to say: "I need a tool". You need to be specific about the type of tool you need. Each tool type has its particular purpose: A hammer to drive a nail into wood, a paint brush to paint, and a wrench
( 7
min )
How to Use Conditional Statements in Python – Examples of if, else, and elif
Conditional statements are an essential part of programming in Python. They allow you to make decisions based on the values of variables or the result of comparisons. In this article, we'll explore how to use if, else, and elif statements in Python, along with some examples of how to
( 7
min )
Static Variables in Java – Why and How to Use Static Methods
Static variables and static methods are two important concepts in Java. Whenever a variable is declared as static, this means there is only one copy of it for the entire class, rather than each instance having its own copy. A static method means it can be called without creating
( 5
min )
What does \S in Regex Mean? Space and Negated Space Metacharacters
In regular expressions, “S” is a metacharacter that represents space. The small letter “s” metacharacter stands for space, and the capital letter “S” stands for non-space. That's how the pattern for most metacharacters works. For instance, the small letter “d” is the metacharacter for a digit, and the capital letter
( 3
min )
-
Open
-
Open
How to Test and Debug SQL Queries with Python
SQL is a powerful language that allows you to extract, manipulate and analyze data from relational databases. But writing and debugging SQL queries can be a challenging task. Testing and debugging SQL queries is crucial to ensure that they produce accurate and efficient results. And you can use Python
( 4
min )
How to Use scanf( ) in C to Read and Store User Input
The scanf() function is a commonly used input function in the C programming language. It allows you to read input from the user or from a file and store that input in variables of different data types. Input is an essential part of most programs, and the scanf() function
( 8
min )
Rendering Patterns for Web Apps – Server-Side, Client-Side, and SSG Explained
Hi everyone! In this article we're going to take a look at the different rendering pattern options available nowadays for web applications. I'll start by explaining what a rendering pattern is, then go through each of the main options available. Finally we'll compare them, explaining the pros and cons and
( 14
min )
How to Extract Data from PDF Files with Python
Data is present in all areas of the modern digital world, and it takes many different forms. One of the most common formats for data is PDF. Invoices, reports, and other forms are frequently stored in Portable Document Format (PDF) files by businesses and institutions. It can be
( 5
min )
Microsoft Excel – How to Use Data Validation and Conditional Formatting to Prevent Errors
I've been using Microsoft Excel and Google Sheets in my business for over a decade. And as I've learned better ways to clean and validate data, it's increased productivity, decreased human errors, and generally caused a lot of joy! 🥳 In this article, we'll look at two ways to validate
( 5
min )
How to Search Files Effectively in the Linux Terminal – Advanced Guide
Hello everyone! Thanks for your great feedback on my tutorial about the basics of the find command [/news/how-to-search-files-in-the-linux-terminal/]. After reading it, many people requested that I write a more advanced version about the find command. Well, here it is! Now, it's time to take your skills to the
( 7
min )
Can ChatGPT Ensure Secure Coding Practices?
ChatGPT has been in the news a lot recently. The hype around it continues, and many are concerned that this AI service might put many out of work. Developers in particular feel threatened by this AI bot’s ability to write code on the fly. The general consensus is, however,
( 6
min )
-
Open
-
-
Open
How to Define And Call Functions in Python
Python is a powerful and versatile programming language that offers a wide range of functionalities for developers. One of the most essential features of Python is the ability to define and call functions. A function is a block of code that performs a specific task. In Python, defining
( 4
min )
How to Market a New Project –Incorporate Design, Create a Landing Page, and Get Users
Only a few of us come naturally to self-marketing. Most of us prefer making the thing and enjoy showing it off (at least a little!), but hope it’ll be appreciated on its own merits – or that someone else will champion it. Deliberate marketing and sales makes people uncomfortable,
( 25
min )
Trim a String in Python – How to Strip Trailing Whitespace
Python has three built-in methods for trimming leading and trailing whitespace and characters from strings: strip(), lstrip(), and rstrip(). In this article, I will explain how to remove trailing whitespace in Python using the rstrip() method. Let's get into it! How To Trim Whitespace From A String in Python To
( 3
min )
How to Build a Table of Contents Component for Your Blog
When you visit documentation sites, you'll notice that many of them have a common component: the component. The idea behind it is to give the reader a "heads-up" about the information they're trying to consume. This feature, in turn, helps the reader go directly to the section that
( 10
min )
SQL Tips to Help You Save Time and Write Simpler Queries
As a data analyst, you'll want to be as efficient and and effective as possible when working with databases. SQL is one of the most widely used languages for managing and manipulating data stored in a relational database. In this article, we'll cover some SQL cheat codes that can
( 6
min )
-
Open
-
Open
Git Branching Commands Explained with Examples
Knowing the right Git command for the task at hand can often be challenging. Especially when you're adding complexity to your task, like with Git branching. Git is a powerful version control system that enables you to track changes to your codebase. One of the key features of Git is
( 17
min )
Setting a Static IP in Ubuntu – Linux IP Address Tutorial
In most network configurations, the router DHCP server assigns the IP address dynamically by default. If you want to ensure that your system IP stays the same every time, you can force it to use a static IP. That's what we will learn in this article. We will explore
( 5
min )
CSS Bold – How to Bold Text in HTML with Font Weight
CSS is a powerful tool for web developers. It allows you to style and format HTML content in various ways. One common formatting technique is to make text bold using the font-weight property. Bold text can add emphasis to key information, create visual contrast, and improve the readability of
( 5
min )
Regular Expression Metacharacters - What Does \d Mean in RegEx?
Regular expressions, otherwise known as RegEx or RegExp for short, are a defined pattern for matching a string or specific part(s) of a string. This string includes any character out there, be it letters, symbols, or digits. In this article, we’ll look at the RegEx character \d, which you can
( 4
min )
Public APIs Developers Can Use in Their Projects
A public API, also known as an external API, is a type of application programming interface that allows developers to access specific features and data of a software application or service. It is "public" in the sense that it is made available to third-party developers and is not limited
( 10
min )
-
-
Open
-
Open
HTML for Beginners – How to Get Started with Web Development Basics
Have you always been interested in learning HTML but didn't know where or how to start? Well, this guide is for you. In it, we will look at: * An introduction to HTML * A Brief History of HTML * Why Learn HTML? * Prerequisites for
( 6
min )
How to Add Categories to a Ruby on Rails Application
Creating a category page is essential for most web applications these days. Different kinds of applications like blogs, ecommerce sites, movie streaming platforms, and many others have category features. This article will show how to add categories to Ruby on Rails applications. This is a beginner-friendly tutorial, so you can
( 5
min )
Why Python is Good for Beginners – and How to Start Learning It
Python is a programming language that has relatively simple syntax. This makes it an ideal choice for beginners who are just starting out in the field of programming. Python is also a very versatile language, which means that you can use i for a wide variety of tasks and
( 7
min )
How to Orchestrate an ETL Data Pipeline with Apache Airflow
Data Orchestration involves using different tools and technologies together to extract, transform, and load (ETL) data from multiple sources into a central repository. Data orchestration typically involves a combination of technologies such as data integration tools and data warehouses. Apache Airflow is a tool for data orchestration. With Airflow,
( 6
min )
Python VS C++ Time Complexity Analysis
Speed is important in programming languages, and some execute much faster than others. For example, you might know that C++ is faster than Python. So why is this the case? Well, C++ is a language that uses a compiler, not to mention it is a much lower-level programming language than
( 8
min )
How to Automate Excel Tasks with Python
No content preview
( 9
min )
Security and Privacy – What You Should Know to Protect Your Data
I've talked a lot about security and privacy in my "A Beginners Guide to Digital Security [/news/understanding-digital-security/]" and "What Is Digital Privacy [/news/beginners-guide-to-digital-privacy/]" articles. So why are we flogging this certifiably dead horse now? Because it's not dead. Security and privacy are as or more important than anything else in
( 9
min )
Python RegEx – How to Import a Regular Expression in Python
Virtually all the programming languages out there support regular expressions. Regex is built into languages like JavaScript and Pearl, while others like Java and Python have standard libraries for working with it. In this article, we’ll look at how you can import regular expressions in Python and use it. We’ll
( 7
min )
Python Dictionary – How to Create a Dict in Python (Hashmap)
Welcome to this Python article on creating a dictionary (also called a hashmap). A dictionary or hashmap is an unordered grouping of key-value pairs in Python. Since each value can be accessed by its corresponding key, it offers a practical means of storing and retrieving data. We'll cover the
( 4
min )
How to Create a CSV File Using Python
CSV is an acronym for comma-separated values. It's a file format that you can use to store tabular data, such as in a spreadsheet. You can also use it to store data from a tabular database. You can refer to each row in a CSV file as a data
( 7
min )
-
Open
Linux Server Tutorial – How to Login, Communicate, and Transfer Files
Did you know that 96% of the top 1 million web servers [https://www.zdnet.com/home-and-office/networking/can-the-internet-exist-without-linux/] are running Linux? Yes. You heard that right. So being able to work with Linux servers is a great skill to have. In this article, you'll learn how to connect to a Linux server using
( 8
min )
How Callbacks Work in Node.js
Node.js callbacks are a special type of function passed as an argument to another function. They're called when the function that contains the callback as an argument completes its execution, and allows the code in the callback to run in the meantime. Callbacks help us make asynchronous calls. Even
( 4
min )
JavaScript Modules – How to Create, Import, and Export a Module in JS
JavaScript, like most programming languages, was initially used for small tasks. But as its popularity grew, so did the amount of code that needed to be written. Having a large amount of code in a single file can be problematic, so it's helpful to split the code into multiple
( 5
min )
How to Create Tabs in Jetpack Compose
We’ve all seen it. We’ve all done it. Ain’t nothing like good ol’ tabs to organize content in a complex application. So how do we go about creating a tab layout in Jetpack Compose? In this tutorial, we’ll go over all of the basics, but also show some things
( 9
min )
Code an AlphaZero Machine Learning Algorithm to Play Games
AlphaZero is a game-playing algorithm that uses artificial intelligence and machine learning techniques to learn how to play board games at a superhuman level. We just published a machine learning course on the freeCodeCamp.org channel that will teach you how to build AlphaZero from scratch. Robert Förster created this course.
( 3
min )
JavaScript Replace – How to Replace a String or Substring in JS
When working with JavaScript, you might need to replace a string or substring with a new one. For example, you might want to replace a certain string (like "color” — American English) or substring in a larger text or document with a different string (“colour” — British English). You may
( 5
min )
TailwindCSS vs NextUI – How to Choose a UI Framework
If you're a developer, choosing the proper UI framework can be tough. This is partly because there are so many options to choose from, each with its strengths and weaknesses. In this guide, I will discuss the differences between two popular frameworks: Tailwind CSS and NextUI. Tailwind CSS
( 6
min )
How to Build Mobile Apps with Flutter
Flutter is a mobile app development framework from Google that lets you build beautiful, high-performance iOS and Android applications. In this article, let’s look at what Flutter is and how to work with it. What is Flutter? Flutter is an open-source mobile application development framework created by Google. It
( 6
min )
What is RTLO in Hacking? How to Use Right-to-Left Override and Defend Against it
Let’s play a lovely game of hide your malware in plain sight. 🐴 Malicious hackers look for all kinds of underhanded tricks to make everyday users victims as a result of common mistakes. They might get someone to click the wrong link, open the wrong website, or execute the wrong
( 8
min )
Git Revert – How to Reset a File or Commit
When working on a project with a team or by yourself, it's important to track changes in the code base through version control. Git provides you with different commands for tracking file changes. These commands will enable you to collaborate with other developers, access file history, manage code, and
( 5
min )
-
Open
-
-
Open
-
Open
How to Debug Errors in Your Source Code
The process of handling errors is known as debugging. It involves identifying and removing errors from your program. If you want to be an efficient programmer, you'll want to cultivate your ability to debug code. It's one of the main skills you'll need as a software developer or programmer.
( 9
min )
Python Lambda Functions – How to Use Anonymous Functions with Examples
Lambda functions, also known as anonymous functions, are small, one-time-use functions in Python. You can define them using the lambda keyword followed by the function's inputs, a colon, and the function's expression. The output of a lambda function is returned as the result of the expression, rather than a
( 10
min )
Python Sorted List – And How to Sort or Reverse an Array in Python
Arrays and lists in Python are very interesting data structures. Both lists and arrays consist of ordered, mutable items – but arrays contain items of the same type, while lists can store multiple types of items. In this article, we will learn how to reverse an array using
( 6
min )