Coder Social home page Coder Social logo

kosperera / vanilla-js-snippets Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 86 KB

Library of commonly used boilerplate code for all things vanilla JS

Home Page: https://kosalanuwan.github.io/journal/

License: MIT License

JavaScript 44.69% Dockerfile 7.76% Shell 47.54%
vanilla-javascript code-snippets boilerplate-code

vanilla-js-snippets's Introduction

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.

Read the journal notes to learn more..

On this repo

  • boilerplate-* are code templates to get started with various patterns and practices.
  • helper-* are nano-libraries written for various needs and wants which I typically either copy & paste as and when needed.
  • examples/try-* are partials mixed and matched in order to demonstrate a bit more complexed implementations.

Getting Started

For minimum requirements, you will need the followings:

Run from Source

With VS Code:

  • Run command: Open with Live Server, or
  • Click Go Live on the status bar

Spin up your favorite browser to visit localhost:5505/examples/

Read the journal notes to learn more..

Feedback

If you were wondering, ask questions and problems on GitHub. It is as easy as creating a new discussion. 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.

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

vanilla-js-snippets's People

Contributors

kosalaperera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cemmanuelonyema

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.