Skip to content

Commit

Permalink
catoscope comments update
Browse files Browse the repository at this point in the history
  • Loading branch information
jemappellen committed Feb 25, 2025
1 parent 8bcd23b commit 14dc16b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codédex-projects/JS projects/horoscope.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
// 🐱 Catoscope
// What the Stars Say About Your Nine Lives! 🐾

//Enter month of birth to launch the catoscope

let monthOfBirth = 'march'.trim().toUpperCase();

//Using arrow function notation
//The month of birth is logged to the console

const zodiacSignReveal = () => {
console.log(`The world was blessed to receive you in ${monthOfBirth}!
Expand All @@ -12,7 +14,7 @@ const zodiacSignReveal = () => {
`);
}

//Switch statement
//The horoscope is logged to the console based on the month of birth

switch (monthOfBirth) {
case 'JANUARY':
Expand Down

0 comments on commit 14dc16b

Please sign in to comment.