Posts

Emi calculator

 EMI CALCULATOR:- Emi calculator using html css and javascript:- Html code:- <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <link rel="stylesheet" href="styles.css">     <title>EMI Calculator</title>     <script src="sc.js"></script> </head> <body>     <div class="container">         <h2>EMI Calculator</h2>         <form id="emiForm">             <label for="loanAmount">Loan Amount:</label>             <input type="number" id="loanAmount" required>             <label for="interestRate">Interest Rate (%):</label>             <input type="number" id="interestRate" step="0.1" required>             <lab

Land area calculator

 Area calculator using html css and javascript:- Html code:- <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Land Area Calculator</title>     <link rel="stylesheet" href="style.css"> </head> <body>     <div class="calculator">         <label for="length">Length (meters): </label>         <input type="number" id="length" required>         <label for="width">Width (meters): </label>         <input type="number" id="width" required>         <button onclick="calculateArea()">Calculate Area</button>         <p id="result">Result: </p>     </div>     <script src="scripts.js"></script> </

10 min. Webpage challenge

10 minutes challenge from sample web page create using the html and css:- Html code:- <!DOCTYPE html> <html> <head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, initial-scale=1">   <link rel="stylesheet" href="stylesheet.css">   <title></title> </head> <body> <nav>   <div class="logo"> <h1>Data</h1> </div>   <div class="items">     <a href="div.html">Home |</a>     <a href="lk.html">Service |</a>     <a href="e.html">About |</a>     <a href="add.html">contact </a>   </div> </nav> <div class="body">   <h1>This page requires of implementation of code between user effective</h1>   <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Expedita, ratione.&l

Sign up page create

 Sign up page create using html, css, javascript and php:- <!DOCTYPE html> <html> <head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, initial-scale=1">   <title></title> </head> <body> <?php if ($_SERVER["REQUEST_METHOD"] == "POST") {     // Process the signup form data here     $username = htmlspecialchars($_POST["username"]);     $email = htmlspecialchars($_POST["email"]);     $password = password_hash($_POST["password"], PASSWORD_DEFAULT);     // Validate and store the data as needed     // (Add your validation and database storage logic here)     // ...     // Example success message     $message = "Signup successful for user: $username"; } ?> <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content=&qu

Electricity bill calculator

 Calculation of Electricity bill:- Calculation of Electricity bill in using html css and javascript code <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, initial-scale=1.0">   <link rel="stylesheet" href="estyle.css">   <title>Electricity Bill Calculator</title>   <style>     body {   font-family: Arial, sans-serif;   background-color: #f4f4f4;   margin: 0;   display: flex;   justify-content: center;   align-items: center;   height: 100vh; } .calculator-container {   background-color: #fff;   padding: 20px;   border-radius: 8px;   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);   text-align: center; } label {   display: block;   margin-bottom: 10px; } input {   padding: 8px;   width: 100%;   margin-bottom: 20px;   box-sizing: border-box; } button {   background-color: #4caf50;   color: #fff;   padding: 10px 20px;

Date of birth calculator

  DATE OF BIRTH CALCULATOR:-   This calculator is different from the other Because this calculator include in your date of birth and month,week, hours, minutes also calculated. This code was created python  from datetime import datetime dob = input("Enter your date of birth (YYYY-MM-DD): ") dob = datetime.strptime(dob, '%Y-%m-%d') current_date = datetime.now() age = current_date - dob years = int(age.days / 365.25) months = int((age.days % 365.25) / 30.4375) days = age.days % 365.25 % 30.4375 hours = age.seconds // 3600 minutes = age.seconds % 3600 // 60 print(f"You are {years} years, {months} months, {int(days)} days, {hours} hours, and {minutes} minutes old.")

Square value added

 Problem Z=a²+y² Output:   A=2   B=2    Z=8 Solution of python code: a=int(input("Enter the a value")) y=int(input("Enter the y value")) z=a**2+y**2 print ("SQUARE VALUE OF a and y is ",z) *Check it my code any interpreter*