Display attribute setting, Idea by Marco Peralta

Specific feature: CSS 'display: none' with animation on hiding the element using JavaScript 'setTimeout()'.

Modifications: Pure Vanilla JavaScript, Optimization of Script and CSS.

Display attribute setting, Idea by LOUIS LAZARIS

Specific feature: CSS 'display: none' with animation on hiding the element using JavaScript EventListener.

 

Modifications: Optimization of Script, removing SetTimeout() function for this button and CSS adaption.

The End