there is such a requirement, as shown in the figure are four menu buttons. The four menu icons here are not vector icons similar to Font Awesome, but pictures in png format, namely f.png, u.png, s.png, and p.png.
demand: clicking on the corresponding picture will show the transparent picture of its corresponding f_a.png. When clicking on other pictures (the clicked picture link is transformed into some _ a.png, and so on), the original picture will be restored to f.png. So how do you do it using js here? (ignore vector icons)