Lab 11: Conditionals Challenges

For this lab, we are to create a function that depends on conditionals. This means that we'll be doing fancy stuff with numbers in our Javascript.

Challenges

The only issue I had with this lab was with the content. I did not follow directions and use the Sorting Hat as we required. Personally, I did not feel comfortable supporting J.K.Rowling and her content as she is transphobic and openly vocal about her negative opinons about the queer and trans community. As a queer person myself, it feels ironic to be supporting her content as it offends not only me, but those around me. Just wanted to make that clear.

All of the other parts should be the same and the function still works as it supposed too. Instead of the sorting hat, I chose to "suggest" Halloween classics based on the user's input. It works the same way as the sorting hat feature and takes the input value and outputs one of the answers. This option is a lot more interactive and none of these are offensive. Grab some popcorn and Enjoy!

Results

This is our final website! Here is a direct link to our javascript code Below is what we scripted.

Script Output

It's Spooky Season!

hell yea

Since everyday of October is Halloween, we've compiled a really cool movie generator to celebrate the Spooky Season! This generator features 13 different classic movies that we grew up! Just enter your full name below and click the button to get your results!

My full name is