Removed experimental feature label because well it has been working pretty properly for the past 3 months

This commit is contained in:
2023-07-19 19:40:20 -05:00
parent 1144aa3c58
commit 7237e07f01
2 changed files with 4 additions and 5 deletions

View File

@@ -62,7 +62,7 @@
<!-- Dropdown menu for semester selection --> <!-- Dropdown menu for semester selection -->
<form> <form>
<label for="dropdown">Semester (Experimental Feature):</label> <label for="dropdown">Semester:</label>
<select id="semester" name="dropdown"> <select id="semester" name="dropdown">
<option value="f2022">Fall 2022</option> <option value="f2022">Fall 2022</option>
<option value="s2022">Summer 2022</option> <option value="s2022">Summer 2022</option>

View File

@@ -2,15 +2,14 @@ const submitButton = document.getElementById('subBut');
const chartDiv = document.querySelector('#grades'); const chartDiv = document.querySelector('#grades');
const aboutDiv = document.querySelector('.about-text'); const aboutDiv = document.querySelector('.about-text');
const formDiv = document.querySelector('.bg-form'); const formDiv = document.querySelector('.bg-form');
if (chartDiv.getAttribute('value') == 'invisible') {
chartDiv.style.display = 'none';
}
var gradeChart; var gradeChart;
const ctx = document.getElementById("gradeBar"); const ctx = document.getElementById("gradeBar");
const gradeLabels = ["A", "A-", "B+", "B", "B-", "C+", "C", "C-", "D+", "D", "D-", "F"]; const gradeLabels = ["A", "A-", "B+", "B", "B-", "C+", "C", "C-", "D+", "D", "D-", "F"];
const backgroundColor = ["rgb(98, 244, 54)", "rgb(129, 231, 10)", "rgb(151, 218, 0)", "rgb(168, 204, 0)", "rgb(181, 190, 0)", "rgb(191, 176, 0)", "rgb(199, 162, 0)", "rgb(205, 148, 0)", "rgb(209, 133, 0)", "rgb(211, 119, 0)", "rgb(210, 105, 0)", "rgb(208, 91, 23)", "rgb(204, 78, 36)", "rgb(198, 66, 46)", "rgb(190, 54, 54)", ""]; const backgroundColor = ["rgb(98, 244, 54)", "rgb(129, 231, 10)", "rgb(151, 218, 0)", "rgb(168, 204, 0)", "rgb(181, 190, 0)", "rgb(191, 176, 0)", "rgb(199, 162, 0)", "rgb(205, 148, 0)", "rgb(209, 133, 0)", "rgb(211, 119, 0)", "rgb(210, 105, 0)", "rgb(208, 91, 23)", "rgb(204, 78, 36)", "rgb(198, 66, 46)", "rgb(190, 54, 54)", ""];
submitButton.addEventListener("click", parseName); submitButton.addEventListener("click", parseName);
if (chartDiv.getAttribute('value') == 'invisible') {
chartDiv.style.display = 'none';
}
/* /*
Parse the input form and class data Parse the input form and class data
*/ */