How To Create A Calculator Using HTML, CSS, and JavaScript

display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
word-wrap: break-word;

line-height: 2em;}

h3{text-align: left;
font-family: Open Sans,Arial,sans-serif;
line-height: 1.7em;
color:black;
color:#333131;
font-weight: 520;

-webkit-font-smoothing: antialiased;
}

h2{text-align: left;
font-family: Open Sans,Arial,sans-serif;
line-height: 1.7em;
color:black;

font-weight: 620;
-webkit-font-smoothing: antialiased;
}

.class {
background:#edf0f2;
font-family: Consolas,Monaco,Lucida Console,monospace;
line-height: 1.65;
word-wrap: break-word;
border-radius: 5px;
color:#001d8f;
font-size:17.1px;
padding-left:10px;
white-space: pre-wrap;}

button.last-btn{
padding:14px 29px;
font-size:17px;
background-color:#0e87f0;
border-radius:6px;
color:white;
font-family: Open Sans,Arial,sans-serif;
border:none;
margin-left:35%;

}

@media only screen and (max-width: 400px) {
button.last-btn{
margin-left:0px;
margin-right:0px;
}
}
@media only screen and (max-width: 300px) {
button.last-btn{
margin-left:0px;
margin-right:0px;
}
}
@media only screen and (max-width: 600px) {
button.last-btn{
margin-left:0px;
margin-right:0px;
}
}
@media only screen and (max-width: 800px) {
button.last-btn{
margin-left:0px;
margin-right:0px;
}
}

@media only screen and (max-width: 400px) {
.copyButton {
width: 45%;
}

How To Create A Calculator Using HTML, CSS, and JavaScript

In this article, I am going to show you how to make a JavaScript calculator very easily. Earlier I designed many more types of calculators using HTML CSS and JavaScript programming code. This design is basically made in the form of Neumorphism design.

Neumorphism is basically a very popular design currently used to create a variety of UI elements. If you want to learn how to make this design, you must have a basic idea about HTML, CSS, and JavaScript.

This type of design gives a 3d look to our website helps in creating a real and interactive enviornment for our calculator project.

Simple JavaScript Calculator

Here, the structure and buttons of this calculator are basically made using HTML programming code. The CSS code helped to transform it into a Neumorphism design. This calculator is enabled using JavaScript code.

I have shown step by step how I made this calculator. If you want to see the demo of it, I have added the demo of Codepen below. From here you can see the demo and download the required source code.


See the Pen
calculator 1
by Foolish Developer (@fghty)
on CodePen.

 

However, if you are a beginner, I request you to watch the tutorial and learn how to make it step by step.

Create A Calculator Using HTML, CSS, and JavaScript

To create it, first, you need to create an HTML and CSS file. Of course, you can attach the CSS file to the HTML file. Then copy the structure below and add it to the HTML file.

In the structure below I have given complete information on how you can add other codes to the file.

(more…)

Continue ReadingHow To Create A Calculator Using HTML, CSS, and JavaScript

Create an Analog Clock using HTML, CSS and JavaScript

Create an Analog Clock using HTML, CSS and JavaScript

In this article, you are going to learn how to make an analog clock using HTML, CSS, and JavaScript programming code. Earlier I showed how digital clocks are made using JavaScript programming code. You must have knowledge of basic HTML, CSS, and JavaScript.

 If you are a beginner then you can understand the design of this watch. Here I have shown step by step how I made this design. It shows the exact time, that is, the clock will show the time according to the time on your device. Like a normal watch, three hands have been used here. To indicate an hour, to indicate a second minute, and a third to indicate a second. The background of this watch is arranged in the form of a Neumorphism design. Many people wonder how the hands work in the case of these digital watches. Let me tell you, JavaScript programming code is used to rotate these thorns. Each cut is rotated 360 degrees using the js code. That is, one end of the hand is fixed and the other end is rotated 360. The second hand rotates 360 degrees once per minute.

(more…)

Continue ReadingCreate an Analog Clock using HTML, CSS and JavaScript

Responsive Footer Design using HTML, CSS & Bootstrap

Responsive Footer Design using HTML, CSS & Bootstrap

In this article, I am going to show you how to create a footer design using HTML and CSS code. In the meantime, I have designed and shown many more types of footer sections. Hope you like this design too. 

It is a complete professional footer design with all kinds of information neatly arranged. Footer credits have been added below. First of all, there is the option of About us where you can give some information about your service or yourself. Below that, I have used icons and links from five social media platforms. Next to it, contact information has been added.

 Where address, email ID, and mobile number are given. Next to that are some links known as footer menus. There are pictures of some projects next to it. Here I have used six pictures. Below is a subscribe form to subscribe to. Where you can subscribe by adding a user name and email id.



 I have used footer credits below all. Where you can use your own copyright. Next to it, I have used important links such as About Us, Contact Us, Privacy Policy, etc. It is a fully responsive design that can be used on any website. I used HTML and CSS code to design this footer design. I used bootstrap programming code to make it responsive.

Footer Design Using HTML, CSS, and Bootstrap

Below I show you the complete step-by-step how I made the design of this footer section. You can use the demo button below the article to watch the live demo. You can also download the source code using the download button. 

If you want to see the complete process of making it step by step, follow the tutorial below. In this tutorial, I have described step by step the programming code that I used to create an element. This tutorial will show you exactly how to design a footer section.

Step 1: Basic structure for footer designs

<!DOCTYPE html>
<html lang=“en”>
    <head>
        <meta charset=“utf-8”>
        <title>Bootstrap Footer Template</title>
        <meta content=“width=device-width, initial-scale=1.0” name=“viewport”>
        <!– Libraries –>
        <link href=“https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css” rel=“stylesheet”>
        <link href=“https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css” rel=“stylesheet”>
        <!– Stylesheet –>
        <link href=“css/footer-4.css” rel=“stylesheet”>
    </head>
    <body>
        <!– Footer Start –>
        <div class=“footer”>
            <div class=“container”>
                <div class=“row”>
                   
                    <!–Footer About–>
                     <!–Contact Us–>
                        <!–Footer Link–>
                        
                    <!–project Image–>
                </div>
            </div>
            
           <!– Newswletter –>
            <div class=“copyright”>
                <div class=“container”>
                    <div class=“row align-items-center”>
                        
                      <!–Copy Right–>
                        <!–Footer Menu–>
                    </div>
                </div>
            </div>
        </div>
        <!– Footer End –>
    </body>
</html>

body {
    margin: 0;
    font-family: ArialHelveticasans-serif;
    background: #ffffff;
}
a {
    transition: .3s;
}
a:hover,
a:active,
a:focus {
    outline: none;
    text-decoration: none;
}
.footer {
    position: relative;
    padding-top: 45px;
    background: #121518;
}
.footer .footer-about,
.footer .footer-contact,
.footer .footer-links,
.footer .footer-project {
    position: relative;
    margin-bottom: 45px;
    color: #999999;
}
.footer .footer-about h3,
.footer .footer-contact h3,
.footer .footer-links h3,
.footer .footer-project h3 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #eeeeee;
}
.footer .footer-about h3::after,
.footer .footer-contact h3::after,
.footer .footer-links h3::after,
.footer .footer-project h3::after {
    position: absolute;
    content: “”;
    width: 50px;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #eeeeee;
}



