> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codecrafters.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Code examples

> Learn more about accessing code examples with a CodeCrafters membership

> [!TIP]
>
> [Upgrade here](https://app.codecrafters.io/pay) to get access to code examples for all stages.

A CodeCrafters membership grants you access to code examples. This means that you can view code from other users when working on CodeCrafters challenges.

## What are code examples?

Code examples are snippets of code from other users who've passed a stage. Here's what they look like:

![](https://mintcdn.com/codecrafters/qGKwe-_AIUAS3RUS/img/membership/code-examples.png?fit=max\&auto=format\&n=qGKwe-_AIUAS3RUS\&q=85\&s=5f247f49b4fd1bee9c54946069667a2f)

## What code examples can I access for free without a CodeCrafters membership?

Without a CodeCrafters membership, you can view:

* All code examples for early stages
* Upto 2 code examples for other stages

A CodeCrafters membership grants you access to all recent code examples for a stage, in any language.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.