I'm a huge nerd 🤓 of vanilla javascript (JS). This repository serves as a library of helper functions and boilerplate code written with native javascript and browser APIs instead of major frameworks and libraries.
On this repo
boilerplate-*
are code templates to get started with various patterns and practiceshelper-*
are micro-libraries written for various needs and wants which I typically either copy & paste as and when neededexample-*
are partials mixed and matched in order to demonstrate a bit more complexed implementations
Read these blikies on javascript to learn a bit more about this repository's work in use.
If you were wondering, ask questions and problems on GitHub. It is as easy as creating a new issue. If not, here are the ways you can provide feedback.
- [Submit bugs and request code snippets][new-issue]
- Upvote popular code snippets
- Review source code and documentation
Nowadays, vanilla javascript already cover most of it anyways. And, polyfills are there whenever some random feature doesn't support on the browser.
- You Don't Need Lodash and Underscore shows what vanilla javascript methods and techniques to use instead
- Financial Times polyfill repository is good for polyfill code snippets
A few crash courses
- Vanilla javascript crash courses has 10+ videos on JS and DOM manipulation
- Documenting your javascript crash course demos on JSCode
- Scss crash course
A couple of more
- Node JS crash course
- NPM crash course
- Yarn package manager crash course
- Gulp task runner crash course
If you were wondering, I'd be happy to have more code snippets here. Have a suggestion or a bug fix? Just open a pull request or an issue. Include the code snippet with a clear file name and the simplest HTML possible.
Licensed under MIT