The slide up method allows us to slide an element up rather than down in order to achieve this effect.
We can make a few minor adjustments to the script we created in the last lesson just change the slide
down action to slide up
and also remove the display none prop. In the panel style rule
so this way The panel will be visible when the page initially loads now save your file and preview this
in your web browser to see the result.
So now we can see that on page load the panel is visible and when we click the View panel div it slides
up rather than down.