Posts by DMiaguy • 33 points
2 posts
- 
		0 votes1 answer72 viewsQ: How to show a div and hide others with Javascript?Hello, I have the following code that is working but I want to improve it. Any suggestions? click event add [1, 2, 3].forEach(num => {… javascriptasked DMiaguy 33
- 
		1 votes3 answers92 viewsQ: Optimize adding events to various Javascript elementsI have the following question: How to optimize the script below? In total there are 14 clicks and each changes a certain ID. I don’t want to use jQuery. Script that adds the listeners event:… javascriptasked DMiaguy 33