Inspiration

The prompt inspired me to think in terms of health problems that are frequently overlooked. Mental illness is a huge issue, but I decided to focus on one aspect: education.

What it does

It provides a game/quiz and a learning opportunity with factoids.

How I built it

I built this project on code.org App Lab in JavaScript. First I planned the different elements and areas of the app and built the user interface. Second, I coded my event handlers and created variables to hold values for the quiz section. Third, I coded a procedure to determine whether the user input for the quiz section was right of wrong.

Challenges we ran into

I had trouble building the procedure because I couldn't figure out how to create a function that would work for all scenarios of the quiz. At first I used a loop, but a variable to hold the value of the specific quiz question was easier.

Accomplishments that we're proud of

I am very proud of the user interface and the function I built, because it makes the app easier to use and the code easier to read.

What we learned

I learned not to misplace a loop, and that buttons make an app much more user friendly. I also learned the power of copy-paste within my own code.

What's next for Mental Health Matters App

I would like to learn how to code a place for people to donate money to mental illness charities, and maybe learn how to implement outside APIs into my code to expand its possibilities.

Built With

Share this project:

Updates