Result:

Step 2: Add about section


<div class=“col-md-6 col-lg-3”>
                        <div class=“footer-about”>
                            <h3>About Us</h3>
                            <p>
                                Lorem ipsum dolor sit amet elit. Quisque eu lectus a leo dictum nec non quam. Tortor eu placerat rhoncus, lorem quam iaculis felis, sed lacus neque id eros
                            </p>
                            <div class=“footer-social”>
                                <a href=“”><i class=“fab fa-twitter”></i></a>
                                <a href=“”><i class=“fab fa-facebook-f”></i></a>
                                <a href=“”><i class=“fab fa-youtube”></i></a>
                                <a href=“”><i class=“fab fa-instagram”></i></a>
                                <a href=“”><i class=“fab fa-linkedin-in”></i></a>
                            </div>
                        </div>
                    </div>
.footer .footer-social {
    position: relative;
    margin-top: 20px;
}
.footer .footer-social a {
   text-align: center;
    color: #999999;
    font-size: 14px;
    border: 1px solid #999999;
    display: inline-block;
    width: 35px;
    height: 35px;
    padding: 6px 0;
    border-radius: 35px;
}

.footer .footer-social a:hover {
    color: #ffffff;
    background: #0085ff;
    border-color: #0085ff;
}



Result:

Step 3: Add contact information

  
<div class=“col-md-6 col-lg-3”>
                        <div class=“footer-contact”>
                            <h3>Get In Touch</h3>
                            <p><i class=“fa fa-map-marker-alt”></i>123 Street, New York, USA</p>
                            <p><i class=“fa fa-phone-alt”></i>+012 345 67890</p>
                            <p><i class=“fa fa-envelope”></i>info@example.com</p>
                            <p><i class=“far fa-clock”></i>Mon – Fri, 9AM – 10PM</p>
                        </div>
                    </div>
