Answers for "Demo of Flying products image to shopping cart in jquery"

0

Demo of Flying products image to shopping cart in jquery

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Demo of Flying products image to shopping cart in jquery</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">DiscussDesk</a>
</div>

<div class="collapse navbar-collapse" id="collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Link 1 <span class="sr-only">(current)</span></a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
<ul class="nav navbar-nav navbar-right" data-price="0">
<li><a href="#"><span class="glyphicon glyphicon-shopping-cart"></span> <strong>$0</strong></a></li>
</ul>
</div>
</div>
</nav>

<div class="container">
<h1 class="product-title">Products</h1>
<div class="row">
<div class="col-sm-3 product" data-price="5">
<a href="#"><img src="images/product.jpg" alt="" class="img-responsive"></a>
<div class="title">
Product 1
<span>$5</span>
</div>
<div class="description">
This amazing item is what you wanted since you borned.
</div>
<button class="btn btn-default btn-block"><span class="glyphicon glyphicon-shopping-cart"></span> Add to Cart</button>
</div>

<div class="col-sm-3 product" data-price="8">
<a href="#"><img src="images/product.jpg" alt="" class="img-responsive"></a>
<div class="title">
Product 2
<span>$8</span>
</div>
<div class="description">
This amazing item is what you wanted since you borned.
</div>
<button class="btn btn-default btn-block"><span class="glyphicon glyphicon-shopping-cart"></span> Add to Cart</button>
</div>

<div class="col-sm-3 product" data-price="2">
<a href="#"><img src="images/product.jpg" alt="" class="img-responsive"></a>
<div class="title">
Product 3
<span>$2</span>
</div>
<div class="description">
This amazing item is what you wanted since you borned.
</div>
<button class="btn btn-default btn-block"><span class="glyphicon glyphicon-shopping-cart"></span> Add to Cart</button>
</div>

<div class="col-sm-3 product" data-price="10">
<a href="#"><img src="images/product.jpg" alt="" class="img-responsive"></a>
<div class="title">
Product 4
<span>$10</span>
</div>
<div class="description">
This amazing item is what you wanted since you borned.
</div>
<button class="btn btn-default btn-block"><span class="glyphicon glyphicon-shopping-cart"></span> Add to Cart</button>
</div>
</div>
</div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>
Posted by: Guest on June-14-2021

Code answers related to "Demo of Flying products image to shopping cart in jquery"

Browse Popular Code Answers by Language