Create a Read More Read Less Button using HTML & CSS
Create a Read More Read Less Button We see on almost all websites. This type of button is usually found on the homepage of the website. In this article, you will…
Create a Read More Read Less Button We see on almost all websites. This type of button is usually found on the homepage of the website. In this article, you will…
Right-Click Context Menu I almost use in different operating systems. If you want to create a Custom Right Click Menu using JavaScript then this tutorial is for you.
In the case of this type of design, you can see this JavaScript Right-Click Context Menu by right-clicking the mouse. We see this type of design in any operating system or application.
In this tutorial, you will find complete information on how to create a custom context menu. In this case, you will see a box when you right-click the mouse. Where there are 5 menu items. If you want, you can add any image, text, video instead of a menu item.
Many people use Jquery or React to make this kind of design. But if you want, you can create this custom Right-Click Context Menu JavaScript using Simple JavaScript.
However, the js used here are comparatively much harder. Below you will find a demo that will help you figure out how to make it work.
See the Pen
Untitled by Foolish Developer (@foolishdevweb)
on CodePen.
As you can see above, I have added a background color to the top of a web page. You will not see anything on the page because this menu will be visible after right-clicking.
A small box will appear when you right-click your mouse. Box shadows have been used to enhance the white color and beauty in the background of the box. Each menu item has a hover color attached to it.
If you want to create this Custom Right Click Context Menu then I have given all the code below. The explanation is not required for HTML and CSS.
However, in the case of JavaScript, I have given the explanation of each line. But you need to have a basic idea about HTML, CSS, and javascript.
The required information for this Right Click Context Menu has been added using your own HTML code. Copy these codes and add them to your HTML file.
Now is the time to design it using a small amount of CSS code. First set a background color for the webpage. Then I designed the box, the background of the box is white color and with it, the box shadow has been used.
In this article, you will learn how to create Button Ripple Effect using HTML, CSS, and JavaScript. I have shared many more button animations with you before. This is the first time I will create a Ripple Effect in a button.
Button Ripple Effect CSS is basically a kind of onclick effect i.e. when you click on the button this Button Ripple Effect JavaScript can be seen.
If you don’t know what Ripple Effect is, let me tell you, it is a kind of simple effect. When you click on something, a colorful circle will be created in that place. These colorful circles can be matched in size.
Below I have given a demo that will help you to understand how this circular ripple effect works. Here you will find the required source code and live preview.
See the Pen
Untitled by Foolish Developer (@foolishdevweb)
on CodePen.
Although I have shared tutorials on creating many more types of buttons before, the most notable of which are neon buttons, gradient buttons, glowing buttons, etc.
Html, CSS, and javascript have been used to create this button ripple effect. The button’s structure was first created using HTML. Then it was designed by CSS. After all, the ripple effect has been implemented by JavaScript.
You need JavaScript enabled to view it to create this button ripple animation. JavaScript will basically help you determine the position of your causer and create those colorful circles in the place where you click.
If you want to create this Button Ripple Effect you can follow the step-by-step tutorial below. If you know basic HTML, CSS, and javascript then you can create it.
If you only want the source code, you can use the download button or code section at the bottom of the article.
First, the basic structure of the button was created using some HTML code.
The webpage is designed with the following CSS. I have used black as the background color of the webpage here.
Now the button has been designed. The size of this button depends on the padding and linear-gradient color is added to the background.
In this tutorial, you will learn how to create Bottom Navigation Bar HTML CSS. Earlier I shared another tutorial on creating a Bottom Navigation Menu. This type of CSS tab we see mainly in the case of responsive devices.
This type of Bottom Navigation Bar HTML is found mainly in the case of mobile apps. This design can only be created by HTML CSS.
Although I have used some JavaScript to make the animation used here work. If you omit the animation, you can create this mobile bottom navigation bar with HTML CSS.
For your convenience, I have given a preview below. Icons have been used instead of text for menus. If you only want the source code, use the button below the article.
See the Pen
Navigation Bar – JS by Foolish Developer (@foolishdevweb)
on CodePen.
First, the basic structure of the Fixed bottom navbar has been created on the webpage. White color has been used in the background of the navbar.
Then I used 5 icons here. You can increase the amount of menu according to your needs. Here the color of the active icon will be red. Borders have been added to the active icons using CSS before and after.
A border of 8px can be seen above and below the menu item that will be active. When you click on another icon, its borders will be removed and added to that icon.
Below I have shared step by step tutorial and show how to create a bottom navigation bar design. For this, you need to have an idea about HTML, CSS, and javascript.
However, if you are a beginner, follow the tutorial below. If you create this Bottom Navigation Menu using HTML checkboxes then you don’t need to use JavaScript.
First, the basic structure of this fixed bottom navbar has been created.
I designed the webpage using the code below and added a background color.
I have used min-height: 30px, min-width: 200px of this navbar and the background color is white.
This article will help you to know how to create Modal Popup JavaScript. Here we have shared step by step tutorial using JavaScript to create a modal popup.
Earlier I showed you how to create an automatic popup window. However, here you can open the window in two ways, automatic and manual.
When we open a website, we see different types of subscription forms, such as Advantage, with the help of this type of JavaScript Modal Popup. However, the javascript popup window used on most websites is automatic. This means that when the page is opened, this popup box is automatically seen.
This design is a little different. This Modal Popup JavaScript will be visible when you load the page. There is also a button that allows you to see this box. Below is a preview of how this design works.
See the Pen
Modal by Foolish Developer (@foolishdevweb)
on CodePen.
As I said it is an automatic and manual model pop-up created by JavaScript. First I used a gradient background color on the page.
Then I created a button that can be used to manually view this Modal Popup JavaScript. Also, when you load that page, this window will automatically appear in front of you.
There is a Cancel button to hide Modal Popup. This window contains an image, a heading, some text, and a cancel button.
If you know basic HTML, CSS, and javascript then you can easily create this modal popup in javascript. First I added basic information using HTML.
Then I designed it with CSS and arranged it to open it automatically. Finally, the popup button and the cancel button have been activated by JavaScript.
We first created a button using the following HTML and CSS code that will act as a popup button.
I designed the webpage using the following CSS. The linear-gradient background color is used on the page.
Now I have designed the button. Depending on the size padding of this button.
Many times word count needs to be done between different projects. In all these cases, this type of JavaScript Word Counter will help you completely. In this tutorial, you will learn how to create Word Counter JavaScript.
A lot of times we show character limits or word limits in different input boxes. For example, in the case of Twitter, there is a character limit.
Although I have shared a tutorial before where I have shown how to create a character limit input box. This tutorial will show you how to count words and characters. That means you will see both a project word and a character.
Below is a preview that will help you to know how this Word Counter javascript works. Below you will find the required source code.
To create this JavaScript Word Counter project I first created an input box using HTML and created a display. The input box is created using Textarea.
Then I designed using CSS. After all, I have implemented this project (word counter HTML code) with the help of JavaScript.
See the Pen
Untitled by Foolish Developer (@foolishdevweb)
on CodePen.
As you can see above, I used the background-color blue of a webpage. I made a box on top of it. At the top of the box is a display. This display is divided into two parts.
In the first part, you can see the information of Word Counter. In the second part, the information of the character counter can be seen. These values will change when I change something in the input box.
This JavaScript Word Counter is very easy to make. I created it with some amount of HTML and some amount of CSS. A little bit of JavaScript has been used to make this counter project work.
The background of this input area is white and the text color is black. A shadow has been used around the box to create a beautiful banner that will further highlight this Word Counter in JavaScript on the webpage.
The basic structure of this word counter has been created using the following code. The background color of the webpage is blue.
Javascript Random Quote Generator will basically help you to create a random quote using an API link. You can easily create this kind of simple Quote Generator if you know the basics of HTML, CSS, and javascript.
In this tutorial, I have shown how to create Random Quote Generator using JavaScript. Quote Generator can be made in two ways. In the first case, you will collect all the information from any other third-party source using an API link. Then you can show it in the place of your choice.
You can also manually add all the quota information here. Here I have used the API link. To make this Quote Generator Javascript you must have a basic idea about HTML, CSS, and JavaScript. If you are looking for Premium WordPress Host then you can use JustWP.
Below I have given a demo that will help you to know how this Random Quote Generator HTML works. If you only want the source code, you can use the download button below the article.
See the Pen
Untitled by Foolish Developer (@foolishdevweb)
on CodePen.
First I created a heading on a webpage with a blue background. Then I made a box with a display. Quote, and author’s name can be seen in that display. In the end, there is a button that will generate a different quote every time you click on it.
As I said before, all these quotes are not added manually. It has been collected and brought to other websites using API links.
First I added all the information using HTML and CSS and did the design work. Then I implemented Random Quote Generator using JavaScript.
Here I have used API links on a website. If you want you can use the API link on the website of your choice. There are many websites on the internet that provide such API links.
Below I have shared the complete step-by-step tutorial on how to create Javascript Random Quote Generator. I have shown the possible result of each step with a picture. Which will help you understand what kind of changes may occur after using any code.
I have created the basic structure of this Random Quote Generator using the following codes. Here the background color of the webpage is blue.
If you want to create a Responsive Image Slider then this tutorial will help you completely. Here I have shared a tutorial on creating a Simple Responsive Image Slider HTML CSS and provided the necessary source code.
Earlier I created different types of image sliders. However, this slider has been made fully responsive. This allows you to use it directly for any purpose.
Image slider is used to organize a large number of images on different websites. There are different types of image sliders. In some sliders, the image is changed automatically, in some cases the image has to be changed manually.
There are two buttons for manually changing the image. Although I have previously shared various types of automatic and 3D image sliders in this tutorial.
Below I have given a preview that will help you to know how it works. Here you will find the complete source code. Although I have been given many more options to get the source code.
Below the article, you will find a box to copy the source code. There is also a button to download the code.
See the Pen
Untitled by Foolish Developer (@foolishdevweb)
on CodePen.
As you can see above, a box has been created on a web page. In it, I have added all the necessary images. Here I have added 4 images. If you want you can increase the number of images of your choice.
There are two buttons for manually changing the image. Here a border is used around the image and shadows are used to enhance the beauty. Importantly, highlights or indicators have been used here. That is, there are a few small points that will indicate how many numbered images have been opened.
This design is made with HTML CSS and JavaScript. First added various information and images using HTML. Then I designed it using CSS and made it Responsive. Finally, it is implemented using JavaScript.
I have used four images here so I have used four indicators. The first indicator will be highlighted when the first image is open. And when the second image opens, the second point will be highlighted.
If you want to create this Responsive Image Slider, you need to have a basic idea about HTML CSS, and JavaScript.
The basic structure of Responsive Image Slider has been created first using the following HTML and CSS codes. All images in this area can be seen.
Slider width: 80% and max-width: 600px used. It also has a 10-pixel white border and box-shadow to enhance its beauty.
If you are a beginner and want to create a JavaScript Password Generator then this tutorial is for you. Here I have shown step-by-step and shared complete information on how to create a password generator using JavaScript.
JavaScript Password Generator will help you create the password of your choice. Earlier I showed you how to create JavaScript Random Password Generator. However, this design will give you the option to create a password manually.
This simple password generator will help you create the password you want. There are different options and controls. This will allow you to create the password you need.
You need JavaScript enabled to view it to make it. Here I have used HTML CSS and some amount of JavaScript.
See the Pen
Untitled by Foolish Developer (@foolishdevweb)
on CodePen.
First, a box was created on the webpage. In that box, I first created a display where the generated passwords can be seen.
Then an input box is created where you can control the width of the password. This means that the number of characters you want to create the password can be controlled by this slider.
Then there are the four smaller boxes. This select box created by the checkbox will help you to further customize your password. There is a button at the end of which clicks on which the password is generated and can be seen in the display.
If you want to create this Password Generator JavaScript then you must have a basic idea about HTML, CSS, and javascript.
But if you just want the source code then follow the part below the article. But if you are a beginner then follow the tutorial below.
This JavaScript Password Generator has a copy button. When you click on the Generate button, the password will be copied automatically.
I first created an area using the following HTML and CSS codes. In this area, you can see all the information of Password Generator with JavaScript.
The webpage has been designed using the following code. Here the background color of the webpage is blue.
I have used the background color of this box as white and width: 500px. Box shadows have been used to enhance beauty.