Create Responsive Modal Boxes | Challenge

# Introduction In this challenge, we will implement a show or hide operation for a modal box component, which is placed as a child element under the parent element. The challenge involves dealing with event bubbling, where triggering a click event on the modal box can inadvertently trigger a click event on the parent element, which can lead to problems with showing or hiding the modal box.

|
60 : 00

Click the virtual machine below to start practicing