-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
html button function added, new html/webpage created
- Loading branch information
Showing
5 changed files
with
63 additions
and
2 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
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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
document.querySelector(".login button").addEventListener("click",function(){ | ||
document.querySelector("a").href="login.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
body{ | ||
background-color: aqua; | ||
} | ||
|
||
.card-container{ | ||
background-color: black; | ||
} | ||
|
||
.row{ | ||
background-color: blue; | ||
} | ||
|
||
.col{ | ||
background-color: brown; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Login-Signup</title> | ||
<link rel="stylesheet" href="Login.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="card-container "> | ||
<div class="pack-card row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3 " > | ||
|
||
<div class="col "> | ||
<div class="card "> One</div> | ||
</div> | ||
|
||
<div class="col"> | ||
<div class="card "> Two</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |