-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettlers2.html
More file actions
31 lines (27 loc) · 1.42 KB
/
settlers2.html
File metadata and controls
31 lines (27 loc) · 1.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Settlers</title>
<link rel="stylesheet" type="text/css" href="settlers.css">
<script src="jquery-1.12.0.js"></script>
</head>
<body>
<div class="board"></div>
<div id="color">
<button class="setRdColor" onclick="setRdColor('#0066ff')">Add Blue Road</button></br>
<button class="setRdColor" onclick="setRdColor('red')">Add Red Road</button></br>
<button class="setRdColor" onclick="setRdColor('#cc5200')">Add Orange Road</button></br>
<button class="setRdColor" onclick="setRdColor('#ff00bf')">Add Pink Road</button><br><br><br>
<button class="settleColor" onclick="settleColor('#0066ff')">Add Blue Settlement</button></br>
<button class="settleColor" onclick="settleColor('red')">Add Red Settlement</button></br>
<button class="settleColor" onclick="settleColor('#cc5200')">Add Orange Settlement</button></br>
<button class="settleColor" onclick="settleColor('#ff00bf')">Add Pink Settlement</button><br><br><br>
<button class="cityColor" onclick="setCityColor('#0066ff')">Add Blue City</button></br>
<button class="cityColor" onclick="setCityColor('red')">Add Red City</button></br>
<button class="cityColor" onclick="setCityColor('#cc5200')">Add Orange City</button></br>
<button class="cityColor" onclick="setCityColor('#ff00bf')">Add Pink City</button>
</div>
</body>
</html>
<script src="settlers5.js"></script>