You Are Viewing Posts Under Category: JavaScript Codes

How To Add/Create A QR Code Reader On Your Website Using JavaScript?
January 25th, 2021 | 2 Comments | HTML-CSS-PHP-JavaScript / JavaScript Codes | As you know that the barcode and QR code have upgraded our shopping and searching experience as well as our typing and entering data process. Customers with smartphones can select their product and scan its barcode or its QR code using many free phone apps to read the info or many other business use...
Create A Simple Countdown Timer Using Pure JavaScript
December 22nd, 2020 | 0 Comments | HTML-CSS-PHP-JavaScript / JavaScript Codes | Countdown timers can serve many purposes. They can communicate to a user how long they’ve been doing something or how much time until some event happens, like the launch of your new website. In the sales and marketing context, they can create a sense of urgency to encourage conversion. Sometimes, ...
How To Generate A Random Color Or An Array Using Pure JavaScript?
August 17th, 2020 | 0 Comments | HTML-CSS-PHP-JavaScript / JavaScript Codes | Did you ever feel bored or tired of writing long random colors for different divs or spans just to test something simple? When learning about the power of JavaScript and its dynamic influence over an HTML page, one of the first things to jump out as a nascent web developer is the ability to add [&he...
How To Enable/Disable Form Elements To Edit/View On Click Using JavaScript?
August 10th, 2020 | 0 Comments | HTML-CSS-PHP-JavaScript / JavaScript Codes | Sometimes we need to enable and disable input elements like text box, radio buttons, or checkboxes, to make it readable only or sometimes allow users to fill the form with their data but every time you make a change you need to reload the HTML? The question is, how can we do it dynamically without [...
How To Remove Or Strip All HTML Tags In Content Using Pure JavaScript?
August 3rd, 2020 | 0 Comments | HTML-CSS-PHP-JavaScript / JavaScript Codes | Normally on the server-side, you could use a series of PHP functions (such as strip_tags) and remove HTML and ugly formatting. However, if you’re unable to use the server (or you use Node.js) to achieve this task, then you can still use Javascript to do it. In this article, you will find 3 way...
How To Set Or Specify Referring Page Using Pure JavaScript?
August 2nd, 2020 | 0 Comments | HTML-CSS-PHP-JavaScript / JavaScript Codes | Like you are making a web app or writing any program where you need to know that from which page your visitor or use came to the current page then it is possible via pure plain vanilla javascript. The reason will be many behind implementing this logic like to display the personalized experience to t...