Onclick changing content on <div>
问题 Is there a way I can make the on the right appear one at a time? And show by sliding? Here's the code I'm using to call the <button onClick="div1()">Try it</button> <button onClick="div2()">Try it</button> <button onClick="div3()">Try it</button> Here is the script I am using <script> function div1() { var x = document.getElementById('myDIV'); if (x.style.display === 'none') { x.style.display = 'block'; } else { x.style.display = 'none'; } } function div2() { var x = document.getElementById(