.footer .footer-contact p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #999999;
}
.footer .footer-contact i {
    margin-right: 10px;
    font-size: 16px;
    color: #999999;
}
.footer .footer-contact a:last-child i {
    margin: 0;
}
.footer .footer-contact a:hover i {
    color: #0085ff;
}
Result:

Step 4: Add important links to the footer section

<div class=“col-md-6 col-lg-3”>
                        <div class=“footer-links”>
                            <h3>Useful Links</h3>
                            <a href=“”>Lorem ipsum</a>
                            <a href=“”>tempus posuere </a>
                            <a href=“”>velit id accumsan</a>
                            <a href=“”>ut porttitor</a>
                            <a href=“”>Nam pretium</a>
                            <a href=“”>accumsan</a>
                        </div>
                    </div>
.footer .footer-links a {
    margin-bottom: 6px;
    padding-left: 15px;
    color: #999999;
    display: block;
}
.footer .footer-links a:last-child {
    margin: 0;
}
.footer .footer-links a:hover {
    color: #0085ff;
}
.footer .footer-links a::before {
    position: absolute;
    content: \f105;
    font-family: “Font Awesome 5 Free”;
    font-weight: 900;
    left: 0;
}

Result:

Step 5: Add important projects and images

<div class=“col-md-6 col-lg-3”>
                        <div class=“footer-project”>
                            <h3>Latest Projects</h3>
                            <a href=“”><img src=“img/img-1.jpg” alt=“Image”></a>
                            <a href=“”><img src=“img/img-2.jpg” alt=“Image”></a>
                            <a href=“”><img src=“img/img-3.jpg” alt=“Image”></a>
                            <a href=“”><img src=“img/img-4.jpg” alt=“Image”></a>
                            <a href=“”><img src=“img/img-5.jpg” alt=“Image”></a>
                            <a href=“”><img src=“img/img-6.jpg” alt=“Image”></a>
                        </div>
                    </div>
.footer .footer-project {
    float: left;
    font-size: 0;
}
.footer .footer-project a {
    padding: 0 8px 8px 0;
    display: block;
    width: 33.33%;
    float: left;
}
.footer .footer-project a img {
    width: 100%;
}
Result Code: (more…)

Continue ReadingResponsive Footer Design using HTML, CSS & Bootstrap

Responsive Our Team Section Using HTML, CSS and Bootstrap

Responsive Our Team Section Using HTML, CSS and Bootstrap

Today I am going to show you how to create a Responsive Team section using only simple HTML and CSS programming code. Earlier I designed many more types of team sections. Hope you like this design.

 The team section is a type of web element that you can use to introduce your team members to different types of service websites and portfolio websites. You can easily arrange all the identities of the significant people in your team or your company. I used HTML, CSS programming code to create this team section. I designed it using HTML code, I designed it using CSS code. I also made it responsive using bootstrap code. It is fully responsive which means you can use it for any type of device. So of course you can add it to your website. In this team section, I have used different hover color effects. 

In this section, I have divided it into four columns. You can add more team member information here if you want. The hover effect has been used here, meaning that the color change can be seen by moving the mouse over the image of each team member.

How To Create Responsive Team Section Using HTML & CSS

In this article, I will try to show you in full step by step and with all the information how I made it. Here I have shown step by step which programming code is used to create an element. You can use the download button at the bottom of the article to download the source codes. Here is the bootstrap CDN link used which I have given below. 

Add this link to the head section which will help you to make this team section responsive. Also here I have used font awesome’s icon CDN link. Icons have been created with it.

(more…)

Continue ReadingResponsive Our Team Section Using HTML, CSS and Bootstrap

Circular Progress Bar Using HTML and CSS

Circular Progress Bar Using Only HTML and CSS

In this article, I am going to show you how to create an animated circular progress bar using only HTML CSS and BoostApp programming code. I have designed many more types of animated progress bars before but this design has been designed in a completely modern way. 

Animated circular Progress Bar is a type of statistical design used in a variety of websites. It is mainly used to indicate the percentage of one’s qualification in a portfolio website or personal website. It is fully animated, that is, under normal conditions, it has zero percent then it will gradually reach the pre-determined percentage. Different colors have been used to denote percentages.

See the Pen
Untitled
by Code Media (@codemediaweb)
on CodePen.



Animated Circular progress bar using Html and CSS

I used Html,  CSS, and bootstrap programming code to make it. In the case of this circular progress bar, you can pre-determine the percentage as needed. This means that you can pre-determine the percentage of progress this animation will stop. In this case, I have basically made a circle of three signs of progress and used different colors for each of them. 

Below I have shown in full step by step how I have created this progress bar and which programming code I have used to create any element. Below the article is a download button where you can download the required source code by clicking. 

(more…)

Continue ReadingCircular Progress Bar Using HTML and CSS