How to make custom multi-select list using Pug, SASS and jQuery ?

multiselect

With this example you can create your own custom multi-select list instead of using any plugin. 

Technologies used :-

  • Pug

  • SASS

  • jQuery

To see the demo and source code go to custom multi-select list

 

Note:- In the future I will add more features in this example.

Advertisements

How to make custom animated accordion using Pug, SASS and jQuery ?

custom-animated-accordion

 

Instead of using old and boring accordion you can use Custom animated accordion using pug, sass and jQuery. It will give an awesome user interface to the client. And the best part is that we can change the animation effect of the accordion by replacing the class name. To change the class simply go to the animate.css and choose the class which full fill your requirement and paste it in the jQuery code.

Technology used:-

  • Pug

  • SASS

  • jQuery

To see the demo and source code go to custom animated accordion

How to make fully responsive todo list using jQuery ?

Hello amazing people! Today I’m gonna share my todo list code here. Well this todo list is so basic there is no database connectivity its only the design but yeah you can add the items by clicking on the add button, edit them by clicking on the particular title and delete them by clicking on the trash icon which is in the right of all the titles.

Follow the link to see the output http://codepen.io/mukul6996/full/LNKoqx

Copy and paste the following code in one page and save it with the html extension.
And your output will look like this:-

mytodo

 

 

Click here to get Code

 

 

Instructions to use

To add items:- Click on the add button “+” on the top-right corner.

To edit items:- Click on the label/title and then start typing. Click any where on the screen to save the item you typed.

To delete  items:- Click on the delete button (looks like a trash icon) on the right corner of your particular item.

Share it if this is helpful 🙂

On the web:- http://codepen.io/mukul6996/full/LNKoqx

How to change the background, text or a div color on real time with php, mysql, ajax and jQuery ?

Description:- Hello! In this lesson I’ll show you guys the logic with little example to how to change the background, text or a div color on real time with php, mysql, ajax and jQuery.
Maybe you guys have better logics to shorten my code. If you have then please comment below.

So for this lesson make the following files step by step:-
1. create database and name it “color”
2. create row in database(color) and name it colorname
3. Create 2 columns 
    (i) id
    (ii) colorcode
4. Download jQuery file
5. Create changebg.php
6. Create config.php
7. Create insertcolor.php

1. config.php

pdf of config file

2. changebg.php

pdf of changebg file

3. insertcolor.php

pdf of insertcolor file

*NOTE :- I’m providing you pdf files as my wordpress text editor is not working well copy and paste code and make the php files with the same name of files and then goto your browser after making database and then run the changebg.php file.
Live demo is available here