Skip to content

Commit

Permalink
Add HIIT Function
Browse files Browse the repository at this point in the history
  • Loading branch information
StarOne01 committed May 29, 2024
1 parent e0c232e commit 95c461c
Show file tree
Hide file tree
Showing 4 changed files with 466 additions and 8 deletions.
7 changes: 1 addition & 6 deletions assets/js/ExScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ const filterOptionsEx = (userInputValueEx, targ) => {
};

const showSuggestionsEx = (i) => {
if (i.id === "HIIT") {
return;
}
const userInputValue = i.value;
const filteredOptions = filterOptionsEx(userInputValue, i.id);
dataListEx.innerHTML = "";
Expand Down Expand Up @@ -124,9 +121,6 @@ var addInput = (e) => {

const addSelectedEx = (e) => {
e.preventDefault();
if (`${e.target.id.substring(0, e.target.id.length - 3)}` === "HIIT") {
return;
}
const selectedOption = document.getElementById(
`${e.target.id.substring(0, e.target.id.length - 3)}`
).value;
Expand Down Expand Up @@ -211,6 +205,7 @@ const addSelectedEx = (e) => {
}
);
});
console.log(ExDb)
let delet = document.querySelectorAll(".delet");

delet.forEach((i) => {
Expand Down
Loading

0 comments on commit 95c461c

Please sign in to comment.