-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (77 loc) · 4.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Combined Rating Calculator</title>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="custom-form-calculator.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="form-calculator-container">
<p class="form-calculator-title form-calculator-pad">
Combined Rating Calculator
</p>
<p class="form-calculator-desc form-calculator-pad">
Enter each of your ratings separately below. You can also add a description of each for your notes, if you’d like. Then click <b>Calculate</b> to get your combined rating. Ratings are given in 10% increments, between 0 and 100.
</p>
<form class="custom-form-calculator">
<div class="form-calculator-row form-calculator-pad">
<div class="form-calculator-grid">
<label>Rating<br><span class="form-calculator-label-increment">In 10% increments</span></label>
<label>Optional description</label>
</div>
</div>
<div class="form-calculator-row form-calculator-pad">
<div class="form-calculator-error-msg"></div>
<div class="form-calculator-error-desc"></div>
<div class="form-calculator-grid">
<input class="form-calculator-percent" type="number" name="form-calculator-percent" value="">
<input type="text" name="form-calculator-note" value="">
<button class="form-calculator-btn-delete" type="button" name="delbtn" value="Delete" disabled>
<img src="https://img.icons8.com/sf-regular-filled/96/000000/delete.png"/> <span>Delete</span>
</button>
</div>
</div>
<div class="form-calculator-row form-calculator-pad">
<div class="form-calculator-error-msg"></div>
<div class="form-calculator-error-desc"></div>
<div class="form-calculator-grid">
<input class="form-calculator-percent" type="number" name="form-calculator-percent" value="">
<input type="text" name="form-calculator-note" value="">
<button class="form-calculator-btn-delete" type="button" name="delbtn" value="Delete" disabled>
<img src="https://img.icons8.com/sf-regular-filled/96/000000/delete.png"/> <span>Delete</span>
</button>
</div>
</div>
</form>
<button class="form-calculator-btn-add form-calculator-gap" type="button" form="custom-form-calculator" value="Add rating">
<img src="https://img.icons8.com/material-rounded/24/000000/plus--v1.png"/> <span>Add rating</span>
</button>
<div class="form-calculator-btns form-calculator-pad">
<button class="form-calculator-btn-calc" type="submit" form="custom-form-calculator" value="Calculate">
Calculate
</button>
<button class="form-calculator-btn-clear" type="button" form="custom-form-calculator" value="Clear all">
Clear all
</button>
</div>
<div class="form-calculator-results form-calculator-pad"></div>
</div>
<footer>
<p>Percentages of percentages.</p>
<p>The next rating is not added, the percentage is rounded up or down to the nearest ten percent.</p>
<button>
<a href="https://brandonwingerair.github.io/matrix-multi-calculator-js/combinedRatingsTable.js" target="_blank">View Chart</a>
</button>
<hr width="300">
<p>
<a href="https://github.com/BrandonWingerAir/matrix-multi-calculator-js" target="_blank">Code</a> by <a href="http://brandonwinger-air.com" target="_blank">Brandon Winger-Air</a>
</p>
</footer>
<script src="combinedRatingsTable.js"></script>
<script src="customFormCalculator.js"></script>
</body>
</html>