B4Coder
0%
LessonAbout 6 min

Chapter 4 · Lesson 2 of 5

02. Showing and hiding: true or false

State can be true or false. Flip it with a button, and show or hide part of the page with && or ? :.

Opening the lesson…