Articles
Articles are more in-depth explanations about concepts covered in Codecademy courses. Here you'll learn more about workflows that developers use every day, and take your coding skills to the next level.Popular topics
Trending
- Visual Studio Code is one of the most popular and powerful text editors used by software engineers today.
Getting Started with Visual Studio Code and Building HTML Websites
- Developer tools,
- HTML & CSS,
- Web development
- Learn about Jupyter Notebooks and how you can use them to run your code.
How To Use Jupyter Notebooks
- Data science,
- Developer tools,
- Python,
- Web development
- Learn how to use ChatGPT to plan an exciting Dungeons & Dragons session, from character creation to adventure building and game balancing.
Plan a Dungeons and Dragons Session with ChatGPT
- AI
Browse all articles
Most recent
- Learn how to ignore files and folders in Git using `.gitignore` file. Explore the advantages, common patterns, and best practices for efficient Git ignore usage.
How to Use .gitignore to Ignore Files and Folders in Git
- Developer tools
- Learn how to concatenate lists in Python using `+`, `*`, `for` loop, list comprehension, `extend()`, and `itertools.chain()`. Compare the methods for their efficiency.
How to concatenate List in Python
- Python
- Learn about the first normal form (1NF) in DBMS, its four key rules, and a step-by-step process for converting a table into 1st normal form for better database design.
First Normal Form (1NF) in DBMS
- Computer science
- Learn how to build a PyTorch neural network step by step. This tutorial walks you through a complete PyTorch neural network example, covering model creation, training, and evaluation.
Building a Neural Network using PyTorch
- AI,
- Python
- Learn how to use PyTorch Lightning for deep learning. This guide covers PyTorch Lightning mode, model training, and optimization techniques with code examples.
Guide To PyTorch Lightning
- Python
- Learn how to use the SQL `DELETE` statement to safely remove records from a database. Explore its syntax, use cases, best practices, and data integrity.
A Guide to the SQL DELETE Statement
- SQL
- Learn how to handle Python exceptions using try-except blocks, avoid crashes, and manage errors efficiently. Explore Python error-handling techniques, including built-in exceptions, custom exceptions, and best practices.
Exception & Error Handling in Python
- Python
- Learn what Python inheritance is and how it enables code reuse. Explore different types of inheritance, such as single, multiple, and hybrid. Understand the `super()` function and real-world applications of inheritance in Python.
What is Python Inheritance?
- Python
- Learn how to build a neural network model in TensorFlow by creating a digits classification model using the MNIST dataset.
Building a Neural Network Model Using TensorFlow
- AI
- Discover the neural network architecture and its core components to understand how they work.
Understanding Neural Networks and Their Components
- AI
- Discover ways to master the Certified Cloud Security Professional (CCSP) certification. Learn about the prerequisites of CCSP certification, the exam structure, study tips, and benefits to boost a career in cloud security.
How to get certified cloud security professional (CCSP) certification
- Cloud computing
- Learn how to build LangChain agents in Python. Understand how LangChain agents enhance LLM applications by dynamically integrating external tools, APIs, and real-time data access.
Building LangChain Agents for LLM Applications in Python
- AI,
- Python
- Learn greedy algorithm, its key traits, working, and real-world uses like Coin Change, Fractional Knapsack, and Dijkstra’s Algorithm.
Greedy Algorithm Explained
- Computer science
- Learn how to use APIs in Python. Explore HTTP methods, design API endpoints, and return JSON responses using Python and FastAPI.
How to Use APIs in Python
- Python
- Learn how to secure applications using the Secure Development Lifecycle (SDLC). Explore key phases, cloud security strategies, and DevSecOps best practices for building secure software.
All about the Secure Software Development Lifecycle (SSDLC)
- Computer science
- Learn how to sort lists in Python using `.sort()` and `sorted()`. Explore custom sorting with keys, descending order sorting, and apply real-world sorting techniques efficiently.
How to sort a list in Python
- Python
- Learn how to fine-tune large language models (LLMs) in Python using various methods and apply them to an open-source LLM for sentiment analysis.
Fine-Tuning Large Language Models (LLMs) in Python
- AI,
- Python
- Learn how to format dates in JavaScript using built-in methods and custom techniques. Explore JavaScript date format options for better control over date representation.
How to Format a Date in JavaScript
- JavaScript
- Learn how to cancel merge in Git using git merge --abort and git reset --merge commands. Explore when and why to abort a merge, key differences between both the commands and best practices for aborting a merge.
How to Abort a Merge in Git
- Developer tools
- Learn how to update table attributes in SQL using the UPDATE statement.
A Beginner's Guide to the SQL UPDATE Statement
- SQL
- Learn the key differences between Z-Test and T-Test in hypothesis testing. Find out when to use each test based on sample size, variance, and assumptions.
Differences Between Z-Test and T-Test
- Data science
- Learn the basics and implementation of chain of thought (CoT) prompting using LangChain.
Chain of Thought (CoT) Prompting
- AI,
- Data science
- Learn the similarities and differences between left join and left outer join in SQL with examples.
Difference Between Left Join and Left Outer Join in SQL
- SQL
- Learn how to handle command-line arguments in Python using `sys.argv`, `getopt`, and `argparse`. Explore their syntax, use cases, and best practices.
Command Line Arguments in Python
- Python
- Learn how to run Llama 3 locally using GPT4ALL and Ollama. Follow this step-by-step guide to set up Llama 3 for offline access, privacy, and customization.
How to Run Llama 3 Locally
- AI,
- Open source
- Learn how the ternary operator works in Python compared to if-else statements, its advantages and disadvantages, and some best practices for using it.
Guide to Using Ternary Operator in Python
- Python
- Discover the key differences between SQL's WHERE and HAVING clauses. Learn their syntax and use cases and how to apply them effectively in data filtering.
Difference Between WHERE and HAVING Clause in SQL
- SQL
- Learn how to reverse a list in Python using `.reverse()`, `reversed()`, slicing, the two-pointer method, loops, and recursion with examples.
How to reverse a list in Python
- Python
- Explore Apache Kafka in this comprehensive tutorial. Learn how to get started with Apache Kafka, its key features, its advantages, and its core components.
Apache Kafka for Beginners
- Developer tools
- Learn to use the `abs()` function in Python to calculate absolute values with integers, floating-point numbers, and complex numbers. Explore its syntax, examples, and uses.
Python Absolute Value Tutorial
- Python
- Learn multiple methods for reversing a string in C++, from basic manual approaches (like loops, recursion, stacks) to using STL (Standard Template Library) functions, and compare their performance.
Different ways of reversing a string in C++
- C++
- Learn how to convert string to integer in C++ using different methods like `std::stoi`, `std::istringstream`, `std::atoi`, `std::strtol`, `std::sscanf `, and `for` loop.
How to Convert a String to an Integer in C++
- C++
- Learn how to set up and use Deepsake R1 locally using Ollama.
How to Run Deepseek R1 Locally
- AI
- Learn how to handle conditional logic using Python’s match case statement.
Guide to Python’s Switch Case Statement
- Python
- Learn Kubernetes, its key features, architecture, and why it's essential for scalability and automation.
What is Kubernetes
- Cloud computing
- Learn how to sort lists of lists in Python. Explore simple to advanced methods, including, `sorted()`, `map()`, and multi-criteria sorting for complex data.
How to Sort Lists of Lists in Python with Examples
- Python
- Learn how to implement the binary search algorithm in C++ with step-by-step examples using both iterative and recursive approaches.
Binary Search Algorithm in C++
- C++
- Learn how to sort Python dictionaries by values or keys. In this tutorial, we'll cover built-in functions like `sorted()` and `dict.items()` to help you sort dictionaries in ascending or descending order and handle edge cases using `OrderedDict`.
How to Sort a Dictionary by Key or Value in Python
- Python
- Learn how to write powerful, concise code using dictionary comprehension in Python. In this tutorial, you will learn what Python dictionary comprehension is, how it works, and why it is a valuable tool.
What Is Dictionary Comprehension in Python?
- Python
- Docker networking is the backbone of container-based applications. Learn how to choose and configure different Docker network types—Bridge, Host, Overlay, IPvLAN, and Macvlan—to optimize performance, security, and scalability. From single-host environments to multi-host setups in Docker Swarm, we’ll cover best practices and troubleshooting tips so you can confidently set up and manage your own container networks.
Docker Networking
- Cloud computing
- Learn the differences between PyTorch and TensorFlow using examples and use cases.
PyTorch vs TensorFlow: Choosing the Best Framework for Deep Learning
- Python
- Learn how PyTorch's DataLoader optimizes deep learning by managing data batching and transformations. Explore key features like custom datasets, parallel processing, and efficient loading techniques.
How to use PyTorch DataLoader: Custom Datasets, Transformations, and Efficient Techniques
- Python
- Learn how to calculate measures of central tendency like mean, median, and weighted mean, and measures of spread like range, variance, and standard deviation using the NumPy module in Python.
Hands-on Statistics with NumPy in Python
- Python
- Learn how to use the `for` loop in C++ to iterate over sequences or ranges, explore its syntax and flow, and discover everyday use cases with practical examples highlighting its versatility and efficiency.
What is a for Loop in C++?
- C++
- Learn how to delete a Git branch both locally and remotely. This tutorial covers git delete branch commands and common errors, which will help you keep your repositories clean and organized.
How to Delete a Git Branch Locally and Remotely
- Developer tools,
- Open source
- Learn how to switch branches in Git using the git switch command. This beginner friendly guide covers how to change branches, switch to remote branches, and use git switch effectively.
How to Switch Branches in Git Using Git Switch
- Developer tools,
- Open source
- Learn how to split NumPy arrays using functions like `np.split()`, `np.array_split()`, `np.hsplit()`, `np.vsplit()`, and `np.dsplit()`. A beginner-friendly guide with practical examples.
Splitting Arrays in NumPy
- Python
- Learn PyTorch with custom datasets, data transformations, augmentation techniques, efficient loading, and AI model building for seamless implementation.
Getting Started with PyTorch: A Beginner’s Guide to Deep Learning
- Python
48 of 546 articles