This builds on w3school's crash course. Use what you need.
Tne w3schools example uses online JavaScript in the head to hide elements.
<script src="https://www.w3schools.com/lib/w3.js"></script>
<p> <button onclick="w3.hide('#London')">Hide London</button> <button onclick="w3.show('#London')">Show London</button> </p>
You can change the color in the button specification, e.g.
<buttonclass="w3-amber"
onclick="w3.hide('#London')">Hide London</button> <buttonclass="w3-amber"
onclick="w3.show('#London')">Show London</button>
Light-green for div