Animated Typing with TypeIt.js Jquery Plugin
TypeIt is the most versatile JavaScript typewriter effect utility on the planet. With a straightforward configuration, it allows you to type single or multiple strings that break lines, delete & replace each other, and it even handles strings that…
Top JavaScript Interview Questions and Answers
Question : What is JavaScript ? Answer : JavaScript is a client-side scripting language. JavaScript is used to develop interactive web pages as it inserts dynamic text into HTML element. JavaScript is also known as the browser’s language.…
Generate random integer between two numbers using JavaScript
Random number generation is the generation of a sequence of numbers or symbols that cannot be reasonably predicted better than by a random chance, usually through a random-number generator (RNG). Computer random number generators are important in…
Easy Face Detection Using JQuery
Face detection is a computer technology being used in a variety of applications that identifies human faces in digital images. There are a number of approaches and techniques to achieve face detection. In this post, we will be dealing with one of the…
Disable Landscape View in Mobile View Using JavaScript and CSS
Page Orientation According to Wikipedia, Page orientation is the way in which a rectangular page is oriented for normal viewing. The two most common types of orientation are portrait and landscape. The term “portrait orientation” comes…
Add Source Link or Copyright Note When Someone Copies Text from your website
The following post shows a simple JavaScript code to add link for reference when someone copies text from your website. You can just copy paste the following code to your webpage and add the link to the copied content. $(document).on('copy',…
Instagram API to fetch User Profile, Followers, Following, Posts
Simple Instagram API that fetches User Profile, Followers, Following, Images, Posts, Likes , Shares using JavaScript #Instagram #API #InstaAPI Full Source Code : <link rel="stylesheet"…
Access WebCam using JavaScript [Updated]
In this post, we are going to learn to access WebCam using Javascript. We will use getUserMedia to access WebCam and show the video in our webpage. Full Source Code to Access WebCam using JavaScript <center style="margin-top:4%;"> <h1…
Show toast/snackbar in a webpage using CSS and JavaScript
In this post, we will be learning to display a simple toast message or snackbar in a webpage using CSS, HTML and JavaScript. Full Source Code : <style> #snakbar{ visibility:hidden; min-width:250px; margin-left:-125px; background-color:#333;…
Moving Car Animation with Javascript and CSS
In this post, we will be going through a simple moving car animation using only Javascript and CSS. We rotate wheels with CSS and move car using JavaScript. Full Source Code : <h2>Moving Car with JavaScript and CSS</h2> <style> body{…
Animate SnowFall in your webpage with CSS and JavaScript
In this post, we are going to learn to animate a snowfall in webpage using CSS and JavaScript. The full source code for this animation is as follows : <script> var snowmax=75; var snowcolor=new Array("#4285f4","#cc181e","#008000"); var…
Get city and country and Client IP using JavaScript
In this post, we are going to learn to get city and country and client using JavaScript. Sample JavaScript to get city and country and Client IP using JavaScript <div id="IP">Loading...................</div> <div…