Simple Post

A lightweight JS plugin for tags without JQuery library

Why this project?

is to learn how to use vanilla JavaScript in manipulating HTML elements.

  • html
  • css
  • javascript
  • Getting Started

    Simply add the data-simple-tags with your desired values, for example Article, Blog, Page, Post, Category, Updates then, include .simple-tags for the default style.

    <div
       class="simple-tags"
       data-simple-tags="Article, Blog, Page, Post, Category, Updates">
    </div>
    

    NOTE! Ensure these files are included on your project.

    <link href="build/css/style.css" rel="stylesheet">
    <script src="build/js/script-min.js"></script>
    

    In addition to this, the data-simple-tags will update whenever a new tag or deleted tag has been made.

    Demo

    Visit here

    Installation

    npm install 
    npm run start
    npm run build
    

    Contributing

    Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

    License

    MIT