Presentations built with HTML, CSS, and JavaScript, hosted on GitHub Pages.
Live site: https://haroon966.github.io/SlideWithCursor/
- Planets — A quick tour of the solar system
- UI & UX design — Principles and practices for better products
- React & Django intro — Intro to React and Django
When your changes are on the main branch, your presentation links will appear on the home page. You can click a link to open that presentation, or share the link with others so they can view it too.
- Create a folder for your presentation, e.g.
my-topic/. - Add
index.htmlinside that folder. Copy the structure from an existing presentation (e.g. planets/index.html):- Each slide is a
<section class="slide">(give the first oneclass="slide active"). - Include the same Previous / Next buttons and the script at the bottom so arrow keys and Space work.
- Add a “Back to presentations” link with
href="../".
- Each slide is a
- Link from the home page: open index.html and add a new list item, e.g.
<li><a href="my-topic/">My topic</a></li>.
Use relative paths only (e.g. my-topic/, ../) so everything works on GitHub Pages.
-
Clone the repo (if you haven’t already):
git clone https://github.com/Haroon966/SlideWithCursor.git cd SlideWithCursor -
After adding or editing presentations, commit and push:
git add . git commit -m "Add my presentation" git push origin main
-
If you use a fork or your own repo, set your remote and push there:
git remote set-url origin https://github.com/YOUR_USERNAME/SlideWithCursor.git git push -u origin main