Mobile Web Application Documentation
Mobile Web Application Documentation
Table of Contents
1. Introduction....................................................................................................1
2. Setup and Environment..................................................................................2
3. Home page......................................................................................................2
4. Navbar with Swipe Hamburger Menu............................................................3
5. Input Form with Validation............................................................................4
6. Displaying Form Data....................................................................................5
7. Displaying Data from Third-Party API..........................................................6
8. Student Creative Choice.................................................................................6
9. Conclusion......................................................................................................7
Code Snippets.......................................................................................................7
Table of Figures
Figure 1: Home Page............................................................................................3
Figure 2: Hamburger Menu..................................................................................3
Figure 3: About Me...............................................................................................4
Figure 4: Input Form.............................................................................................4
Figure 5: User Input Data.....................................................................................5
Figure 6: Display Data..........................................................................................5
Figure 7: API data.................................................................................................6
Figure 8: Student Choice......................................................................................6
Figure 9: Index......................................................................................................7
Figure 10: Scripts..................................................................................................8
Figure 11: JavaScript............................................................................................8
Figure 12: CSS......................................................................................................9
1. Introduction
This documentation provides an overview of the individual assignment to develop, test, and
maintain a mobile web application using jQuery, jQuery Mobile, JavaScript, HTML5, and
CSS. The objective of the assignment is to create a Single Page Application (SPA) that
includes various features such as a swipe menu system, an input form with validation,
displaying local and external data, and a personal creative choice component. The application
is structured as a Single Page Application (SPA), providing a seamless user experience
without the need to load separate pages. This is achieved using jQuery Mobile's framework.
The development environment was set up with the required tools and technologies, including:
Text editor for code development,
Browser for testing and previewing,
Integrated suite of mobile software development tools, including jQuery, jQuery
Mobile, JavaScript, HTML5, and CSS.
3. Home page
The home page serves as the entry point to the mobile web application. It presents users with
an overview of the application's purpose and features. It features a simple "Welcome"
message and a navigation bar to guide users to different sections of the app.
Figure 1: Home Page
This navbar includes a swipe hamburger menu, represented by three horizontal lines. Users
can swipe horizontally across the screen to reveal the hidden menu, providing quick access to
various features.
The input form enables users to submit data to the application. It includes:
Fields for entering relevant information (e.g., name, email, age, etc.)
Validation mechanisms to ensure data accuracy (e.g., required fields, email format)
Error messages for users in case of invalid inputs
Submission button to process the entered data
Upon successful submission of the input form, the entered data is displayed on a
designated page. The displayed data includes the information submitted by the user,
providing a confirmation of their input.
The application fetches data from an external third-party API. This data is obtained using
JavaScript's fetch API. The retrieved information is then displayed within the application
using appropriate jQuery Mobile components.
As part of the assignment's creative choice, a modern and innovative navigation design
inspired by recent design trends is incorporated into the application. This navigation style
aims to enhance user engagement, visual appeal, and usability.
In conclusion, this documentation has outlined the development process and components of
the mobile web application created for the assignment. It encompasses the setup of the
development environment, description of the home page, hamburger menu, input form with
validation, display of form data, integration of third-party API data, and the student's creative
choice element.
Code Snippets
Figure 9: Index
Figure 10: Scripts