Posts

Showing posts with the label Best-JavaScript

Preview an Image Before Upload with JavaScript

Image
Many times you need to preview the image before uploading it. This type of JavaScript image preview design is mainly used for various image uploading or editing websites. You can learn how to create this Preview an Image Before Upload project from this article. The input function of HTML and basic javascript is used to make it. First I selected the file using HTML input. Then with the help of JavaScript, it will be arranged on the webpage. We find many types of inputs. One of these types is 'file' . This type = "file" will help to select a file. If you want to create any kind of custom file upload button then you have to use this type = "file" . Preview an Image Before Upload I have shared many such javascript image preview tutorials on the internet. However, most of them are not designed for beginners. So here is a very simple way to create a Javascript Preview an Image Before Upload design. See the Pen Untitled by Foolish Developer ( @fght...

Simple Automatic Popup Window using JavaScript

Image
Do you want to create an Automatic Popup Window using JavaScript ? OK, in this article you will learn how to create JavaScript Automatic Popup Window . Popup box is a popular element for any webpage. In many places, this type of modal box is used to show any information to the user. Suppose you ask a user to subscribe to your website. In that case, you can use this type of Automatic Popup box.  In many other cases such as login forms , newsletters , ads, etc. What is needed to create this Automatic Popup Window    ✅  Basic structure by HTML    ✅  Need to design by CSS    ✅  JavaScript to activate the popup Do you think this type of Automatic Popup Window JavaScript is very difficult to create In fact, you can build it using simple code. Create Automatic Popup Window in JavaScript The design made in this article is made by HTML, CSS, and javascript. I have created many popup boxes before without using JavaScript. However, using J...

Make a Loan Calculator in JavaScript (Code + Demo)

Image
Do you want to create a javascript loan calculator ? If your answer is yes, then this article will help you. In this tutorial, I have shown you how to create a loan calculator using JavaScript . Using JavaScript Loan Calculator you can calculate various loan-related information.  Here you can input the amount, interest rate, and time. If you input that information, you will be able to know how much interest will have to be paid every year and what will be the total amount. This type of loan calculator we use in different places. We use calculators to calculate loan-related information which is cumbersome and time-consuming. In that case, you can use this type of JavaScript EMI calculator . Loan Calculator Javascript It's much easier to create if you know HTML, CSS, and javascript. No problem if you are a beginner. Here you will find complete step-by-step tutorials. The following preview will help you to understand how this JavaScript Loan Calculator works. See the Pen ...

How to Get User Location in JavaScript (Code + Demo)

Image
In this tutorial, you will learn how to get user location using javascript . I have shared many types of JavaScript projects with you before. This javascript get user location project will help to know the current location of the user. Html, CSS, javascript, and API are used to create this project. First I designed the get user location city project using HTML and CSS. Then I activated it with the help of javascript and API . Many times in many projects it is necessary to take the location of the user. In that case, you can use this type of design (get user location in javascript). Where the user does not need to manually add his location. Clicking on a button will automatically collect the user's current location. Get user Location JavaScript Here you will find live previews, source code, and tutorials. Below you will find a preview that will help you learn how it works. See the Pen javascript get user location by Foolish Developer ( @foolishdevweb ) on CodePen . ...

Simple Random Password Generator using JavaScript

Image
JavaScript Random Password Generator will help you to easily create random passwords. Although this type of project is not used much.  However, this type of Random Password Generator JavaScript will help you to know more about JavaScript. This is a Random Password Generator so the password cannot be customized here.  Before that, I shared a tutorial on Advanced Password Generator . If you want to customize the password then you can watch that tutorial. Random Password Generator JavaScript Here you can create a password with a single click. If you are a beginner and want to create a password generator using just a little bit of JavaScript then this random password generator tutorial will help you completely. Below is a demo section that will help you get a preview of this project. However, I have shared all the step-by-step tutorials here. See the Pen Untitled by Foolish Developer ( @foolishdevweb ) on CodePen . As you can see above, a box has been created at t...

How to Make a Quote Generator in JavaScript (2021 Update)

Image
If you want to create a Simple Quote Generator using JavaScript then this tutorial will help you completely. In this article, I have shown you how to create Random Quote Generator using HTML CSS, and JavaScript.  The quote is a very important thing that motivates us a lot. There are many websites that generate such quotes. However, you can create your own JavaScript Quote Generator if you have an idea about basic HTML CSS and JavaScript. The project I have created here will generate a quote with a single click. There is a generator button for this. Each time you click on it, a separate quote is generated and displayed on the display. All Quotes of this Quote Generator have been added manually. But before that, I created another JavaScript Quote Generator using API link. JavaScript Quote Generator The tutorial below shows how I created this JavaScript Quote Generator . That's why I first designed the webpage and then created a box.  The first in this box is a displ...

Simple Floating Label Animation using HTML & CSS

Image
If you want to create simple floating-level animations using HTML and CSS then this tutorial is for you. Here you will find complete information and a step-by-step tutorial for creating a floating label using CSS . Floating label input css can be found in different types of login forms , registration forms , etc. Where the label is floating. Usually, we use labels in the input box. This label helps to know what to input in an input box. This label is at the top of the input box. The input box we created here contains the label input box . That is, the label has been placed in the place of the placeholders. Floating Label Input CSS Below is a demo that will help you learn how it works. I used HTML CSS and some jquery to make it. See the Pen Untitled by Foolish Developer ( @foolishdevweb ) on CodePen . I have created a small box on the webpage as you can see above. That box contains two inputs. There is no border around those input places. There is only a border at the bottom. Wh...

Simple RGB Color Generator Using JavaScript & CSS

Image
In this article, you will learn how to create RGB Color Generator using JavaScript. Earlier I shared with you the project of different types of JavaScript color generators . Some projects create background colors, some gradient colors, and some generate random colors.  Using this simple RGB Color Generator you can manually generate RGB color . It is much more modern and professional than other color generators. Here you can mix different colors together and create gradients.  This JavaScript RGB Color Generator project has various control buttons. With the help of which you can create gradients by adding colors in different ways.  JavaScript RGB Color Generator Many times I use different applications or websites to create my gradient color . In that case, such a project will help you. You can get the required code of the color you have created from here. Which you can copy directly and use as CSS code. Below I have given a demo that will help you to know how this...

Simple Countdown Timer using HTML CSS & JavaScript

Image
If you want to make Simple Countdown Timer using JavaScript then you have come to the right place. Here I have shared a step-by-step tutorial for beginners on how to make a countdown timer . Earlier I shared with you tutorials like different types of stopwatches, countdown timers, digital clocks , etc.  Now the JavaScript timer that I am going to show is absolutely simple. As a result, if you are a beginner and know basic HTML, CSS , and javascript, you can easily create it. The Countdown Timer is a remarkable element used in a variety of business, e-commerce, and service websites. At times we notice countdowns on e-commerce websites or service websites.  Simple Countdown Timer A countdown can be seen for some time before the launch of a product or service. JQuery is basically used to  create a countdown timer  that is used on a website. Here I will show you how to create a Simple  Countdown Timer using Pure HTML , CSS, and JavaScript. Below I have given a de...