5. Advisor App

As a group complete the Advisor App in App Lab, which gives you random responses to your questions. Your group will work together, where one person will share the screen and do the coding, and everyone else gives advice and/or follows along on their own. The submitted version should have the names of all group members.

Use this App Lab starting app and make your own version of it by 1. Selecting the Remix button near the top-left, then 2. Choosing Rename, and lastly 3. Providing a meaningful name that you will remember.

Remix

Remix
Rename
Provide Name

The app you've been given looks like what is shown at left below. You need to add:

  1. A text box for the answer
  2. A reset button

so that it looks like what is shown at right below:

Starting App

Finished App

Starting App
Finished App

To make the above changes you should be using Design mode:

Design Mode

Then switch to Code mode to do the following:

  1. Add all your group member names to the comment at the top of the code
  2. When the Reset button is pressed, set both the question and answer text boxes to be blank: ""
  3. Modify the code to give at least 7 different possible answers, modifying the random number and the if statements accordingly.
Write Code

Submission

Get the link to your group's solution using the Share near the top-left of that page:

Share Link

Post the link to your App Lab solution using this google form. The title should be: Advisor. Be sure to type in all group member names on the submissions form as well as within your code!

Rubric:

0: No significant changes were made

1: Text output box and Reset button were added

2: App functions with 7+ choices

3: Extra credit: App has significantly enhanced visuals, and additional functionality