There is a button and two pictures. It is necessary that when you click on the button, the first picture (img1) appears for 5 seconds and then disappears, and the second (img2) just appears, without disappearing.
<button id="btn"></button> <p class="img1"><img src="img1.jpg" align="center"></p> <p class="img2"><img src="img2.jpg" align="center"></p>