-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (25 loc) · 1.33 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
<html>
<head>
<!-- <script src="Script.js"></script> -->
<script src="euler.js"></script>
</head>
<body onload="applyStyles()">
<div id = "contentWrapper">
<h1 id="mainHead">----Sum of Multiples Calculator-----</h1>
<p id ="Intro">Enter two numbers and a limit. The page will calculate the sum of all numbers less than the limit that are multiples of the first two numbers!</p>
<!-- For a to be multiple number -->
<!-- <label for="num1">Enter First Number</label>
<input type="number" id="num1" for="num1" required><br><br> -->
<!-- For a to be list -->
<label for="list">Enter a list of integers (comma-separated): </label>
<input type="text" id="intElement" placeholder="e.g. 1,2" /><br><br>
<!-- Uncomment while checking two number divisibility -->
<!-- <label for="num2">Enter Second Number</label>
<input type="number" id="num2" for="num2" required><br><br> -->
<label for="list">Enter a list of integers (comma-separated): </label>
<input type="text" id="list" placeholder="e.g. 1,2,3,4,5,6,9,10" /><br><br>
<button id='checkSum'onclick="GetValues()">Check Sum</button><br><br>
<button id="clear" onclick="resetValues()">Reset</button>
</div>
</body>
</html>