Quiz: Create a Smart Button

Quiz the basics: log it, alert it, quote it correctly, and remember the semicolon.

We'll cover the following...

In the last lesson, you combined variables and if/else logic inside a button click to create smart, responsive behavior—like changing the message based on what the user had already done.

Before we move ahead, let’s test your understanding of the previous lesson. Try answering these quick questions— no pressure, just practice!