homework4/index.html
2025-03-24 20:05:52 +09:00

40 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<meta charset="utf-8" />
</head>
<body>
<div class="container">
<canvas id="chartCanavs"></canvas>
</div>
<div class="form-container">
<form>
<label for="startYear">Year range: </label>
<select id="startYear" required>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
</select>
<div class="spacer"></div>
<b>Add the other controllers on your own...</b>
<div class="spacer"></div>
<button id="button" type="button">Update</button>
</form>
</div>
<script defer type="module" src="./main.js"></script>
</body>
</html>