scheme-dojo / scheme-dojo.github.io

0 stars 0 forks source link

Implement function to toggle display when button is pressed #18

Closed mre1ght closed 1 month ago

mre1ght commented 1 month ago

Current Situation

The display is toggled using input and labeltags.

Ideal Situation

Implement the display toggle functionality using JavaScript.

Reason

The functionality to toggle display by pressing a button will be frequently used in the future. Let's learn how to use it for study purposes.

Reference

https://www.pyxofy.com/how-to-toggle-display-with-javascript/

rhmtrz commented 1 month ago

@mre1ght

If this method is used, the structure will be changed. It required refactoring. let's do this in the next version of the app.