• Open

    How to Learn Different Tech Stacks IRL
    Over the last couple years, I've learned that being a consultant means you have to be able to learn new things quickly. At first, this was really scary to me. Now, as someone who has had to learn several new tech stacks over the last year, it’s still a little  ( 9 min )

  • Open

    Dataframe to CSV – How to Save Pandas Dataframes by Exporting
    Pandas is a widely used open-source library in Python for data manipulation and analysis. It provides a range of data structures and functions for working with data, one of which is the DataFrame. DataFrames are a powerful tool for storing and analyzing large sets of data, but they can  ( 4 min )
    How to Add Scroll Animations to a Page with JavaScript's Intersection Observer API
    Sometimes, when you visit a website, you'll notice that certain elements or a particular section gets revealed dynamically as you scroll. It's like the contents of that particular section weren't available to view until you scrolled into the section – but now, because you're there, the website decides to  ( 6 min )

  • 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

    Overcoming The Challenges Of Content Creation For Informational Websites
    Content matters! Unfortunately, when it comes to informational websites, content quality is often poor. There is no magic answer to fix that. However, there are practical techniques you can use to improve the copy on your websites and ensure your users find the content they are looking for.  ( 14 min )

  • 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

    Some Cross-Browser DevTools Features You Might Not Know
    I spend a lot of time in DevTools, and I’m sure you do too. Sometimes I even bounce between them, especially when I’m debugging cross-browser issues. DevTools is a lot like browsers themselves — not all of the features in … Some Cross-Browser DevTools Features You Might Not Know originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.  ( 6 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

    Smashing Podcast Episode 58 With Debbie Levitt: What Is CX Design?
    In this episode of the Smashing Podcast, we ask what is Customer Experience design, and how does it differ from User Experience design? Vitaly Friedman talks to expert Debbie Levitt to find out.  ( 40 min )

  • 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

    Free Fonts For Interface Designers
    Just a few beautiful, well-crafted fonts for headings and body text that you probably haven’t spotted before. Free for personal and commercial use. Enjoy!  ( 16 min )

  • Open

    Method Overloading vs Method Overriding in Java – What's the Difference?
    In Java, method overloading and method overriding both refer to creating different methods that share the same name. While the two concepts share some similarities, they are distinct notions with markedly different use cases. Having a firm grasp of them is important in building strong foundational Java skills.  ( 6 min )
    Python Program Examples – Simple Code Examples for Beginners
    Mark Twain said that the secret of getting ahead is getting started. Programming can seem daunting for beginners, but the best way to get started is to dive right in and start writing code. Simple code examples are a great way for beginners to get their feet wet and  ( 8 min )
    Binary Search in C++ – Algorithm Example
    The binary search algorithm is a divide and conquer algorithm that you can use to search for and find elements in a sorted array. The algorithm is fast in searching for elements because it removes half of the array every time the search iteration happens. So instead of  ( 5 min )
    Python range() Function Example
    In this article, you will learn how to use the range() function in Python with some code examples along the way. What is the range() Function in Python? range() Function Syntax Breakdown Python's built-in range() function is mainly used when working with for loops – you can use it to  ( 5 min )
    Python RegEx Tutorial – How to use RegEx inside lambda Expression
    It’s possible to use RegEx inside a lambda function in Python. You can apply this to any Python method or function that takes a function as a parameter. Such functions and methods include filter(), map(), any(), sort(), and more. Keep reading as I show you how to use regular expressions  ( 4 min )

  • 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

    Internationalization In Next.js 13 With React Server Components
    In this article, Jan Amann, based on an example of a multilingual app that displays street photography images from Unsplash, explores next-intl to implement all internationalization needs in React Server Components.  ( 15 min )
    Full Stack GraphQL With Next.js, Neo4j AuraDB And Vercel
    In this article, William Lyon explores how to build a full stack GraphQL application that takes advantage of the API Routes feature of Next.js API to combine your GraphQL server and front-end React applications into a single framework.  ( 20 min )

  • Open

    Python Print Exception – How to Try-Except-Print an Error
    Every programming language has its way of handling exceptions and errors, and Python is no exception. Python comes with a built-in try…except syntax with which you can handle errors and stop them from interrupting the running of your program. In this article, you’ll learn how to use that try…except syntax  ( 5 min )
    Alternatives to Prettier – Popular Code Linting and Formatting Tools
    Many programmers hate code formatting because it is tedious and time-consuming. You can spend hours making sure everything is perfect and well-indented. This is why code formatters are so useful. A code formatter is a tool that formats code according to certain standards. It makes it so you don't  ( 12 min )
    Learn React 18 with Redux Toolkit
    React is a popular JavaScript library that is widely used for building dynamic user interfaces. It has gained a lot of popularity over the years due to its flexibility, scalability, and ease of use. If you're a beginner looking to learn React 18 with Redux Toolkit, you're in luck. We  ( 3 min )
    I uncovered 1700 Coursera Courses that Are Still Completely Free
    Is Coursera Free? At Class Central [https://www.classcentral.com/], we get that question so often that I wrote a guide to answer it [https://www.classcentral.com/report/coursera-signup-for-free/]. Nowadays, most Coursera courses are free to audit. But if you want to complete graded assignments or get a course certificate, you have to pay. Coursera’s entire catalog  ( 60 min )
    How To Write Quick Sort Algorithm With JavaScript
    Quick sort is a widely used sorting algorithm that efficiently sorts an array of elements by dividing it into smaller subarrays based on a chosen pivot element. In this article, we will walk through how to write a quick sort algorithm using JavaScript and explore the key concepts behind the  ( 4 min )

  • 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

    What Leonardo Da Vinci Can Teach Us About Web Design
    Perhaps more than any other person in history, Leonardo da Vinci showed the kind of magic that can happen in the overlap between art and science, where much of web development lives. His methods and outlooks are just as applicable to the web today as they were in Renaissance Italy.  ( 17 min )

  • Open

    Making Calendars With Accessibility and Internationalization in Mind
    Doing a quick search here on CSS-Tricks shows just how many different ways there are to approach calendars. Some show how CSS Grid can create the layout efficiently. Some attempt to bring actual data into the mix. Some … Making Calendars With Accessibility and Internationalization in Mind originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.  ( 11 min )

  • 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

    5 Mistakes I Made When Starting My First React Project
    You know what it’s like to pick up a new language or framework. Sometimes there’s great documentation to help you find your way through it. But even the best documentation doesn’t cover absolutely everything. And when you work with something … 5 Mistakes I Made When Starting My First React Project originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.  ( 8 min )
  • Open

    A Pragmatist’s Guide To Lean User Research
    Instead of telling you once again what the best practice is and adding to your imposter syndrome, let’s concentrate on some practical approaches to user research that we might be able to fit into our existing projects without being left disillusioned.  ( 15 min )

  • 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

    Building Complex Forms In Vue
    Did you know that creating a complex form can be progressively enhanced using some Vue features like the v-for and the v-model? In this article, Olufunke shares some basic Vue core features that are super useful when building out the complex form in your day-to-day Vue usage.  ( 18 min )

  • 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

    Creating a Clock with the New CSS sin() and cos() Trigonometry Functions
    CSS trigonometry functions are here! Well, they are if you’re using the latest versions of Firefox and Safari, that is. Having this sort of mathematical power in CSS opens up a whole bunch of possibilities. In this tutorial, I thought … Creating a Clock with the New CSS sin() and cos() Trigonometry Functions originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.  ( 9 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

    How To Create Dynamic Donut Charts With TailwindCSS And React
    In this article, Paul Scanlon shares a super lightweight approach to creating a Donut chart using conic-gradient(). There are no additional libraries to install or maintain, and there’s no heavy JavaScript that needs to be downloaded by the browser in order for them to work.  ( 15 min )
    Why You Should Consider Graphs For Your Next GraphQL Project
    In this article, Adam Cowley examines the Graph behind GraphQL and demonstrates why Neo4j could be the best fit for your next project.  ( 16 min )

  • 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

    Inspiring Web Design And UX Showcases
    Do you sometimes feel that all websites look the same? In this post, we compiled web design showcases that prove differently. They highlight some of the finest web designs, well-crafted experiences, and delightful interactions from across the web. Inspiration is guaranteed.  ( 16 min )
  • Open

    Managing Fonts in WordPress Block Themes
    Fonts are a defining characteristic of the design of any site. That includes WordPress themes, where it’s common for theme developers to integrate a service like Google Fonts into the WordPress Customizer settings for a “classic” PHP-based theme. That hasn’t … Managing Fonts in WordPress Block Themes originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.  ( 9 min )

  • 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

    How AI Technology Will Transform Design
    In this article, Nick and Gleb cover the current state of design, answer common questions designers have about AI tools, and share practical tips on how designers can make the most of using AI tools.  ( 18 min )

  • 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

    Everything You Need to Know About the Gap After the List Marker
    I was reading “Creative List Styling” on Google’s web.dev blog and noticed something odd in one of the code examples in the ::marker section of the article. The built-in list markers are bullets, ordinal numbers, and letters. The ::marker pseudo-element … Everything You Need to Know About the Gap After the List Marker originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.  ( 8 min )
  • Open

    Moving From Vue 1 To Vue 2 To Vue 3: A Case Study Of Migrating A Headless CMS System
    In this article, Elisabeth Wieser-Linhart explores its potential benefits and drawbacks and shares what considerations and steps were involved in the process of migrating the front-end interface of Storyblok’s headless content management system.  ( 21 min )

  • 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

    Daydreaming In March (2023 Wallpapers Edition)
    Let’s get ready for March with some fresh wallpapers! Designed with love by the community for the community, the wallpaper designs in this collection are available in versions with and without a calendar. Enjoy!  ( 16 min )
    Meet Penpot, An Open-Source Design Platform Made For Designers And Developers Alike
    In the ever-evolving design tools landscape, it can be difficult to keep up with the latest and greatest. In this article, we’ll take a closer look at Penpot, the first design and prototyping tool that’s fully open-source and based on open web standards, making it an ideal choice for both designers and developers.  ( 14 min )

  • Open

    Open Source Software Security Handbook – Best Practices for Securing Your Projects
    Christine Peterson coined the term "Open Source software" or OSS in 1998. It refers to software that is freely available for anyone to use, modify, and distribute. The source code of OSS is openly available and anyone can modify it who has the necessary technical skills. This allows for  ( 34 min )
    How to Use the Ternary Operator in JavaScript – JS Conditional Example
    The ternary operator is a helpful feature in JavaScript that allows you to write concise and readable expressions that perform conditional operations on only one line. In this article, you will learn why you may want to use the ternary operator, and you will see an example of how to  ( 5 min )
    How to Save a Base64 String as a PDF File on the Client Side in JavaScript
    Base64 strings represent binary objects in textual format. They are designed to transmit binary data between channels that only support a textual format. Sometimes, you might receive PDF files from various services as a Base64 string, and you may need to convert them to a PDF file on the client  ( 5 min )
    How to Build Your Own E-Commerce Site with Medusa
    In today's digital age, having an online presence is crucial for businesses of all sizes. Whether you're an established retailer or an aspiring entrepreneur, an ecommerce site can provide you with a platform to reach a global audience and sell your products or services around the clock. Building an  ( 8 min )
  • Open

    A Guide To Accessible Form Validation
    Each time we build a field validation from scratch, accessibility doesn’t come out of the box. In this guide, Sandrina breaks down what we need to take into consideration, so that nobody gets stuck on an inaccessible invalid field.  ( 23 min )

  • 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 )
2023-03-26T01:10:04.190Z osmosfeed 1.15.1