You Are Viewing Posts Under Category: HTML-CSS-PHP-JavaScript

How-To-Detect-Browser-Using-Pure-Vanilla-JavaScript

How To Detect Browser Using Pure Vanilla JavaScript?

How to Detect Browser in JavaScript. To detect user browser, YOu need to use only HTML CSS & JavaScript. In this small project (Detect Browser in JavaScript), as you can see in the preview image, there is a ‘Browser’ text with different browser logos Google Chrome, Mozilla Firefox, Microsoft...
Add-Simple-Basic-Tags-HTML-Input-Field-In-Vanilla-JavaScript

Add Simple Basic Tags HTML Input Field In Vanilla JavaScript

A tags input is a user interface (UI) component that allows the user to add or insert multiple entries as tags into an input field. In this project (Tags Input in JavaScript), as you can see on the webpage, there is an input box with some tags, buttons, and tags counters. You can remove each [&helli...
JavaScript-MD5-Function-To-Encrypt-Your-Strings-Using-Vanilla-JavaScript

JavaScript MD5 Function To Encrypt Your Strings Using Vanilla JavaScript

Do you want to encrypt your text strings on your browser at the client-side then you can use the javascript md5 hash function? So get a javascript md5 function to encrypt your strings using vanilla javascript. The MD4, MD5 and SHA-1 calculations are altogether secure hash capacities. They accept a s...
Modify-The-Browser-Address-Bar-URL-Without-Reloading-Using-JavaScript

Modify The Browser Address Bar URL Without Reloading Using JavaScript

In this article, We will explain with an example, how to change the URL in the browser address bar without reloading or refreshing the page using HTML5 History API in JavaScript. HTML5 History API allows browsers to change the URL in the browser address bar without reloading or refreshing the page u...

How To Clean Or Sanitize String For File Name With Standards Using PHP?

Are you trying to come up with a function that does a good job of sanitizing certain strings so that they are safe to use in the URL (like a post slug) and also safe to use as file names? For example, when someone uploads a file I want to make sure that I remove […]...
How-To-Make-Resizable-Columns-Of-Your-HTML-Table-Using-JavaScript

How To Make Resizable Columns Of Your HTML Table Using JavaScript?

A lightweight and easy to use vanilla javascript to make any HTML table columns resizable. The resizable columns is a jquery and CSS based plugin that lets you make resizeable columns of tables. How we can create a flexible table in which columns are resizable? Solution: See this Resizable Table col...
How-To-Detect-If-Caps-Lock-Is-On-Using-Pure-JavaScript

How To Detect If Caps Lock Is On Using Pure JavaScript?

There are quite a few scripts out there for checking whether the Caps Lock key is on. However, the top searches for a helpful JavaScript function turn up a lot of dated, obsolete code that usually doesn’t work or uses techniques that are frowned upon, such as obtrusive JavaScript. This technique i...