- Create the following folder/file structure:
- Create a basic HTML document
- Create a script tag on the document head element
- Ask the user to input his username
- Ask the user to input his password
- Show the following alert message
- After 10 seconds and for one time only show the following message to the user
Do you still want to be logged?
- If the user confirms that he wants to be logged show the following message:
%username% your session has been restored
- Else show the following message
%username% your session has expaired