Skip to content

Commit

Permalink
mod 3
Browse files Browse the repository at this point in the history
  • Loading branch information
John Ottenlips authored and John Ottenlips committed Sep 17, 2023
1 parent a48326c commit 868dbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type IDays =
const main = async () => {
const day = new Date().getDay();
const dayName = days[day];
const intensity = day % 1 === 0 ? "hard" : day % 2 === 0 ? "medium" : "easy";
const intensity = day % 3 === 1 ? "hard" : day % 3 === 2 ? "medium" : "easy";
const exercises = randomFourExercises(intensity);
const color =
intensity === "hard" ? "{63}" : intensity === "medium" ? "{65}" : "{66}";
Expand Down

0 comments on commit 868dbd9

Please sign in to comment.