Goal Learn How modules work in JS, DOM manipulation by adding listeners to your elements.
-
Do all your work on your folder, PR that manipulates the main index will be rejected.
-
Only expose the main div of your page in foldername/index.ts
-
Create 2 Buttons
-
Button 1(Counter) - Should be a reactive element when clicked it would output the value of the 'clicked 69 times'
-
Button 2(Toggle Vite) -, should display the vite logo from the public directory and also hides it if its displayed
-
Listen to Events
-
Create a form the has password input and a submit button
-
Another button outside the form should trigger the password type