> For the complete documentation index, see [llms.txt](https://docs.kidscode.co.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kidscode.co.za/microbit-beginners/lesson-3.md).

# Lesson 3

### What you will learn in this lesson?

By the end of this lesson you will learn the following:

* You will understand how buttons work on different devices and the micro:bit
* You will learn how to code your micro:bit to run different programs when you press the different buttons on your micro:bit
