Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 139 additions & 0 deletions tasks-by-users/Faikp/01-e-commerce website/account.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<!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.0">
<title>account page - RedStore</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is your prettier working? @faikp

<div class="container">
<div class="navbar">
<div class="logo">
<a href="index.html"> <img src="images/logo.png" width="125px"></a>
</div>
<nav>
<ul id="MenuItems">
<li><a href="index.html">Home</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="">About</a></li>
<li><a href="">Contact</a></li>
<li><a href="account.html">Account</a></li>
</ul>
</nav>
<a href="cart.html"><img src="images/cart.png" width="30px" height="30px"></a>
<img src="images/menu.png" class="menu-icon" onclick="menutoggle()">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add alt attribute

</div>
</div>
<!-- ------ account-page ------ -->
<div class="account-page">
<div class="container">
<div class="row">
<div class="col-2">
<img src="images/image1.png">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add alt in img tags.

</div>
<div class="col-2">
<div class="form-container">
<div class="form-btn">
<span onclick="login()">Login</span>
<span onclick="register()">Register</span>
<hr id="Indicator">
</div>
<form id="loginform">
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this placeholder attributes do ? @faikp

<button type="submit" class="btn">Login</button>
<a href="">forgot password</a>
</form>
<form id="regform">
<input type="text" placeholder="Username">
<input type="email" placeholder="Email">
<input type="password" placeholder="Password">
<button type="submit" class="btn">Register</button>
</form>
</div>
</div>
</div>
</div>
</div>

<!-- ------ footer ------- -->
<footer>
<div class="footer">
<div class="container">
<div class="row">
<div class="footer-col-1">
<h3>Download Our App</h3>
<p>Download App For Android And Ios Mobile Phone.</p>
<div class="app-logo">
<img src="images/play-store.png" alt="">
<img src="images/app-store.png" alt="">
Comment on lines +72 to +73

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add alt @faikp

</div>
</div>
<div class="footer-col-2">
<img src="images/logo-white.png">
<p>Our Purpose Is To Sustainably Make The Pleasure And
Benefits of Sports Accessible to the Many. </p>
</div>
<div class="footer-col-3">
<h3>Useful Links</h3>
<ul>
<li>Coupons</li>
<li>Blog post</li>
<li>Return Policy</li>
<li>Join Affiiate</li>
</ul>
</div>
<div class="footer-col-4">
<h3>Follow Us</h3>
<ul>
<li>Facebook</li>
<li>Twitter</li>
<li>Instagram</li>
<li>Youtube</li>
</ul>
</div>
</div>
<hr>
<p class="Copyright">Copyright 2021 - Next Gen Dev</p>
</div>
</div>
</footer>
<!-- ------ js for toogle menu ------- -->
<script>
var MenuItems = document.getElementById("MenuItems")

menuitems.style.maxHeight ="0px";

function menutoggle(){
if(MenuItems.style.maxHeight == "0px")
{
MenuItems.style.maxHeight = "200px"
}
else{
MenuItems.style.maxHeight = "0px"
}
}
</script>
<!-- ------ js for togglr form ------ -->
<script>
var loginform = document.getElementById("loginform");
var regform = document.getElementById("regform");
var Indicator = document.getElementById("Indicator");

function register(){
regform.style.transform = "translateX(0px)"
loginform.style.transform = "translateX(0px)"
Indicator.style.transform = "translateX(100px)"
}
function login(){
regform.style.transform = "translateX(300px)"
loginform.style.transform = "translateX(300px)"
Indicator.style.transform = "translateX(0px)"
}
</script>
</body>
</html>
165 changes: 165 additions & 0 deletions tasks-by-users/Faikp/01-e-commerce website/cart.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<!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.0">
<title>cart page - RedStore</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700&display=swap" rel="stylesheet">
Copy link
Contributor

@anask601 anask601 Jan 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use import url in css file

    @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700&display=swap");

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="container">
<div class="navbar">
<div class="logo">
<a href="index.html"> <img src="images/logo.png" width="125px"></a>
</div>
<nav>
<ul id="MenuItems">
<li><a href="index.html">Home</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="">About</a></li>
<li><a href="">Contact</a></li>
<li><a href="account.html">Account</a></li>
</ul>
</nav>
<a href="cart.html"><img src="images/cart.png" width="30px" height="30px"></a>
<img src="images/menu.png" class="menu-icon" onclick="menutoggle()">
</div>
</div>
<!-- ------ cart items details ------ -->
<div class="small-container cart-page">
<table>
<tr>
<th>Product</th>
<th>Quantity</th>
<th>Subtotal</th>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/buy-1.jpg" alt="">
<div>
<p>Red Printed Tshirt</p>
<small>Price: $50.00</small>
<br>
<a href="">Remove</a>
</div>
</div>
</td>
<td><input type="number" value="1"></td>
<td>$50.00</td>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/buy-2.jpg" alt="">
<div>
<p>Black HRX Shoes</p>
<small>Price: $50.00</small>
<br>
<a href="">Remove</a>
</div>
</div>
</td>
<td><input type="number" value="1"></td>
<td>$50.00</td>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/buy-3.jpg" alt="">
<div>
<p>Grey Trouser Mens</p>
<small>Price: $50.00</small>
<br>
<a href="">Remove</a>
</div>
</div>
</td>
<td><input type="number" value="1"></td>
<td>$50.00</td>
</tr>
</table>
<div class="total-price">
<table>
<tr>
<td>Subtotal</td>
<td>$200.00</td>
</tr>
<tr>
<td>Tax</td>
<td>$30.00</td>
</tr>
<tr>
<td>Total</td>
<td>$230.00</td>
</tr>
</table>
</div>
</div>




<!-- ------ footer ------- -->
<footer>
<div class="footer">
<div class="container">
<div class="row">
<div class="footer-col-1">
<h3>Download Our App</h3>
<p>Download App For Android And Ios Mobile Phone.</p>
<div class="app-logo">
<img src="images/play-store.png" alt="">
<img src="images/app-store.png" alt="">
</div>
</div>
<div class="footer-col-2">
<img src="images/logo-white.png">
<p>Our Purpose Is To Sustainably Make The Pleasure And
Benefits of Sports Accessible to the Many. </p>
</div>
<div class="footer-col-3">
<h3>Useful Links</h3>
<ul>
<li>Coupons</li>
<li>Blog post</li>
<li>Return Policy</li>
<li>Join Affiiate</li>
</ul>
</div>
<div class="footer-col-4">
<h3>Follow Us</h3>
<ul>
<li>Facebook</li>
<li>Twitter</li>
<li>Instagram</li>
<li>Youtube</li>
</ul>
</div>
</div>
<hr>
<p class="Copyright">Copyright 2021 - Next Gen Dev</p>
</div>
</div>
</footer>
<!-- ------ js for toogle menu ------- -->
<script>
var MenuItems = document.getElementById("MenuItems")

menuitems.style.maxHeight ="0px";

function menutoggle(){
if(MenuItems.style.maxHeight == "0px")
{
MenuItems.style.maxHeight = "200px"
}
else{
MenuItems.style.maxHeight = "0px"
}
}
</script>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a href='https://www.freepik.com/free-photos-vectors/banner'>Banner psd created by freepik - www.freepik.com</a>

Products image: www.myntra.com
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading