With only CSS and the :target pseudo selector you can display the active element and hide the others.
NextThis is the second slide. Cool No JS was needed. Just copy the source and modify it to create your presentation
NextWe only need to set the id's of each slide element and use hyperlinks with href="#mySlideId" for the next or previous buttons
In CSS just use :not(:target) or :target to hide/show the elements