We will first make an app where we will make buttons appear using vanilla JS.
- Vanilla Dom manipulation
- Frontend Questions
I want you to make the html look like this:
When you click the button it should look like this (add two more buttons):
If you continue to click any button the behavior should be the same as before (adding two more tribble buttons):
*Additionally, For every 5th click (on any button) there will be a 'Super Tribble' button that will appear in the group along with a 'normal tribble button'.
The buttons should be contained in the center of the page, and should not grow to be a width more than 400px.
**If there is time, I want ALL super tribble button(s) to have a shake animation for 2 seconds when any super tribble buttons are created.