# How to write a Lab

{% embed url="<https://commudle.com/labs>" %}

### Choose a Title

Start with choosing a title for your Lab.

![](/files/-MW9jGtu6VHCEaCTTO5p)

### Watch the video guide

Start with watching the guide video that gives you a go through of the complete process for creating a lab.

![](/files/-MWA2WG8uhxVSXsk-co4)

### Add Header Image

Over the top select, a picture from your device to add as a header image to the Lab

![Add header image to a Lab](/files/-MWA46jp93YDnZ4yTF4Y)

### Edit Title

You can edit the title of your Lab anytime if you think you made a mistake earlier.

![Edit Lab title](/files/-MWA4MxlAZPx04xVUWMO)

#### Add Description

Start the lab content with a small yet meaningful description.

![Add description to a Lab.](/files/-MWA4a1g7EvNSVfRWXEF)

Use this bar to add all the interactive elements to your labs to make reading and learning fun with Images, Videos, GIFs, and what not a lot of emojis. Align your text and add or remove code snippets with multiple heading and paragraph options.

#### Editing Options

![Text editing options](/files/-MWA635BRHi1iHgAne4M)

### Adding a New Step

Add a new step to your Lab using the "Add new section" tab.

![Add a new step](/files/-MWA7_UYMcDWIK4c64bK)

{% hint style="info" %}
Having smaller steps makes it easier for readers to understand and follow.
{% endhint %}

### Deleting a Step&#x20;

Delete a step with the cross button on the right side

![Delete a step](/files/-MWA8JmnnNpKkstg_jfT)

{% hint style="danger" %}
A step once deleted cannot be brought back.
{% endhint %}

### Add Relevant Tags

Add relevant tags to your lab.

![Add Tags to your Lab](/files/-MWA976LmboXssGLPBR9)

{% hint style="info" %}
Adding relevant tags gives visibility to your Lab.
{% endhint %}

### Submit for Review

Save your lab as a Draft or Submit it for review once done.

![](/files/-MWA9o0MrgnLNWVCtM1F)

&#x20;

#### 💡 Tips for writing a good Lab

* Choose an easily understandable Title. \
  Example: \
  ❌Bad: Best coding practices\
  ✅Good: 10 coding practices in JavaScript to save memory
* &#x20;Share an image or an animation of the end result of what the Lab will teach.
* Create as many steps as needed. Add images/screenshots, use code snippets and any reference links if needed.&#x20;
* In each step, wherever needed, share examples of good and bad practices
* In the conclusion, mention more use cases of the technology you are teaching, give due credits if needed and also share some links to learn more from.
* All done, be as simple, precise and crisp in your language as possible.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.commudle.com/labs/create-a-lab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
