Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

100 Free Vanilla JavaScript Projects

Real projects built with plain JavaScript and the newest browser features, each with a live demo and a single HTML file. No framework, no build step, free for commercial use.

Live gallery: https://mmrahmanbappi.github.io/100-vanilla-javascript-projects/

Preview of the first project

Projects so far

# Project What it does Live Preview
001 Local AI Chatbot A private chat assistant that runs on your graphics card Demo Local AI Chatbot preview
002 Image Classifier Drop a photo and see what the AI thinks it is Demo Image Classifier preview
003 Speech to Text Notes A voice notes app that writes down what you say Demo Speech to Text Notes preview
004 AI Text Summarizer Paste a long article and get the key points Demo AI Text Summarizer preview
005 Smart Writing Assistant A writing helper that drafts, rewrites and checks your text Demo Smart Writing Assistant preview
006 Live Translator A translator that works as you type, in 15 languages Demo Live Translator preview
007 Background Remover Cut the background out of any photo in seconds Demo Background Remover preview
008 Semantic Search for Notes Search your notes by meaning, not exact words Demo Semantic Search for Notes preview
009 Voice Command Controller Control a smart home dashboard with your voice Demo Voice Command Controller preview
010 QR and Barcode Scanner Scan QR codes and barcodes with your camera Demo QR and Barcode Scanner preview
011 UI Component Library Six reusable Web Components you can drop into any page Demo UI Component Library preview
012 View Transitions Gallery A photo gallery where images grow smoothly into the detail page Demo View Transitions Gallery preview
013 Client-side Router A tiny single page app router with real URLs Demo Client-side Router preview
014 Popovers Without Libraries Tooltips, menus, toasts and a side sheet with no library Demo Popovers Without Libraries preview
015 Signals State Library A 40 line reactive state library running a shopping cart Demo Signals State Library preview
016 Infinite Scroll Feed A photo feed that loads more posts as you scroll Demo Infinite Scroll Feed preview
017 Responsive Dashboard Widgets Dashboard widgets that change layout when you resize them Demo Responsive Dashboard Widgets preview
018 Kanban Board A Trello style task board with drag and drop Demo Kanban Board preview
019 Color Picker and Palette Tool A color picker that pulls palettes from photos and checks contrast Demo Color Picker and Palette Tool preview
020 Accessible Modal and Form Kit An accessible sign up form inside a native dialog Demo Accessible Modal and Form Kit preview
021 Offline-first Todo PWA A todo app you can install that works with no internet Demo Offline-first Todo PWA preview
022 Expense Tracker PWA A spending tracker with charts that syncs when back online Demo Expense Tracker PWA preview
023 Reminder Notifications A reminder app with Done and Snooze buttons in the notification Demo Reminder Notifications preview
024 Local Markdown Editor A Markdown editor that saves real files on your disk Demo Local Markdown Editor preview
025 Share Target Link Saver A reading list app that appears in your phone's share menu Demo Share Target Link Saver preview
026 Multi-tab Sync Open it in several tabs and watch them stay in sync Demo Multi-tab Sync preview
027 Instant-loading Blog A blog where the next page is ready before you click Demo Instant-loading Blog preview
028 Passkey Login Demo Sign up and sign in with your fingerprint instead of a password Demo Passkey Login Demo preview
029 Client-side Password Manager An encrypted password vault that only your master password opens Demo Client-side Password Manager preview
030 Secure File Encryptor Lock any file with a password, right in your browser Demo Secure File Encryptor preview
031 TOTP 2FA Authenticator An authenticator app that makes six digit 2FA codes Demo TOTP 2FA Authenticator preview
032 Video Call App A peer to peer video call between two browsers Demo Video Call App preview
033 Screen Recorder Record your screen with your voice and your face in the corner Demo Screen Recorder preview
034 Browser Video Editor Trim a clip, add a filter and a title, and export an MP4 Demo Browser Video Editor preview
035 Collaborative Whiteboard A shared drawing board with live cursors Demo Collaborative Whiteboard preview
036 Music Visualizer Turn music into moving bars, waves and a glowing ring Demo Music Visualizer preview
037 WebGPU Particle Playground Up to a million glowing particles that follow your mouse Demo WebGPU Particle Playground preview
038 Image Compressor Shrink photos in bulk without uploading them Demo Image Compressor preview
039 Live Chat App A real time chat with rooms and typing indicators Demo Live Chat App preview
040 Online Code Playground A CodePen style editor with live preview and share links Demo Online Code Playground preview
041 Bluetooth Device Dashboard Read live heart rate and battery from a Bluetooth device Demo Bluetooth Device Dashboard preview
042 Arduino Serial Monitor Read and plot data from an Arduino or ESP32 over USB Demo Arduino Serial Monitor preview
043 WebAssembly Image Filters Photo filters in hand written WebAssembly, raced against JavaScript Demo WebAssembly Image Filters preview
044 Performance Monitor Widget A live panel for Core Web Vitals on any page Demo Performance Monitor Widget preview
045 Browser File Compressor Gzip any file or unpack a .gz right in the browser Demo Browser File Compressor preview
046 Scheduler API Demo See why long tasks freeze a page and how to fix it Demo Scheduler API Demo preview
047 JSON Formatter and Validator Format, check and browse JSON, even large files Demo JSON Formatter and Validator preview
048 Regex Tester Test regular expressions with live highlights and groups Demo Regex Tester preview
049 Mini Postman API Client Send API requests and read clean responses Demo Mini Postman API Client preview
050 Temporal Date and Time Toolkit Time zones, date math and Unix time with the new Temporal API Demo Temporal Date and Time Toolkit preview
051 Mega Menu Navigation A big dropdown menu with columns, keyboard support and a mobile drawer Demo Mega Menu Navigation preview
052 Sticky Header and Scroll Progress A header that shrinks on scroll with a reading progress bar and back to top button Demo Sticky Header and Scroll Progress preview
053 Touch Image Slider A photo slider with swipe, autoplay, dots and keyboard control Demo Touch Image Slider preview
054 Lightbox Gallery with Zoom A photo grid that opens a full screen viewer with zoom and pan Demo Lightbox Gallery with Zoom preview
055 Tabs and Accordion Kit Accessible tabs and accordions with keyboard support and smooth height animation Demo Tabs and Accordion Kit preview
056 Pricing Table with Toggle A pricing table with a monthly and yearly switch, currencies and a seat slider Demo Pricing Table with Toggle preview
057 Testimonial Carousel A customer reviews slider that shows one, two or three cards depending on space Demo Testimonial Carousel preview
058 Cookie Consent Banner A GDPR style cookie banner with categories, saved choices and blocked scripts Demo Cookie Consent Banner preview
059 Scrollspy Table of Contents An automatic table of contents that highlights the section you are reading Demo Scrollspy Table of Contents preview
060 Theme Switcher A light, dark and system theme switch that remembers the choice with no flash Demo Theme Switcher preview
061 Multi-step Form Wizard A sign up form split into steps with checks, a progress bar and a saved draft Demo Multi-step Form Wizard preview
062 File Upload Dropzone A drag and drop uploader with previews, size limits and progress bars Demo File Upload Dropzone preview
063 Date Range Picker A two month calendar for picking check in and check out dates Demo Date Range Picker preview
064 Autocomplete Search A search box that suggests results as you type, with keyboard control Demo Autocomplete Search preview
065 OTP Code Input A six box verification code input with paste, auto advance and a resend timer Demo OTP Code Input preview
066 Password Strength Meter A password box that rates strength, estimates crack time and suggests a strong password Demo Password Strength Meter preview
067 Phone Input with Country Codes A phone number field with a searchable country list and automatic formatting Demo Phone Input with Country Codes preview
068 Star Rating and Review Form A review form with half star ratings, photos and a live rating summary Demo Star Rating and Review Form preview
069 Signature Pad A canvas where people sign with a finger, pen or mouse and save a PNG Demo Signature Pad preview
070 Mini Rich Text Editor A small editor with bold, headings, lists and links that exports clean HTML and Markdown Demo Mini Rich Text Editor preview
071 Shopping Cart with Coupons A cart drawer with quantities, coupon codes, free shipping progress and saved items Demo Shopping Cart with Coupons preview
072 Product Variant Picker A product page where colour and size change the picture, price and stock Demo Product Variant Picker preview
073 Product Filter and Sort A product listing with category, price, colour and rating filters saved in the URL Demo Product Filter and Sort preview
074 Checkout Form A one page checkout with address, delivery options, card checks and an order summary Demo Checkout Form preview
075 Multi-currency Prices Prices that switch to the visitor's currency with local formatting and neat rounding Demo Multi-currency Prices preview
076 Invoice Generator An editable invoice that does the maths and prints to a clean PDF Demo Invoice Generator preview
077 Booking Slot Calendar An appointment picker with services, available time slots and a calendar file Demo Booking Slot Calendar preview
078 Store Locator A list of shops sorted by distance from you, with open now status and a simple map Demo Store Locator preview
079 Order Tracking Timeline An order status page with a step timeline, delivery estimate and live updates Demo Order Tracking Timeline preview
080 Wishlist and Compare Heart products to a saved wishlist and compare up to three side by side Demo Wishlist and Compare preview
081 Data Table A sortable, searchable table with filters, pages, row selection and CSV export Demo Data Table preview
082 SVG Charts Kit Line, bar and donut charts drawn with plain SVG, with tooltips and a data table Demo SVG Charts Kit preview
083 Markdown Blog Engine A tiny blog that reads Markdown posts, with tags, search and reading time Demo Markdown Blog Engine preview
084 Blur-up Lazy Images A photo grid that shows tiny blurred placeholders and loads full images when they scroll into view Demo Blur-up Lazy Images preview
085 Countdown Timer Kit An event countdown, a sale timer, a kitchen timer with sound and a stopwatch with laps Demo Countdown Timer Kit preview
086 Toast Notification Center Toast messages with types, positions, undo actions and a notification history Demo Toast Notification Center preview
087 Threaded Comments A comment section with nested replies, likes, editing, sorting and relative times Demo Threaded Comments preview
088 Language Switcher A page that switches between five languages, including right to left Arabic Demo Language Switcher preview
089 Searchable FAQ An FAQ with instant search, categories, deep links, votes and automatic schema markup Demo Searchable FAQ preview
090 Before and After Slider A draggable slider that compares two images, like before and after a photo edit Demo Before and After Slider preview
091 Meta Tag Generator A form that writes your title, description and social tags with live search and share previews Demo Meta Tag Generator preview
092 OG Image Maker A canvas tool that makes 1200 by 630 share images with your title and brand Demo OG Image Maker preview
093 Schema JSON-LD Builder A form that writes structured data for businesses, products, articles, events and FAQs Demo Schema JSON-LD Builder preview
094 Favicon Generator A tool that makes every favicon size and a web manifest from a letter or an image Demo Favicon Generator preview
095 Responsive Image Maker A tool that resizes one photo into several sizes and writes the srcset code Demo Responsive Image Maker preview
096 Sitemap Generator A tool that turns a list of pages into sitemap.xml and robots.txt Demo Sitemap Generator preview
097 Accessibility Checker A checker that finds missing alt text, low contrast, heading gaps and unlabeled fields Demo Accessibility Checker preview
098 Spam-proof Contact Form A contact form that blocks bots with a honeypot, a timing check and simple content rules Demo Spam-proof Contact Form preview
099 Privacy Analytics Lite A cookie free visit counter with a small dashboard of pages, sources and devices Demo Privacy Analytics Lite preview
100 Page SEO Audit An on-page SEO checker that scores a page and lists what to fix Demo Page SEO Audit preview

Categories

    1. AI in the Browser (live)
    1. Modern UI (live)
    1. PWA and Offline (live)
    1. Security and Auth (live)
    1. Media and Real Time (live)
    1. Hardware and Performance (live)
    1. Developer Tools (live)
    1. Website Sections (live)
    1. Forms and Input (live)
    1. E-commerce and Business (live)
    1. Content and Data (live)
    1. SEO and Site Tools (live)

How to use a project

  1. Open the project folder and download demo.html.
  2. Serve it with npx serve . or python -m http.server, since camera, microphone and AI features do not run from file://.
  3. Change the text and colors, then upload it anywhere: GitHub Pages, Netlify, Vercel or your own server.

License

MIT. Use these projects in personal and commercial work. Project 007 uses the RMBG 1.4 model, which is for non-commercial use only. Projects 035 and 039 include a small server.js for syncing across devices. A star on the repo helps more people find them.

Releases

Packages

Used by

Contributors

Languages