Skip to content

kosperera/vanilla-js-snippets

Repository files navigation

Vanilla JavaScript { snippets }

JavaScript

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 practices
  • helper-* are micro-libraries written for various needs and wants which I typically either copy & paste as and when needed
  • example-* 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.

Feedback

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.

Learning Resources

Nowadays, vanilla javascript already cover most of it anyways. And, polyfills are there whenever some random feature doesn't support on the browser.

A few crash courses

A couple of more

Contributing

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.

License

Licensed under MIT

About

Library of commonly used boilerplate code for all things vanilla JS

Topics

Resources

License

Stars

Watchers

Forks