NEA_Development_Report
NEA_Development_Report
Introduction
The purpose of this development report is to document the iterative process of creating the
main menu and associated features for a mapping/planning application. The development
followed a structured methodology to ensure all requirements were met. This included
implementing a user-friendly interface, dynamic features such as a changing background,
and interactive buttons for navigation and help. By addressing both functional and aesthetic
considerations, the solution aims to provide an engaging user experience.
The project utilized technologies such as HTML, CSS, JavaScript, and PHP to achieve its
goals. Each development phase involved prototyping, testing, and refinement to ensure that
the final product met the specified requirements. This report will detail the development of
the main menu and its components, including the planning button, help functionality,
dynamic background, and metrics section. Testing and feedback from stakeholders
informed each iteration of the process.
Code Implementation
<!DOCTYPE html>
<html lang="en">
<head>
<title>Mapping/Planning Application</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Welcome to the Mapping/Planning Tool</h1>
<button id="planningPageButton" onclick="onButtonClick()">Start Planning</button>
<button id="helpButton" onclick="showHelpPopup()">Help and More Info</button>
<div id="metrics">
<p>Total Plans Created: <span id="plansCount">0</span></p>
<p>Total Distance Planned: <span id="distancePlanned">0 miles</span></p>
</div>
<div id="helpPopup" style="display: none;">
<span class="close-button" onclick="closeHelpPopup()">×</span>
<p>To start planning, press the "Start Planning" button. For further assistance, visit our
<a href="help.html">Help Page</a>.</p>
</div>
<script src="script.js"></script>
</body>
</html>
Justifications
- **Title Page**: Provides clear branding and welcoming interface.
- **Metrics Section**: Displays usage statistics, ensuring users understand the tool’s
capabilities and their engagement.
- **Button Design**: Simple and functional buttons guide users to the next steps (e.g., start
planning or seek help).
Testing
Test cases were designed to verify the functionality of the main menu components:
Click "Start Planning" User clicks button Navigates to planning page As expected
Click "Help and More" User clicks button Displays help popup As expected
Close Help Popup User clicks close icon Help popup disappears As expected
Display Metrics N/A Metrics section shows dynamic data (mocked) As expected
Updated Code:
<?php
?>
<script>
</script>
Prototype/Iteration 2: Enhancements
Code Implementation
let currentIndex = 0;
function changeBackground() {
document.body.style.backgroundImage = `url('${backgroundImages[currentIndex]}')`;
function startBackgroundChange() {
setInterval(changeBackground, 5000);
window.onload = startBackgroundChange;
Justifications
Font Selection: Open Sans ensures readability and versatility for various display
sizes and resolutions.
Testing
Background Scaling on Resize Resize window Background adjusts to fit screen dimensions As expected
Issues and Actions
Background Overlap: Resolved by adding CSS rules for z-index and background
positioning.
Code Implementation
function showHelpPopup() {
document.getElementById('helpPopup').style.display = 'block';
function closeHelpPopup() {
document.getElementById('helpPopup').style.display = 'none';
Justifications
Popup Style: Keeps help content easily accessible without navigating away from the
main page.
Ease of Use: Close button ensures users can return to the main menu without
confusion.
Testing
Open Help Popup Click help button Popup appears with guide information As expected P
Code Implementation
<?php
?>
<script>
</script>
Testing
Fetch Plans Count Database query Displays correct plan count As expected Pa
Design Decisions
Button Colors: Light blue with navy or black text ensures high contrast and user-
friendly design.
All components were integrated and tested together. Metrics updated dynamically, the
background cycled seamlessly, and the help popup functioned correctly.
The iterative development process ensured that all requirements were met, resulting in a
robust and user-friendly solution.