# love meter quiz
Learn how to make a love meter that you can try with someone.
## Name
## Directions
Use this activity document to guide your work in the [love meter tutorial](/lessons/love-meter/tutorial).
Answer the questions below while completing the tutorial. Pay attention to the dialogues!
## 1. Describe what "input -> on pin pressed (P0)" does?
## 2. Create a condition for on pin pressed ("P1").
## 3. Describe what this line of code does?
```
let x = Math.random(10)
```
## 4. Describe what adding 1 to variable x does?
```
let x_ = Math.random(10)
x = x + 1
```
## 5. Describe why you must hold ground (GND) before pressing (P0) to run a program using "input -> on pin pressed (P0)" on the BBC micro:bit