I'm learning front-end design by finding features I like on certain websites, and trying to re-create them. I'm trying to implement functionality similar to the following:
If I (1) got to the website,
https://www.studiotime.io, (2) open chrome developer tool, and (3) toggle the device toolbar and shrink device width to <750 px, then there will be a magnifying glass (button) in the top right hand corner. If you click the button, it opens a modal <div>. I can see the document object being changed in elements panel of the developer tool, however I can't see the specific javascript code that is responsible for the update.
Is there a way I can view the javascript code so I can learn how this is done?
Thanks for the help!