-
Notifications
You must be signed in to change notification settings - Fork 0
/
tinderforfriendsthree.html
67 lines (64 loc) · 2.85 KB
/
tinderforfriendsthree.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<link rel= "stylesheet" type= "text/css" href="tinderforfriends.css"/>
<script type="text/javascript" src="userName.js"></script>
<link rel="stylesheet" type="text/css" href="webpagestyle.css">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script type="text/javascript" src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="tinderforfriends.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<div class="container">
<a class="navbar-brand" href="#">BUDDIES</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="FinalP.html">Register</a>
</li>
<li class="nav-item">
<a class="nav-link" href="aboutPage.html">About</a>
</li>
</ul>
</div>
</div>
</nav>
<center>
<font color= "white">
<br><br><br><br><br><br><br><br><br><br><br>
<h1> What is the preferred gender of your new friend? </h1>
<span id="navigation">
<a href= "girlChoicePage.html" ><button onclick="girlFunction()">Female</button> </a>
<a href= "boyChoicePage.html" ><button onclick="boyFunction()">Male</button> </a>
<a href= "otherChoicePage.html" ><button onclick="otherFunction()">No Preference</button> </a><br><br>
<a href= "tinderforfriendstwo.html" ><button >Go Back</button> </a>
<p id="genders"></p>
</span>
<script>
function girlFunction() {
var genderEntered = "female";
document.getElementById("genders").innerHTML = "Great. We will find you a female friend!";
}
function boyFunction() {
var genderEntered = "male";
document.getElementById("genders").innerHTML = "Great. We will find you a male friend!";
}
function otherFunction() {
var genderEntered = "other";
document.getElementById("genders").innerHTML = "Great. We will find you a friend!";
}
</script>
</font>
</center>
</body>
</html>