DEV Community

bing
bing

Posted on

I Built a TikTok-Like Site in Just 10 Days with Vanilla JS and CSS!


I recently took on a fun little challenge: building a TikTok-like website all by myself in just 10 days.
And guess what? I pulled it off using only vanilla JavaScript and CSS—no frameworks, no libraries, just pure, raw code!
The site is super simple but does the core stuff: you can scroll through videos with touch (for mobile), mouse scrolling, or even arrow keys for that keyboard warrior vibe.
It’s not a full-on TikTok clone (yet!), but it’s got that smooth video-scrolling feel we all know and love.
---How I Did It---
HTML/CSS:
Kept the structure lightweight with a clean, responsive layout.
CSS animations handle the smooth transitions between videos.
JavaScript: Wrote custom logic for detecting scroll events, touch gestures, and key presses to switch videos seamlessly.
Give it a try https://www.tapfeel.com

Top comments (0)