Club Member Card
JavaScript
10 pts
Club Member Card
Yonas is a member of the football club, but he has not paid this month yet. Create two boolean variables:
isMember—truehasPaid—false
Print them with labels, then print the type of isMember using typeof:
Member: true Paid: false boolean
Checklist
- Create
isMemberas a boolean. - Create
hasPaidas a boolean. - Print the type of
isMemberwithtypeof. - Print the three lines.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
