Skip to content

Commit e518d42

Browse files
Add Bootstrap CSS and JS to index.html
1 parent e867d85 commit e518d42

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/html/index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
<meta charset="UTF-8">
55
<title>CityGenerator</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
<!-- Bootstrap CSS (CDN) -->
9+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
10+
711
<link rel="stylesheet" href="style.css">
812
</head>
913
<body>
1014
<div class="container py-3">
1115
<h1>CityGenerator <span class="badge bg-secondary">Deep Q-Learning</span></h1>
1216
<div class="mb-3">
13-
<!-- Map Canvas (for citygenerator visualization) -->
17+
<!-- Map Canvas -->
1418
<canvas id="map-canvas" width="500" height="300"></canvas>
1519
<button id="pause-btn" type="button" class="btn btn-warning me-2">Pause</button>
1620
<button id="resume-btn" type="button" class="btn btn-success me-2">Resume</button>
@@ -29,5 +33,10 @@ <h5 class="mt-3"></h5>
2933
<canvas id="rewardTrendChart" width="600" height="220" style="margin-top:16px;"></canvas>
3034
</div>
3135
</div>
36+
37+
<!-- JS bundle -->
38+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
39+
40+
<script src="main.js"></script>
3241
</body>
3342
</html>

0 commit comments

Comments
 (0)