Loading workspace…

Counter

Yangshun TayEx-Meta Staff Engineer
Languages

Make a button that keeps count of how many times it has been clicked.

Note: This is a short warm-up question meant to help you familiarize yourself with the coding workspace. Actual UI coding interview questions will be more complicated.

Requirements

Make the text within the button display the number of times the button has been clicked.