<commit_before>$(document).ready(main);
 
 function main() 

{
  $("#submit").click(function(event){
var slt_weather_val=$("#slt_weather").val();

if (slt_weather_val === 'rain') {
 alert("Portland has everything you need!");
} else if (slt_weather_val === 'sea') {
  alert("Storm Cove Will sooth your melancholy soul.");
} else if (slt_weather_val === 'indoors') {
  alert("You should go to the Catacombs Of Paris.");
}
  });
}

// I know I'm getting data back here but the if else is broken. if I take out the ; it complains that it wants one, if I put it in, it complains about the else if.



// Your example:
// if (age > 21) {
//   $('#drinks').show();
// } else if (age === 21) {
//   $('#drinks').show();
// } else {
//   $('#under-21').show();
// }


// then i need to show with an if else the tags 
// #portland, #storm, #catacombs {
// display: none;

//     }
<commit_msg>updated to show how to do multiple bolean values.<commit_after>$(document).ready(main);
 
 function main() 

{
  $("#submit").click(function(event){
var slt_weather_val=$("#slt_weather").val();
var humor_val=$("#humor").val();


//added a couple options to show I understand the concept of each form of logic. This could be expanded using this same logic/form though at that point it's just typing. I could refactor this with new stuff, but that isn't in the scope of this assignment.
if (slt_weather_val === 'rain') && (humor_val === 'fantasy' || 'dead') {
 alert("Portland has everything you need!");
} else if (slt_weather_val === 'sea') && (humor_val === 'fantasy') {
  alert("Storm Cove Will sooth your melancholy soul.");
} else if (slt_weather_val === 'sea') && (humor_val === 'dead') {
  alert("Set your sails for The Burmuda Triangle.");
} else if (slt_weather_val === 'indoors') {
  alert("You should go to the Catacombs Of Paris.");
}
  });
}


// then i need to show with an if else the tags 
// #portland, #storm, #catacombs {
// display: none;

//     }

{'fraction_non_alphanumeric': 0.17366803278688525, 'fraction_numerical': 0.0030737704918032786, 'mean_word_length': 3.7518248175182483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1614024', 'n_tokens_mistral': 665, 'n_tokens_neox': 632, 'n_words': 228}