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.
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 bliki posts to learn a bit more about this repository's work in use.
For minimum requirements, you will need followings:
- An editor, like VS Code
- A development local server, like Live Server for VS Code, and
- A web browser, like Brave as for javascript playground
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
- 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
- All things javascript channel is a great source to get started
- Vanilla javascript crash courses has 10+ videos on JS and DOM manipulation
- Documenting your javascript crash course demos on JSCode
- Scss crash course
- 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