Final Challenge

Topic

Final Challenge

Topic Progress:

Passwords are an extremely important aspect of online security. Were it not for passwords, anyone would be able to gain access to any of your accounts, and tamper with your personal things.

Your final challenge for this section is to combine all the lessons you have gone through so far, to create an app that needs to be logged onto in order to gain access.

Your app should have 3 screens in total:

  • Your first screen should be a login creating screen, where the user is asked for a username, a password, and the password again, retyped. These should be stored as variables when a “submit” button is pressed, and if the two passwords match, the app should go to the second screen. If they don’t, your app should display “These passwords do not match! Try again.”

  • Once on the second screen, the user should be asked to type their username and password. These should be stored as variables and compared to the initial login set when a “Log on” button is pressed. If both the username and password match, the app should progress to screen 3, and if they don’t, your app should display “Incorrect username or password. Please try again.” Hint – you will need to use the “and” block, shown below, to compare the username and the password simultaneously

  • The third page should display a welcome message containing the username set on the first screen, such as “Welcome, (username)”.

Once you’ve completed the challenge, show your tutor before moving on to the next block of lessons!

@

Not recently active