Professional Documents
Culture Documents
PROFESSIONAL STUDIES
AND RESEARCH
Project
E-COMMERCE WEB
Submitted By:
NAME ROLL
NUMBER
1
CERTIFICATE
This is to certify that SHAKTI PRASAD NANDA with Roll
No:2104000622071028, & UDAYA SHARMA Roll No:
2104000622071032 are Bonafede student. They have done the
project work titled “E-COMERCES WEB under my supervision in
in partial fulfillment of the requirement as a project for BCA. This is
an original piece of work and it has not been submitted anywhere
else.
Signature
(PROJECT GUIDE)
2
DECLARATION
We declare that this written submission represents our ideas in
our own words and where other’s ideas or words have been
included, we have adequately cited and referenced the original
sources. We also declare that we have adhered to all principles
of academic honesty and integrity and have not
misrepresented or fabricated or falsified any idea/fact/source
in our submission. We understand that any violation of the
above will cause for disciplinary action by the University and
can also evoke penal action from the sources which have not
been properly cited or from whom proper permission has not
been taken when needed.
Signature :
Roll No :
Signature :
Roll No :
Signature :
Roll No :
3
ACKNOWLEDGEMENT
Thank You
Signature
4
REPORT OF APPROVAL
5
TABLE OF CONTENTS
Introduction
Objectives
Analysis and Design
Analysis
Design
Domain specific synthesis
Unit selection synthesis
Use case diagram
Graph
Implementations
Coding
Html
Testing
Output
Future scope
Conclusion
6
ABSTRACT
7
Moreover, our project prioritizes the integration of analytics
tools and data-driven insights to inform decision-making and
drive continuous improvement. By harnessing the power of
data analytics, we aim to optimize marketing campaigns,
enhance product discovery, and maximize conversion rates,
ultimately fostering long-term customer loyalty and retention.
In addition to front-end functionality, our project emphasizes
the importance of scalability, security, and performance
optimization in the back-end infrastructure. Through the
implementation of robust server architecture, database
management systems, and content delivery networks, we strive
to deliver a reliable and responsive user experience, even under
high traffic conditions.
Overall, our e-commerce website represents a comprehensive
solution designed to empower businesses to thrive in the digital
marketplace. By embracing innovation, agility, and customer-
centricity, we remain committed to driving success and
delivering value in an ever-evolving landscape.
Keywords: E-commerce, Website Development, User
Experience, Personalization, Analytics, Responsive Design,
Scalability, Security.
8
INTRODUCTION
9
marketplace, businesses must constantly innovate and adapt to
meet the evolving needs and preferences of consumers.
In this context, this introduction serves as a precursor to a
comprehensive exploration of e-commerce website
development. By examining key principles, strategies, and best
practices, businesses can gain valuable insights into the process
of creating a successful e-commerce website. From
conceptualization to launch, this exploration will cover various
aspects of website development, including design, functionality,
optimization, and marketing.
Ultimately, the goal of this introduction is to provide businesses
with a roadmap for navigating the complexities of e-commerce
website development. By understanding the fundamental
principles and strategies that underpin successful online
ventures, businesses can embark on their e-commerce journey
with confidence and clarity. In doing so, they can unlock the full
potential of the digital marketplace and position themselves for
sustained growth and success in the years to come.
10
Objectives
12
ANALYSIS AND DESIGN
important information.
Consider the clarity of calls-to-action (CTAs) and the
13
Consider the organization of product categories and filters
to facilitate easy browsing and search.
5. Checkout Process:
Analyse the checkout flow and assess the number of steps
15
16
Domain-specific Synthesis:
19
Unit Selection Synthesis:
Unit selection synthesis involves assembling and integrating
individual components or units to create a cohesive and
functional e-commerce website. Here's how the process of unit
selection synthesis can be applied to various components of an
e-commerce website:
23
Graph:
24
IMPLEMENTATION
Modules Description:
1. User Authentication and Management Module:
Implementation of user registration, login, and profile
management functionalities.
Integration with authentication mechanisms such as
quantities.
Implementation of the checkout process, including
25
Implementation of functionalities to view and manage
orders placed by customers.
Integration with a database to store order details such
26
Integration with recommendation algorithms and
machine learning models to generate relevant product
suggestions.
Implementation of features such as Wishlist’s, saved
27
Implementation of security features such as role-based
access control (RBAC) and audit logs for administrative
actions.
By implementing these modules, an e-commerce website can
provide a comprehensive set of features and functionalities to
users, administrators, and other stakeholders, facilitating
efficient and secure online transactions and enhancing the
overall shopping experience.
Tools used:
● HTML
● CSS
● JAVA SCRIPT
28
Code: INDEX
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?
family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<style>
.body {
border: 12px dashed black;
background-color: rgb(252, 0, 42);
}
.logo {
font-size: 1.5rem;
color: #333;
text-decoration: none;
}
.nav-links {
list-style: none;
display: flex;
align-items: center;
}
.nav-item {
margin-right: 20px;
text-decoration: none;
color: #333;
transition: color 0.3s ease;
}
.nav-item:hover {
color: #6c5ce7; }
.flower-card {
width: 30%;
border: 1px solid #ccc;
padding: 10px;
text-align: center;
background-color: #e0e7ac;
margin: 1%;}
@media (max-width: 768px) {
.flower-card {
29
width: 100%; } }
.flower-image {
width: 100%;
height: auto; }
.flower-name {
font-weight: bold;
margin: 10px 0;
}
.flower-price {
margin-bottom: 10px; }
.add-to-cart-btn {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 5px;
}
.main {
margin-top: ;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0% 4% 0% 2%;
width: 100%;}
.slide {
animation-name: example; }
@keyframes example {
0% {
transform: translate(-100%) }
100% {
transform: translate(0); } }
.home {
width: 100%;
height: 50rem;
border: 2px dashed black;
margin-top: 2%;
background-color: #6c5ce7;
background-size: cover;
background-position: center;
position: relative; }
.home .slides-container .slide {
display: flex;
30
color: white;
align-items: center;
flex-wrap: wrap;
gap: 1.5rem;
display: none;
margin: 10%;
margin-left: 60%; }
.home .slides-container .slide.active {
display: flex;}
.home .slides-container .slide .content {
flex: 1 1 40rem;
animation: fadeLeft .4s linear .4s backwards; }
.home .slides-container .slide .content span {
color: #000;
font-size: 2.5rem; }
.home .slides-container .slide .content h3 {
font-size: 6rem;
color: #222;
padding: .5rem 0;
}
.home .slides-container .slide .img {
flex: 1 1 40rem;
margin: 3rem 0;
}
.home .slides-container .slide .img img {
width: 100%;
animation: fadeUp .4s linear; } .home #next-slide,
.home #prev-slide {
position: absolute;
top: 50%;
transform: translateY(-50%);
height: 5rem;
width: 5rem;
line-height: 5rem;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
border: 0.1rem solid rgba(0, 0, 0, 0.7);
text-align: center;
background: var(--color);
font-size: 2rem;
color: #fff;
cursor: pointer; }* {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
31
box-sizing: border-box;
outline: none;
border: none;
text-transform: capitalize;
text-decoration: none;
transition: .2s linear }
.btn {
margin-top: 1rem;
display: inline-block;
padding: .8rem 3rem;
background: var(--color);
color: black;
font-size: 1.7rem;
cursor: pointer;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
border: 0.1rem solid rgba(0, 0, 0, 0.7); }
html {
font-size: 62.5%;
overflow-x: hidden;
scroll-behavior: smooth;
}
.btn:hover {
background: #222;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.home #next-slide:hover,
.home #prev-slide:hover {
color: #fff;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.home #next-slide,
.home #prev-slide {
background-color: black;
}
.home #prev-slide {
left: 2rem; }
.home #next-slide {
right: 2rem; }
@media screen and (max-width: 900px) {
.navbar {
display: none;
flex-direction: column;
position: fixed;
top: 60px;
32
left: 0;
width: 100%;
background-color: #941d576a;
border: 1px solid #941d576a;
z-index: 1000;
}
}
.navbar {
background-color: rgb(195, 50, 50);
opacity: 0.9;
;
position: fixed;
/* Other navbar styles */
}
.flower-card:nth-child(1) {
background-color: #f0f8ff;
/* Light blue */
}
.flower-card:nth-child(2) {
background-color: #ffebe6;
/* Light pink */
}
.flower-card:nth-child(3) {
background-color: #f5f5f5;
/* Light gray */
}
.flower-card {
background: radial-gradient(circle at center, #fff 0%, #ddd 70%);
}
.review {
background-color: #f2f2f2;
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.flower-card {
width: 100px; }
.rcs {
width: 45%;
margin: 3%;
}
33
}
.contact-form {
width: 100%;
margin-top: 10%;
background-color: #f9f9f9
}
.form-group input {
width: 60%;
}
.about-us {
background-color: #f0f0f0;
}
.abt-us-container p {
color: #333; }
.abt-us-container p:hover {
color: #606060;
}
.container {
width: 80%;
margin: auto;
padding: 20px;
}
.card {
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
}
.rcs {
width: 20%;
height: 30%;
background-color: #96cc85;
margin: 5%; }
.review {
flex-direction: column;
background-color: #de9471;
}
.contact-form {
width: 100%;
margin-top: 10%;
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
34
}
.contact-form h2 {
margin-bottom: 20px;
text-align: center;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
font-weight: bold;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.form-group textarea {
height: 150px;
}
button[type="submit"] {
display: block;
width: 100%;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
button[type="submit"]:hover {
background-color: #0056b3;
}
/* About Us Section Styles */
.about-us {
padding: 50px 0;
background-color: #f9f9f9;
border: 2px solid gray;
background-color: #cac6c6;
}
.about-us .abt-us-container {
35
width: 80%;
margin: auto;
text-align: center;
display: flex;
} .inp {
width: 2rem; }
.about-us h2 {
margin-bottom: 30px;
font-size: 2rem;
color: #333; }
.about-us h2 {
margin-bottom: 20px;
line-height: 1.6;
color: #666;
font-weight: bolder;
font-size: xx-large; }
.abtp {
margin: 2%; }.
.review {
background-color: #f2f2f2;
padding: 20px;
margin-top: 20px;
}
.review textarea,
.review input[type="text"] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.review button {
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.review button:hover {
background-color: #0056b3;
}
.contact .icons-container {
display: grid;
36
grid-template-columns: repeat(auto-fit, minmax(29rem, 1fr));
gap: 1.5rem;
}
.contact .icons-container .icons {
text-align: center;
border: 0.1rem solid rgba(0, 0, 0, 0.7);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
padding: 2rem;
}
.contact .icons-container .icons i {
height: 6rem;
width: 6rem;
line-height: 6rem;
font-size: 2.5rem;
background: var(--color);
color: #fff;
border-radius: 50%;
}
.contact .icons-container .icons h3 {
color: #222;
font-size: 2rem;
padding: 1rem 0;
}
.contact .icons-container .icons p {
color: #222;
font-size: 1.5rem;
line-height: 2;
}
.contact .row {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
margin-top: 2rem;
}
.contact .row form {
padding: 2rem;
border: 0.1rem solid rgba(0, 0, 0, 0.7);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
flex: 1 1 40rem;
}
.contact .row form h3 {
font-size: 2.5rem;
padding-bottom: 1rem;
color: #222;
37
}
.contact .row form .inputBox {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.contact .row form .inputBox .box,
.contact .row form textarea {
padding: 1rem 1.2rem;
font-size: 1.6rem;
border: 0.1rem solid rgba(0, 0, 0, 0.7);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
color: #222;
text-transform: none;
margin: .7rem 0;
}
.contact .row form textarea {
width: 100%;
height: 15rem;
resize: none;
}
Copy code .navbar {
position: static;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
}
.Tulips {
background-color: #6c5ce7;
}
.navigation {
display: flex;
flex-direction: row;
margin-left: 29.555%;
width: 100%;
margin-top: 1%;
}
.nav-links li {
margin: 1%;
}
.nav-links {
width: 100%;
38
}
.c-name {
margin-left: 46%;
margin-top: 5%;
}
.best-seller {
margin: 4% 0% 0px 4%;
font-size: xxx-large;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
table {
border-collapse: collapse;
width: 40%;
margin-left: 20%;
background-color: #f5f5f5;
}
th,
td {
padding: 8px;
text-align: center;
}
.shop-table {
display: none;
}
.shop:hover+.shop-table {
display: block;
}
.shop:hover+.shop-table {
border: 1px dashed blue;
}
.nav-container {
position: sticky;
}
.like-btn .feather-heart {
stroke: #ccc;
/* default color */
}
.like-btn.liked .feather-heart {
stroke: red;
/* color when liked */
}
.btn:hover {
color: white;
}
39
.grid-sec {
display: flex;
flex-direction: row;
width: 100%;
}
.grid-sec .sec {
margin: 3%;
}
.grid-sec a {
text-decoration: none;
color: black;
display: block;
font-size: 15px;
margin: 5%;
}
.sub-btn {
display: flex;
flex-direction: row;
margin-top: 4%;
}
.sub-btn input {
border: 3px solid rgb(197, 89, 50);
border-radius: 3px;
}
.sub-btn button {
color: white;
background-color: #e87325;
}
.sub-btn-section {
margin-top: 6%;
margin-left: 4%;
}
.open-button {
background-color: #555;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
opacity: 0.8;
position: ;
margin-left: 80%;
margin-bottom: 2%;
bottom: 23px;
right: 28px;
40
width: 280px;
}
/* The popup form - hidden by default */
.form-popup {
display: none;
position: fixed;
bottom: 0;
right: 15px;
border: 3px solid #f1f1f1;
z-index: 9;
}
/* Add styles to the form container */
.form-container {
max-width: 300px;
padding: 10px;
background-color: white;
}
/* Full-width input fields */
.form-container input[type=text],
.form-container input[type=password] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
border: none;
background: #f1f1f1;
}
/* When the inputs get focus, do something */
.form-container input[type=text]:focus,
.form-container input[type=password]:focus {
background-color: #ddd;
outline: none;
}
/* Set a style for the submit/login button */
.form-container .btn {
background-color: #04AA6D;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
width: 100%;
margin-bottom: 10px;
opacity: 0.8;
}
41
/* Add a red background color to the cancel button */
.form-container .cancel {
background-color: red;
}
/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover {
opacity: 1;
}
.row {
margin-top: 10%;
}
.sec a:hover {
border: 2px black;
transform: scale(1.7);
text-decoration: underline;
}
</style>
</head>
<body>
<div class="nav-container">
<div class="nav-container">
<div class="c-name">
<a href="#" class="logo">
<h1 style="font-weight: 1000;">Phoolwala </h1>
</a>
</div>
<div class="navigation">
<ul class="nav-links">
<li><a href="index2.html#main" class="nav-item">
<h1>Home</h1>
</a></li>
<div class="shop">
<li><a href="index2.html#main" class="nav-item ">
<h1>Shop</h1>
</a></li>
</div>
<li><a href="#" class="nav-item">
<h1>About Us</h1>
</a></li>
<li><a href="cart.html" class="nav-item"><span
class="material-symbols-outlined icon"
42
class="carticon">shopping_cart</span></a></li>
<li><a href="#" class="nav-item">
<h1>Contact</h1>
</a></li>
<li><a href="registerform.html" class="nav-item">
<h1>Sign-In</h1>
</a></li>
<li><a href="loginform.html" class="nav-item">
<h1>Login</h1>
</a></li>
</ul>
</div>
<div class="shop-table">
<table>
<tr>
<th>Popular Flowers</th>
<th>Plants </th>
<th>Occasions</th>
</tr>
<tr>
<td>Roses</td>
<td>Orchids </td>
<td>Birthday</td>
</tr>
<tr>
<td>Sunflower</td>
<td>Bulb Garden</td>
<td>Get well </td>
</tr>
<tr>
<td>Tulips</td>
<td>Peace Lilies</td>
<td>Anniversary</td>
</tr>
<tr>
<td>Lilies</td>
<td>Money Trees</td>
<td>Baby</td>
</tr>
<tr>
<td>Orchids</td>
<td>Calla Lilies</td>
<td>More</td>
</tr>
43
<tr>
<td>Daisies</td>
<td>Rose Plants</td>
</tr>
<tr>
<td>All Flowers</td>
<td>Bonsai Trees</td>
</tr>
</table>
</div>
</div>
<section class="home" id="home">
<div class="slides-container">
<div class="slide active">
<div class="content">
<span>Order Online </span>
<h3>Upto 60% off</h3>
<a href="#" class="btn">Buy Now</a>
</div>
<div class="img">
</div>
</div>
<div class="slide">
<div class="content">
<span>Customize Ordering</span>
<h3>upto 80% off</h3>
<a href="#" class="btn">Buy Now</a>
</div>
<div class="img">
<img decoding="async" src="">
</div>
</div>
<div class="slide">
<div class="content">
<span>Fast Delivery</span>
<h3>upto 80% off</h3>
<a href="#" class="btn">Buy Now</a>
</div>
<div class="img">
<img decoding="async" src="">
</div>
</div>
44
</div>
<div id="next-slide" class="fas fa-angle-right" onclick="next()">
<span class="material-symbols-outlined">
arrow_forward_ios
</span>
</div>
<div id="prev-slide" class="fas fa-angle-left" onclick="next()">
<span class="material-symbols-outlined">
arrow_back_ios
</span>
</div>
</section>
<h1 class="best-seller"><b>Best Seller</b> </h1>
<div class="main" id="main" style="display: flex;">
<div class="flower-card">
<img class="flower-image"
src="https://media.geeksforgeeks.org/wp-content/uploads/20240405161442/
Rose1.png"
alt="Flower Image">
<div class="flower-name"
style="font-size: 20px; font-weight: bold;">Rose</div>
<div class="flower-price" style="font-size: 18px;">10Rs</div>
<div class="action-buttons">
<div class="flower-card">
<img class="flower-image"
45
src="https://media.geeksforgeeks.org/wp-content/uploads/20240405161937/Rose2.png
" alt="Flower Image">
<div class="flower-name"
style="font-size: 20px; font-weight: bold;">Rose</div>
<div class="flower-price" style="font-size: 18px;">10Rs</div>
<div class="action-buttons">
<textarea id="reviewInput"
placeholder="Write your review..."></textarea>
<input type="text" id="nameInput" placeholder="Your Name">
<button onclick="submitReview()">Submit Review</button>
50
</div>
</div>
<div id="reviewContainer" style="display: flex;">
/div>
<section class="about-us">
<h2 style="margin-left: 20px;"><b>About Phoolwala</b></h2>
<div class="abt-us-container">
<div class="grid-sec">
<div class="sec" id="sec1">
<h2>Policy Info</h2>
<a href="#">Terms & Conditions</a>
<a href="#">Privacy Policy</a>
<a href="#">Disclaimer</a>
<a href="#">Terms of Use</a>
</div>
<div class="sec" id="sec2">
<h2>ABOUT COMPANY</h2>
<a href="#">About-us</a>
<a href="#">Connect to team</a>
<a href="#">Careers</a>
<a href="#">News Room</a>
</div>
<div class="sec" id="sec3">
<h2>NEED HELP ?</h2>
<a href="#">Contact-Us</a>
<a href="#">FAQ</a>
</div>
<div class="sub-btn-section">
<h1 style="width: 100%;">Suscribe</h1>
<div class="sub-btn"><input type="email" name="" id=""
placeholder="Email"><button
type="submit">SUMBIT</button></div>
</div>
</div>
<div class=""></div>
</div>
</section>
<hr>
<div class="row">
<button class="open-button" onclick="openForm()">Ask Any
Queries</button>
<div class="form-popup" id="myForm">
<form action="/action_page.php" class="form-container">
<h1>Ask Query</h1>
51
<label for="email"><b>Email</b></label>
<input type="text" placeholder="Enter Email" name="email"
required>
<label for="psw"><b>write your querie</b></label>
<input type="text" placeholder="how to buy?" name="psw"
required>
<button type="submit" class="btn">Sumbit</button>
<button type="button" class="btn cancel"
onclick="closeForm()">Close</button>
</form>
</div>
<script>
function submitReview() {
var reviewText = document.getElementById("reviewInput").value;
var name = document.getElementById("nameInput").value;
if (!reviewText.trim() || !name.trim()) {
alert("Please enter both your name and review.");
return; }
var reviewContainer = document.getElementById("reviewContainer");
var card = document.createElement("div");
var h1 = document.createElement("h1");
var p = document.createElement("p");
card.appendChild(h1);
card.appendChild(p);
h1.innerHTML = "<strong>" + name;
card.className = "card";
p.innerHTML = ":</strong> " + reviewText;
card.classList.add("rcs")
reviewContainer.appendChild(card);
// Clear input fields after submitting review
document.getElementById("reviewInput").value = "";
document.getElementById("nameInput").value = "";
}
let totalPrice = 0;
const navbar = document.querySelector(".navbar");
const menuBtn = document.querySelector("#menu-btn");
const slides = document.querySelectorAll(".home .slides-container .slide");
const header = document.querySelector(".header");
let index = 0;
</html>
53
Code: INDEX2
//login form it is linked with index2.html that is the main page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
margin: 0;
padding: 0;
height: 100% ;
background-color: rgb(230, 230, 225);
}
.container{
width: 30%;
height: 70%;
align-self: center;
margin: 10%;
margin-left: 34%;
background-color: white;
display: flex;
align-items: center;
align-content: center;
border-radius: 3%;
flex-direction: column;
}
.header{
display: flex;
flex-direction: row;
}
.form{
align-items: center;
align-content: center;
align-self: center;
text-align: center;
}
54
input{
width: 40%;
margin-top: 5%;
height: 2em;
border-radius: 6px;
background-color: rgb(247, 247, 255);
border: 1px solid white;
padding: 1%;
}
.footer{
margin-top: 5%;
margin-bottom: 10%;
display: flex;
flex-direction: column;
}
.check-box{
display: flex;
flex-direction: row;
margin-left: 18%;
margin-top: 6%;
}
.sign-up-btn{
width: 50%;
background-color: black;
color: white;
border-radius: 5px;
margin-left: 34%;
height: 2.4em;
margin-bottom: 10%;
}
.sign-up-btn:hover{
cursor: pointer;
}
a{
text-decoration: none;
}
.foot{
display: flex;
flex-direction: row;
justify-content: space-around;
55
}
</style>
</head>
<body>
<div>
<div class="container">
<p id="login-message" style="display: none;">Logging in...</p>
<div class="header">
<div><img src="" alt=""></div>
<div><h1 style="font-weight: 1000;"><header >Phoolwala</header></h1></div>
</div>
<div class="form">
<div>
<span>
<h1>
Sign In
</h1>
</span>
<span>
Login and stay connected
</span>
</div>
<div>
<form action="">
<input type="email" style="width: 80%;" placeholder="Email">
<input type="password" placeholder="password" style="width: 80%;">
<div class="foot">
<div class="check-box"> <input type="checkbox" name="" id="" required
style="width: 11%;"><span style="margin-top: 5%;">Remember Me </span></div>
<div style="margin-top: 7.5%; "> <a href="#">Forget Password?</a></div>
</div>
</form>
</div>
</div>
<div class="footer">
<button type="sumbit" class="sign-up-btn" onclick="showLoginMessage()">
Sign In
</button>
<span>
Create an Account <b><a href="registerform.html">Sign Up</a></b>
56
</span>
</div>
</div>
</div>
<script>
function showLoginMessage() {
event.preventDefault();
document.getElementById("login-message").style.display = "block";
setTimeout(function () {
window.location.href = "index2.html";
}, 2000);
}
</script>
</body>
</html>
57
Code: registerform.html
//registerform.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
margin: 0;
padding: 0;
height: 100% ;
background-color: rgb(230, 230, 225);
}
.container{
width: 30%;
height: 70%;
align-self: center;
margin: 10%;
margin-left: 34%;
background-color: white;
display: flex;
align-items: center;
align-content: center;
border-radius: 3%;
flex-direction: column;
}
.header{
display: flex;
flex-direction: row;
}
.form{
align-items: center;
align-content: center;
align-self: center;
text-align: center;
}
input{
width: 40%;
margin-top: 5%;
height: 2em;
border-radius: 6px;
58
background-color: rgb(247, 247, 255);
border: 1px solid white;
padding: 1%;
}
.footer{
margin-top: 5%;
margin-bottom: 10%;
display: flex;
flex-direction: column;
}
.check-box{
display: flex;
flex-direction: row;
margin-left: 18%;
margin-top: 6%;
}
.sign-up-btn{
width: 50%;
background-color: black;
color: white;
border-radius: 5px;
margin-left: 34%;
height: 2.4em;
margin-bottom: 10%;
}
.sign-up-btn:hover{
cursor: pointer;
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<div>
<div class="container">
<div class="header">
<div><img src="" alt=""></div>
<div><h1><header>Phoolwalla
</header></h1></div>
</div>
<div class="form">
<div>
<span>
<h1>
Sign Up
59
</h1>
</span>
<span>
create your account
</span>
</div>
<div>
<form action="">
<input type="text" placeholder="First Name">
<input type="text" placeholder="Last Name">
<input type="email" style="width: 80%;" placeholder="Email">
<input type="password" placeholder="password">
<input type="password" placeholder="Confirm Password">
<div class="check-box"> <input type="checkbox" name="" id="" required
style="width: 11%;"><span style="margin-top: 5%;">I have read the terms and condition
</span></div>
</form>
</div>
</div>
<div class="footer">
<button type="sumbit " class="sign-up-btn">
Sign Up
</button>
<span style="margin-left: 1em;">
Already have an Account <b><a href="loginform.html">Sign in</a></b>
</span>
</div
</div>
</div>
</body>
</html>
60
Code: INDEX 3
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Cart Checkout</title>
<link rel="stylesheet" href="styles.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
display: flex;
justify-content: center;
align-items: flex-start;
padding: 20px;
}
.cart, .checkout-form {
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 20px;
margin: 10px;
}
.cart h2, .checkout-form h2 {
margin-top: 0;
}
.cart ul {
padding: 0;
}
.cart ul li {
list-style: none;
}
.checkout-form label {
display: block;
margin-bottom: 5px;
61
}
.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form textarea,
.checkout-form select {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
.checkout-form button {
background-color: #6c5ce7;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.checkout-form button:hover {
background-color: #5a3ec8;
}
</style>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Cart Checkout</title>
<link rel="stylesheet" href="styles.css">
<script>
function handleSubmit(event) {
event.preventDefault();
document.getElementById('checkout-form').style.display
62
= 'none';
document.getElementById('thank-you-message').style.display = 'block';
}
</script>
</head>
<body>
<header>
<h1>Checkout</h1>
</header>
<div class="container">
<div class="cart">
<h2>Cart Summary</h2>
<ul>
</ul>
</div>
<div id="checkout-form" class="checkout-form">
<h2>Shipping Information</h2>
<form action="#" method="POST" onsubmit="handleSubmit(event)">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="address">Address:</label>
<textarea id="address" name="address" required></textarea>
<label for="payment">Payment Method:</label>
<select id="payment" name="payment" required>
<option value="credit">Credit Card</option>
<option value="paypal">PayPal</option>
<option value="cash">Cash on Delivery</option>
</select>
<button type="submit">Place Order</button>
</form>
</div>
<div id="thank-you-message" style="display: none;">
<h2>Thank you for ordering!</h2>
<p>Your order has been placed successfully.</p>
</div>
</div>
63
<script>
// Function to handle adding items to cart
function addToCart(price) {
// Add the price of the selected flower to the total price
totalPrice += price;
64
Code: MAP
<!DOCTYPE html>
<html>
<head>
<!-- Loading map API -->
<script src=
"https://maps.googleapis.com/maps/api/js">
</script>
<script>
function GFG() {
var CustomOp = {
center:
new google.maps.LatLng(28.502212, 77.405603),
zoom: 17,
};
// Map object
var map =
new google.maps.Map(document.getElementById("DivID"), CustomOp);
var marker = new google.maps.Marker({
position:
new google.maps.LatLng(28.502211, 77.405512),
map: map,
});
}
</script>
</head>
<!-- load map -->
<body onload="GFG()">
<center>
<h1 style="color: green;">
GeeksforGeeks</h1>
<h3>Google Maps</h3>
<!-- Basic Container -->
<div id="DivID"
style="width: 400px;
height: 300px;">
</div>
</center>
</body>
</html>
65
Testing:
● And now it will display the results and we are moving to the
next phase.
66
The Voice Processing Module
67
Output
68
69
FUTURE SCOPE
The future scope of an e-commerce website encompasses potential
advancements and opportunities that can further enhance its
functionality, user experience, and impact in the digital marketplace.
Here are some areas of future growth and development for e-
commerce websites:
70
5. Artificial Intelligence (AI) in Customer Service: AI-powered
chatbots and virtual assistants will play a more prominent role in
customer service on e-commerce websites. These AI-driven tools
will provide instant support, answer queries, resolve issues, and
guide users through the shopping journey, improving efficiency
and user satisfaction.
6. Social Commerce: Social media platforms will continue to evolve
as important channels for e-commerce, blurring the lines between
social networking and online shopping. E-commerce websites will
integrate more seamlessly with social media platforms, enabling
users to discover and purchase products directly within their
social feeds.
7. Sustainability and Ethical Practices: E-commerce websites will
increasingly prioritize sustainability, environmental responsibility,
and ethical sourcing in their operations. This includes offering eco-
friendly products, implementing green packaging solutions, and
promoting fair trade practices, aligning with growing consumer
demand for ethical consumption.
8. Omnichannel Integration: E-commerce websites will further
integrate with offline channels such as brick-and-mortar stores,
pop-up shops, and mobile commerce platforms to provide a
seamless omnichannel shopping experience. Customers will be
able to browse, purchase, and return products across multiple
touchpoints, enhancing convenience and flexibility.
9. Hyper-Personalization with Big Data: E-commerce websites will
leverage big data analytics to gain deeper insights into customer
behavior, preferences, and trends. This data-driven approach will
enable hyper-personalization at scale, allowing businesses to
anticipate individual needs, segment audiences effectively, and
deliver targeted marketing campaigns.
10. Cross-Border Expansion: As globalization continues to
accelerate, e-commerce websites will expand their reach into new
international markets. This includes
71
localization efforts such as
multi-language support, currency conversion, and region-specific
product offerings, as well as compliance with diverse regulatory
frameworks and cultural sensitivities.
72
Conclusion:
In conclusion, the evolution of e-commerce websites has
revolutionized the way businesses operate and consumers shop
in the digital age. From humble beginnings to sophisticated
platforms, e-commerce websites have become indispensable
tools for businesses to reach global markets, expand their
customer base, and drive sales and revenue. Throughout this
journey, we have witnessed remarkable advancements in
technology, user experience design, and business strategies that
have shaped the e-commerce landscape.
Today, e-commerce websites offer a plethora of features and
functionalities aimed at delivering seam less and personalized
shopping experiences for users. From intuitive user interfaces to
secure payment processing, from personalized product
recommendations to omnichannel integration, e-commerce
websites continue to innovate and adapt to meet the evolving
needs and preferences of consumers.
Looking ahead, the future of e-commerce websites holds even
greater promise, with advancements in technologies such as
artificial intelligence, augmented reality, and blockchain poised
to further transform the way we shop online. As businesses
embrace these opportunities and continue to prioritize
customer-centricity, sustainability, and ethical practices, e-
commerce websites will play an increasingly integral role in
shaping the future of retail.
In conclusion, e-commerce websites have become essential
engines of commerce, connecting businesses and consumers in
73
a digital marketplace that knows no bounds. As we embark on
this journey of innovation and growth, let us continue to push
the boundaries of what is possible, empower businesses to
thrive, and elevate the online shopping experience for
consumers worldwide.
74
75