File size: 1,278 Bytes
3a9d56f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
```json
{
"name": "fedex-trackmaster-express",
"version": "1.0.0",
"description": "FedEx shipment tracking application",
"scripts": {
"start": "serve",
"dev": "serve -l 3000"
},
"dependencies": {
"serve": "^14.2.0"
}
}
```
To get the website running:
1. Make sure you have Node.js installed (download from https://nodejs.org/)
2. Create a new folder and place all the files in it
3. Place the package.json file in the root folder
4. Open terminal in this folder and run:
```
npm install
npm start
```
5. The website will be available at http://localhost:3000
The folder structure should look like:
```
/fedex-trackmaster-express
/components
- footer.js
- navbar.js
- index.html
- account.html
- services.html
- support.html
- style.css
- script.js
- package.json
```
The website includes multiple pages with full navigation between them:
- Home (Tracking) - index.html
- Account - account.html
- Services - services.html
- Support - support.html
All pages share common components:
- Navigation bar (custom-navbar)
- Footer (custom-footer)
- Shared styles and scripts
Each page can be accessed through the navigation links in the header and footer. The main tracking functionality is implemented in script.js. |