Open Issues Need Help
View All on GitHubAI Summary: Create a responsive HTML page (tracking.html) for tracking pet shipments. The page should include a header with a title and 'Home' link, a form to enter a tracking number, a section to display results (initially hidden), and inline CSS for styling and responsiveness. Accessibility considerations (aria labels) are required.
AI Summary: Create a JSON file named `data/shipments.json` containing an array of three sample shipment objects. Each object should include the tracking number, pet name, status, location, and estimated delivery date. The data should be formatted correctly for use by a `tracking.js` file (presumably part of the pet shipping website project).
AI Summary: Create a Node.js script that updates the status of pet shipments in a JSON file (data/shipments.json). The script should accept a tracking number, status, and location as command-line arguments, update the corresponding shipment object, and handle potential errors. A README section should be added to document the script's usage.
AI Summary: Create a JavaScript file (scripts/tracking.js) that handles tracking number input validation, fetches shipment data from data/shipments.json via a GET request, and dynamically updates the tracking-results section in tracking.html with the shipment details or appropriate error messages. The script should handle various scenarios including invalid input, successful retrieval, and data fetching errors.
AI Summary: Create a CSS file (styles/tracking.css) to style a pet shipping tracking page (tracking.html). The CSS should include styling for the body background, a centered form, a track button, tracking results (with color-coded success/error messages), and responsive design for smaller screens. Finally, link the CSS file to tracking.html.