-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainpage.php
42 lines (34 loc) · 1.31 KB
/
mainpage.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!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">
<link rel= "stylesheet" href="style.css">
<title>CatalystLearning homepage</title>
</head>
<style>
/*OVERRIDING STYLESHEET*/
img {max-width: 80%;}
.subtext {font-size: 24px; margin: 1em;}
button {margin: 0.5em; width: 13rem; height: 2.6rem;}
.mainpage-ctnr {width: 60vw;}
</style>
<body>
<div class="central-ctnr mainpage-ctnr encapsulation">
<div class="left">
<div class="splashpara">A <span class="emphasis">modern</span> solution to education.</div>
<img src="src/avast-cdn.webp" alt="rack of servers">
</div>
<form class="right" action="./registerpage.php">
<div class="subtext">Get started</div><br>
<button>Register</button>
<button>Login</button>
</form>
</div>
</body>
<script>
document.getElementById("reg").addEventListener("click", function(){window.location.href= "./registerpage.php"});
document.getElementById("login").addEventListener("click", function(){window.location.href= "./registerpage.php"});
</script>
</html>