How to create a slideshow, a carousel [on hold]

(My question is how can I position this on the right side of a webpage and add height, which lengthens it)

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow