CSS - Microproject A and B
CSS - Microproject A and B
On
CERTIFICATE
Date : / /2022
ACKNOWLEDGEMENT
With the successful completion of our micro-project, it becomes part of our duty
to express gratitude to all those who made this work possible. We are thankful to
the Maharashtra State Board of Technical Education for giving us such type of
creative curriculum of diploma in Information Technology Engineering.
Also thanks to the institution for giving an opportunity to associate with an
esteemed personality like Dr.D.R.Nandanwar. who has been a great source of
inspiration and guidance and also for providing us infrastructural facilities to work
in, without which this work would not have been possible.
We are wholeheartedly thankful to Dr.D.N.Rewadkar, Head of Information
Technology Department for giving us freedom, inspiration, and encouragement to
carry out this project.
We express our sincere gratitude to Mr.Y.U.Bodhe our Professor and Project
Guide,Information Technology Departmentfor his simulating guidance, continuous
encouragement, and supervision throughout the present work.
Annexure – I
1.Aim/Benefits:
Aim: Webpage For Online Grocery Ordering System Using JavaScript
Benefits:
3.Proposed Methodology:
First of all we have to select a topic which is Webpage for Online Grocery
ordering system using JavaScript. The teacher assigned one set of Micro
Project and ask the student to create a report of Survey on Webpage For Online
Grocery Ordering system using JavaScript. We collected information about the
topic using sources such internet and books then we asked the subject teacher
about Different Online Shopping websites which we have a micro project and
then we type the required part-A and done proper page set up and submitted to
subject teacher.
The implementation of the collected information in program had
implanted.After the setup of part- A we prepare a document of Webpage For
Online Grocery Ordering System Using JavaScript. After finishing all the
typing we arrange all the data in proper arrangement. We selected proper
margin font, lay out, A4 size etc. at last we got the printouts of the micro-
project and submitted to subject teacher
4. Action Plan:
5. Resources Required:
2. MS word - - -
4. Printer HP inkjet 1
6. Names of Team Members with Roll Nos.:
.
**********
Annexure – II
Part – B
Micro-Project Report
“Webpage For Online Grocery Ordering System Using JavaScript”
1.0/Rationale:
2.0 /Aims/Benefits:
Benefits:
1 Computer Windows 11 OS i5 1 -
system processor
2 Operating Windows 10 pro 1 -
system
3 Printer HP inkjet 1 -
.
It’s used in organization
It’s used in marketplace etc.
you can list down the things to be done
you can easy Order your grocery
9.0/Source code:
Index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>CSS Micro-Project</title>
<!-- font awesome cdn link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font- awesome/5.15.3/css/all.min.css">
<!-- custom css file link -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- header section starts -->
<header>
<div class="header-1">
<a href="#" class="logo">Groco The Grocery Store</a>
</div>
<div class="header-2">
<div id="menu-bar"></div>
<nav class="navbar">
<a href="#home">home</a>
<a href="#category">category</a>
<a href="#product">product</a>
<a <button onclick="s11()"class="btn">Cart</button></a>
</nav>
</div>
</header>
<!-- header section ends -->
<!-- home section starts -->
<section class="home" id="home">
<div class="image">
<img src="images/home5.jpg" alt="">
</div>
<div class="content">
<span>fresh and organic</span>
<h3>your daily need products</h3>
</div>
</section>
<!-- home section ends -->
<!-- banner section starts -->
<section class="banner-container">
<div class="banner">
<img src="images/banner-1.jpg" alt="">
<div class="content">
<h3>special offer</h3>
<p>upto 45% off</p>
<a href="#" class="btn">check out</a>
</div>
</div>
<div class="banner">
<img src="images/banner-2.jpg" alt="">
<div class="content">
<h3>limited offer</h3>
<p>upto 50% off</p>
<a href="#" class="btn">check out</a>
</div>
</div>
</section>
<!-- banner section ends -->
<!-- category section starts -->
<section class="category" id="category">
<h1 class="heading">shop by <span>category</span></h1>
<div class="box-container">
<div class="box">
<h3>vegetables</h3>
<p>upto 50% off</p>
<img src="images/category-1.jpg" alt="">
<a href="#" class="btn">shop now</a>
</div>
<div class="box">
<h3>juice</h3>
<p>upto 44% off</p>
<img src="images/juice.jpg" alt="">
<a href="#" class="btn">shop now</a>
</div>
<div class="box">
<h3>meat</h3>
<p>upto 35% off</p>
<img src="images/meat.jpg" alt="">
<a href="#" class="btn">shop now</a>
</div>
<div class="box">
<h3>fruits</h3>
<p>upto 12% off</p>
<img src="images/fruits.jpg" alt="">
<a href="#" class="btn">shop now</a>
</div>
</div>
</section>
<!-- category section ends -->
<!-- product section starts -->
<section class="product" id="product">
<h1 class="heading">latest <span>products</span></h1>
<div class="box-container">
<div class="box">
<span class="discount">-33%</span>
<img src="images/banana.jpg" alt="">
<h3 id="banana_n">organic banana</h3>
<div class="price">₹<b id="banana_p">40</b> <span> ₹55 </span> </div>
<div class="quantity">
<span>quantity : </span>
<input type="number" id="banana_q" min="1" max="1000" value="1">
<span> /kg </span>
</div>
<button onclick="show('banana_q','banana_n','banana_p')" class="btn">Buy</button>
<label class="container1">
<b><input type="Checkbox" id="ch1" value="organic Banana"class="checkbox"><h7 class="ch88">Add To
Cart</h7></b></label>
</div>
<div class="box">
<span class="discount">-45%</span>
<img src="images/tomato.jpg" alt="">
<h3 id=tomato_n>organic tomato</h3>
<div class="price">₹<b id="tomato_p">28</b> <span> ₹35 </span> </div>
<div class="quantity">
<span>quantity : </span>
<input type="number" id="tomato_q" min="1" max="1000" value="1">
<span> /kg </span>
</div>
<div class="box">
<span class="discount">-52%</span>
<img src="images/orange.jpg" alt="">
<h3 id=orange_n>organic orange</h3>
<div class="price">₹<b id="orange_p">73</b> <span> ₹80 </span> </div>
<div class="quantity">
<span>quantity : </span>
<input id="orange_q" type="number" min="1" max="1000" value="1">
<span> /kg </span>
</div>
<button onclick="show('orange_q','orange_n','orange_p')"class="btn">Buy</button>
<label class="container1">
<input type="Checkbox" id="ch3" value="organic Orange"class="checkbox"><h7 class="ch88">Add To
Cart</h7>
</div>
<div class="box">
<span class="discount">-13%</span>
<img src="images/milk.jpg" alt="">
<h3 id=milk_n>natural milk</h3>
<div class="price">₹<b id="milk_p">45</b> <span> ₹60 </span> </div>
<div class="quantity">
<span>quantity : </span>
<input id="milk_q" type="number" min="1" max="1000" value="1">
<span> /kg </span>
</div>
<button onclick="show('milk_q','milk_n','milk_p')" class="btn">Buy</button>
<label class="container1">
<input type="Checkbox" id="ch4" value=" Natural Milk"class="checkbox"><h7 class="ch88">Add To Cart</h7>
</div>
<div class="box">
<span class="discount">-20%</span>
<img src="images/grapes.jpg" alt="">
<h3 id=grapes_n>organic grapes</h3>
<div class="price">₹<b id="grapes_p">115</b> <span> ₹120 </span> </div>
<div class="quantity">
<span>quantity : </span>
<section class="footer">
<h1 class="credit"> created by <span> Group No. 2 </span> | Guided by Yogesh Bodhe Sir!
</h1>
</section>
<!-- footer section ends -->
<script language="javascript" type="text/javascript">
function s11()
{ let b=new Array();
// price
b[1]=document.getElementById("carrot_p");
b[2]=document.getElementById("butter_p");
b[3]=document.getElementById("apple_p");
b[4]=document.getElementById("almonts_p");
b[5]=document.getElementById("grapes_p");
b[6]=document.getElementById("milk_p");
b[7]=document.getElementById("orange_p");
b[8]=document.getElementById("tomato_p");
b[9]=document.getElementById("banana_p");
// quantity
let c=new Array();
c[1]=document.getElementById("carrot_q");
c[2]=document.getElementById("butter_q");
c[3]=document.getElementById("apple_q");
c[4]=document.getElementById("almonts_q");
c[5]=document.getElementById("grapes_q");
c[6]=document.getElementById("milk_q");
c[7]=document.getElementById("orange_q");
c[8]=document.getElementById("tomato_q");
c[9]=document.getElementById("banana_q");
var totalprice=0;
var mystring=new String("Cart Added product=");
let a=new Array();
//name
a[1]=document.getElementById("ch9");
a[2]=document.getElementById("ch8");
a[3]=document.getElementById("ch7");
a[4]=document.getElementById("ch6");
a[5]=document.getElementById("ch5");
a[6]=document.getElementById("ch4");
a[7]=document.getElementById("ch3");
a[8]=document.getElementById("ch2");
a[9]=document.getElementById("ch1");
for(let i=1;i<10;i++)
{
if(a[i].checked)
{
let d=b[i].innerHTML;
var e=c[i].value;
let f=d*e;
totalprice=totalprice+f;
}
}
alert(mystring+" Total price ="+totalprice);
}
function show(Q,N,P) {
var q = document.getElementById(Q).value;
var n = document.getElementById(N).innerHTML;
var p = document.getElementById(P).innerHTML;
alert("Your order has been successfully received of "+q+" Kgs of "+n+ " Your total "+q*p);
}
</script>
<!-- custom js file link -->
</body>
</html>
Output:
10.0 Conclusion:
**********