-
Notifications
You must be signed in to change notification settings - Fork 0
/
land.html
39 lines (32 loc) · 1.36 KB
/
land.html
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
<head>
<title>
Gargoyle Spotify Playlsit sharing
</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<div style="margin-top: 25%">
<div class="jumbotron">
<h1 style="text-align: center; font-size: 3em">
Welcome To Gargoyle
</h1>
<p style="text-align: center;">
Social Spotify playlist sharing platform <br/>
<input type="button" id="showBtn" value="Create an account through spotify" onclick="showTextBox()"/>
<input type="text" placeholder="Enter a username" id="userNameTb" hidden/>
<input type="button" id="submitBtn" value="Submit" onclick="createAccount()" hidden />
</p>
</div>
</div>
<script>
function showTextBox(){
let show_ele = document.getElementById("showBtn");
show_ele.hidden = true;
let text_ele = document.getElementById("userNameTb");
text_ele.hidden = false;
let submit_ele = document.getElementById("submitBtn");
submit_ele.hidden = false;
}
function createAccount(){
window.location.href = "http://localhost:3005/login";
}
</script>