-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
215 lines (184 loc) · 11.8 KB
/
index.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>David Halls Sample </title>
<link href="https://fonts.googleapis.com/css?family=Hanalei+Fill" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
</head>
<body style="background:#617487" >
<div class="navbar navbar-default navbar-fixed-top r" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand david" href="#">David Halls</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#" class='late'>Home</a></li>
<li><a href="#coast" class='late'>Fun</a></li>
<li class="dropdown">
<a href="#girl" class='late'>Family</a>
</li>
<li><a href="#foot" class='late'>Football</a></li>
</ul>
</div>
</div>
</div>
<div class="container">
<div id="carousel-example-generic" class="carousel slide" style="background:#2C3E50; width:50%; margin-left:auto; margin-right:auto" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="Images/family.jpg" style="height:300px; margin-left:auto; margin-right:auto; " class="text-center" alt="...">
<div class="carousel-caption">
<!-- <h3>Caption Text</h3>-->
</div>
</div>
<div class="item">
<img src="Images/portrait.jpg" style="height:300px; margin-left:auto; margin-right:auto" alt="...">
<div class="carousel-caption">
<!-- <h3>Caption Text</h3>-->
</div>
</div>
<div class="item">
<img src="Images/supergirls2.jpg" style="height:300px; margin-left:auto; margin-right:auto" alt="...">
<div class="carousel-caption">
<!-- <h3>Caption Text</h3>-->
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div> <!-- Carousel -->
<div class='container'>
<div class='row'>
<div class='col-md-4'><img class='row muskpic' id='muskpic' src='Images/musk.jpg'></div>
<div class='col-md-4 muskinfo'>Elon Reeve Musk, born June 28, 1971 is a business magnate, investor and engineer. He is the founder, CEO, and lead designer of SpaceX; co-founder, CEO, and product architect of Tesla, Inc.; and co-founder and CEO of Neuralink. In December 2016, he was ranked 21st on the Forbes list of The World's Most Powerful People. As of February 2018, he has a net worth of $20.8 billion and is listed by Forbes as the 53rd-richest person in the world.<br>He also launched his Tesla into Space!!</div>
</div>
<span class='col-md-4 starman' id='starman'></span>
<div class='clickinfo' >Click Me!</div>
</div>
<div class="row" >
<div class="col-md-4" >
<a href="#" class="thumbnail home-thumb" style="background:#617487; border:none"><img class='coaster' id='coast' src="Images/coaster.jpg" style="height:150px; "></a>
<h1>Lagoon</h1>
<h4>It's not Disneyland!</h4>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav" >
<li class="dropdown" >
<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="color:white" >About <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-header">Rides</li>
<li><a href="#">Wicked</a></li>
<li><a href="#">Cannibal</a></li>
<li><a href="#">Colassas</a></li>
</ul>
</li>
</ul>
</div>
<p class='lagoon'>My kids and I enjoy going to Lagoon. It's a local amusment park and there is something there for all of us. <br><br>
Lagoon is a privately owned amusement park in Farmington, Utah, United States, located about 43 miles (69 km) north of Salt Lake City. It has ten roller coasters, five of which are unique; Colossus the Fire Dragon, the last Schwarzkopf Double Looping coaster still in operation in the United States Roller Coaster, one of the oldest coasters in the world operating since 1921; Wicked, designed by Lagoon's engineering department and Werner Stengel in cooperation with ride manufacturer Zierer; BomBora, a family coaster designed in-house; and Cannibal, built in-house with one of the world's steepest drops.</p>
</div>
<div class="col-md-4">
<a href="#" class="thumbnail home-thumb" style="background:#617487; border:none"><img class='girls' id='girl' src="Images/AandB.jpg" style="height:150px" ></a>
<h1>My Girls!</h1>
<h4>They are Awesome</h4>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown" >
<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="color:white">About <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-header">Months</li>
<li><a href="#">August</a></li>
<li><a href="#">November</a></li>
<li><a href="#">May</a></li>
</ul>
</li>
</ul>
</div>
<p class='font'>My daugherts are awesome. They are 10 and 13 years old. One of them loves steak, it is her favorite food. The other is mostly a vegetarian. It's quite odd. <br><br>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div class="col-md-4" id="utes">
<a href="#" class="thumbnail home-thumb" style="background:#617487; border:none"><img id='foot' src="Images/utes.jpg" style="height:150px"> </a>
<h1>Football</h1>
<h4>Go Utes!</h4>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown" >
<a href="#" class="dropdown-toggle" id='r' data-toggle="dropdown" style="color:white">About <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-header" >Utah football</li>
<li><a href="#">Utah Utes</a></li>
<li><a href="#">Utah State</a></li>
<li><a href="#">BYU</a></li>
</ul>
</li>
</ul>
</div>
<p>The Utah Utes football program is a college football team that competes in the Pac-12 Conference (Pac-12) of the Football Bowl Subdivision (FBS) of NCAA Division I and represents the University of Utah. The Utah college football program began in 1892 and has played home games at the current site of Rice-Eccles Stadium since 1927. They have won twenty-four conference championships in five conferences during their history, and, as of the end of the 2017 season, they have a cumulative record of 668 wins, 459 losses, and 31 ties.</p>
</div>
</div>
</div>
<script>
const a = document.querySelector('.clickinfo');
const m = document.querySelector('.muskinfo');
const pic = document.querySelector('.muskpic');
const star = document.querySelector('.starman');
const lg = document.querySelector('.lagoon');
console.log(lg.innerHTML.length);
a.addEventListener('click', function(e){
a.classList.add('active');
m.classList.add('active');
pic.classList.add('active');
star.classList.add('active');
setTimeout(function(){
a.classList.remove('active');
m.classList.remove('active');
pic.classList.remove('active');
pic.setAttribute('src', 'Images/starman.jpg');
setTimeout(function(){
pic.setAttribute('src', 'Images/musk.jpg');
// pic.classList.add('star');
star.classList.remove('active');
}, 10000);
// pic.classList.add('star');
}, 5000);
});
star.addEventListener('click', function(e){
pic.classList.add('star');
m.classList.add('star');
star.classList.add('star');
star.classList.remove('active');
pic.setAttribute('src', 'Images/starman.jpg');
})
</script>
<link rel="stylesheet" href="js.js">
</body>
</html>