Guest User

Untitled

a guest
Jun 21st, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. let sign = prompt('What is your zodiac sign?');
  2.  
  3. switch (sign){
  4. case 'Leo':
  5. alert('You were once a creature of reason, Leo. For you, everything had an explanation, a reason to exist, and a place in the world. You never missed a chance to share your viewpoint. Then all of a sudden, silence. Perhaps you needed to get some perspective, not necessarily on the things you know, but on how you express that knowledge. Now words have come back into your life and your ideas are more moderate.');
  6. break;
  7. case 'Aries':
  8. alert('Are you sure that other people wouldn\'t like you to be in another space than where you are right now, Aries, or even be a different person than the one you always thought you were? These questions are beginning to bother you. Devote some time to thinking about them. The answers you come up with won\'t be entirely meaningful for a few more weeks. Try looking at the essential things today.');
  9. break;
  10. case 'Taurus':
  11. alert('People will understand and appreciate your desire to stand out');
  12. break;
  13. case 'Gemini':
  14. alert(' You love everyone on this planet, Gemini, and this isn\'t the day to come bothering you with all the little details of everyday life.');
  15. break;
  16. case 'Cancer':
  17. alert('Sometimes you make mistakes because of your lack of objectivity, Cancer. ');
  18. break;
  19. case 'Virgo':
  20. alert('How about changing roles today, Virgo? It\'s true that you aren\'t one for idle chat. ');
  21. break;
  22. case 'Libra':
  23. alert('You like to explain the world in your own special way, the way you see it and not necessarily the way it really is.');
  24. break;
  25. case 'Scorpio':
  26. alert('As the real Scorpio that you are, you aren\'t in the habit of talking without saying anything constructive.');
  27. break;
  28. case 'Sagittarius':
  29. alert('The people around you would really appreciate it if you\'d slow down and relax a little.');
  30. break;
  31. case 'Aquarius':
  32. alert('You know how to give and devote yourself to solving the problems others that confide in you. ');
  33. break;
  34. case 'Pisces':
  35. alert('You\'re practically vibrating with emotion. ');
  36. break;
  37. default:
  38. alert('Please write a valid sign');
  39. break;
  40. }
Add Comment
Please, Sign In to add comment