Your Title Goes Here Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text...
Read MoreCategory: Misc
Animated Cart – with SVG
by Puneet Sharma | Mar 5, 2026 | Misc | 0 |
Here’s an animated cart SVG with meaningful micro-interactions — a wiggle on hover, items...
Read Morejavascript detect whether mobile is in landscape or portrait mode
by Puneet Sharma | Nov 13, 2024 | Misc | 0 |
Both methods will detect changes in orientation. The first method is simpler but only works on mobile devices, while the second method is more universal and can work on desktops as well. Method 1: Using window.orientation...
Read MoreDraw any SVG path from 0 to 100% – using GSAP
by Puneet Sharma | Nov 12, 2024 | Misc | 0 |
See the Pen Draw any SVG path from 0 to 100% by Puneet Sharma (@webdevpuneet) on CodePen. HTML...
Read MoreHow to add customised css to CDN hosted ckeditor
by Puneet Sharma | Jul 24, 2024 | Misc | 0 |
Method 1 – Load CKEditor via CDN and Configure Custom CSS: <script...
Read MoreScript to add emoticons in input on focused area
by Puneet Sharma | Jun 14, 2024 | Misc | 0 |
Demo See the Pen Script to add emoticons in input on focused area by Puneet Sharma (@webdevpuneet) on CodePen. Script <script type=”module”> import { createPicker } from...
Read MoreCan I replicate ctrl ++ and ctrl — in a browser using buttons and click on it using javascript?
by Puneet Sharma | Apr 24, 2024 | Misc | 0 |
Replicating the functionality of Ctrl++ and Ctrl– using buttons in a browser involves a different approach. You’ll need to simulate the Ctrl key being pressed while clicking the buttons. This isn’t...
Read MoreHow to decrease the performance of a browser to test on a low config pc?
by Puneet Sharma | Nov 29, 2023 | Misc | 0 |
You can use Google Chrome’s developer’s tool in order to decrease your CPU power. Just...
Read MoreWhy use front-end frameworks like Bootstrap 5?
by Puneet Sharma | Feb 6, 2023 | Misc, UI Components | 0 |
Why use front-end frameworks like Bootstrap 5? Front-end frameworks have become a crucial part of...
Read MoreRoyalty free stock images and more
by Puneet Sharma | Feb 2, 2023 | Misc | 0 |
Hi, will be listing royalty-free stock image websites here that I use daily for my work....
Read MoreAllow numbers and new line in textarea using JavaScript
by Puneet Sharma | Jan 4, 2023 | Misc | 0 |
Textareas are commonly used in web forms to allow users to enter multi-line text input. By...
Read MoreHow to create HTML hidden templates in a page?
by Puneet Sharma | Aug 9, 2022 | Misc | 0 |
We can create an HTML hidden template using the following method that we can add anywhere in the page. After creating a template we can now use it, modify it, and append/prepend it’s html anywhere in the page. <script...
Read More
You must be logged in to post a comment.