// the find
john-smilga/javascript-basic-projects
A collection of 29 vanilla JavaScript mini-projects structured as a companion to a Udemy course. Each project has a setup folder (starter code with blanks) and a final folder (completed solution), covering UI patterns like modals, sliders, tabs, and simple API calls. This is teaching material, not a library.
The setup/final split is genuinely useful for self-study — you can work through the setup, then diff against the final without hunting for answers. Projects scale in complexity from a counter to multi-page apps with fetch calls and module splitting (see the cocktails project's src/ breakdown). No build tooling required — every project is plain HTML/CSS/JS you can open in a browser directly. The later OOP projects (16-counter, 17-gallery) show the same concept refactored from procedural to class-based, which is a decent teaching device.
Last commit was August 2024 and the course content it ties to is behind a paywall, so some projects are explicitly marked 'Course Exclusive' with no explanation in the repo — confusing if you find this on GitHub without buying the course. No tests anywhere, so students learn to write untestable DOM-manipulation code as their baseline. The JS is ES6 but doesn't use modules (no import/export in most projects), so students don't pick up the pattern they'd actually use in any real project. The repo language is listed as CSS, not JavaScript, which tells you something about how GitHub reads it — there's no package.json, no entry point, just a pile of folders.