-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomepage.html
More file actions
54 lines (52 loc) · 1.31 KB
/
Copy pathhomepage.html
File metadata and controls
54 lines (52 loc) · 1.31 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Homepage</title>
<style>
body{
padding:30px;
background:linear-gradient(to right, #e2e2e2, #c9d6ff);
}
h1{
text-align:center;
}
button{
color:blueviolet;
background-color:#c9d6ff;
padding:5px;
border-radius:5px;
font-size:1rem;
font-weight:bold;
border:none;
}
button:hover{
text-decoration: underline;
color:blue;
}
button, div{
margin-left:15%;
font-size:20px;
padding:10px;
}
div{
font-weight:400;
color:rgb(12,11,11);
}
span{
font-weight:600;
font-size:22px;
color:black;
}
</style>
<script type="module" src="./homepage.js"></script>
</head>
<body>
<h1>Welcome to the Homepage</h1>
<div>First Name: <span id="loggedUserFName"></span></div>
<div>Last Name: <span id="loggedUserLName"></span></div>
<div>Email: <span id="loggedUserEmail"></span></div>
<button id="logout">Logout</button>
</body>
</html>