-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from VinayCheripally/swocIssue
Changed the spelling
- Loading branch information
Showing
3 changed files
with
139 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,46 @@ | ||
<!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"> | ||
<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>Search and Filter</title> | ||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="filter.css"> | ||
</head> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link rel="stylesheet" href="filter.css" /> | ||
</head> | ||
|
||
<body> | ||
<body> | ||
<div class="wrapper"> | ||
<div id="search-container"> | ||
<input type="search" id="search-input" placeholder="Seacrh product name here.."> | ||
<button id="search">search</button> | ||
</div> | ||
<div id="buttons"> | ||
<button class="button-value" onclick="filterPlace('all')">All</button> | ||
<button class="button-value" onclick="filterPlace('North')">North</button> | ||
<button class="button-value" onclick="filterPlace('East')">East</button> | ||
<button class="button-value" onclick="filterPlace('West')">West</button> | ||
<button class="button-value" onclick="filterPlace('South')">South</button> | ||
<button class="button-value" onclick="filterPlace('Center')">Center</button> | ||
</div> | ||
<div id="places"></div> | ||
<!-- <ul id="places"> --> | ||
<div id="search-container"> | ||
<input | ||
type="search" | ||
id="search-input" | ||
placeholder="Search product name here.." | ||
/> | ||
<button id="search">search</button> | ||
</div> | ||
<div id="buttons"> | ||
<button class="button-value" onclick="filterPlace('all')">All</button> | ||
<button class="button-value" onclick="filterPlace('North')"> | ||
North | ||
</button> | ||
<button class="button-value" onclick="filterPlace('East')">East</button> | ||
<button class="button-value" onclick="filterPlace('West')">West</button> | ||
<button class="button-value" onclick="filterPlace('South')"> | ||
South | ||
</button> | ||
<button class="button-value" onclick="filterPlace('Center')"> | ||
Center | ||
</button> | ||
</div> | ||
<div id="places"></div> | ||
<!-- <ul id="places"> --> | ||
|
||
<!-- </ul> --> | ||
<!-- </ul> --> | ||
</div> | ||
<script src=" filter.js "></script> | ||
</body> | ||
|
||
</html> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,73 @@ | ||
<!DOCTYPE html> | ||
<!-- Created By CodingNepal --> | ||
<html lang="en" dir="ltr"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Login and Registration Form in HTML | CodingNepal</title> | ||
<!-- <link rel="stylesheet" href="./style.css"> --> | ||
<link rel="stylesheet" href="../login/login.css"> | ||
<link rel="stylesheet" href="../login/login.css" /> | ||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" | ||
crossorigin="anonymous" | ||
/> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
</head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
</head> | ||
|
||
<body> | ||
<body> | ||
<!-- ///////////////////////////jayesh new work/////////////////////////// --> | ||
|
||
<div class="mb-5"> | ||
<h3 class="mb-3">Tourist Login</h3> | ||
<input type="text" placeholder="Username" id="userInp" class="form-control mb-3"> | ||
<input type="password" placeholder="Password" id="passInp" class="form-control mb-3"> | ||
<div class="custom-control custom-switch mb-3"> | ||
<input type="checkbox" class="custom-control-input" id="customSwitch1"> | ||
<label class="custom-control-label" for="customSwitch1">Keep me logged in</label> | ||
</div> | ||
<button type="text" id="sub_btn" class="btn w-100 btn-outline-primary mb-3">Sign In</button> | ||
<a href="./index.html" class="badge badge-secondary py-1 w-100 mb-3"><br>Create a new account?<br></a> | ||
<h3 class="mb-3">Tourist Login</h3> | ||
<input | ||
type="text" | ||
placeholder="Username" | ||
id="userInp" | ||
class="form-control mb-3" | ||
/> | ||
<input | ||
type="password" | ||
placeholder="Password" | ||
id="passInp" | ||
class="form-control mb-3" | ||
/> | ||
<div class="custom-control custom-switch mb-3"> | ||
<input | ||
type="checkbox" | ||
class="custom-control-input" | ||
id="customSwitch1" | ||
/> | ||
<label class="custom-control-label" for="customSwitch1" | ||
>Keep me logged in</label | ||
> | ||
</div> | ||
<button | ||
type="text" | ||
id="sub_btn" | ||
class="btn w-100 btn-outline-primary mb-3" | ||
> | ||
Sign In | ||
</button> | ||
<a href="./index.html" class="badge badge-secondary py-1 w-100 mb-3" | ||
><br />Create a new account?<br | ||
/></a> | ||
</div> | ||
|
||
<script type="module" src="login.js"></script> | ||
<script> | ||
document.getElementById("sub_btn").addEventListener("click", function () { | ||
var username = document.getElementById("userInp").value; | ||
var password = document.getElementById("passInp").value; | ||
|
||
</body> | ||
|
||
</html> | ||
if (username === "" || password === "") { | ||
alert("Please enter both username and password!"); | ||
} | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters