Documentation
Waypoint — Order Tracking Page
Version 1.0.0 · Vanilla HTML · 10 files · 57 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 10 files:
- LICENSE.txt1.3 KB
- README.md2.4 KB
- assets/css/style.css15 KB
- assets/fonts/hanken-grotesk-LICENSE.txt4.4 KB
- assets/fonts/hanken-grotesk-latin-wght-normal.woff234 KB
- assets/images/favicon.svg447 B
- assets/js/main.js18 KB
- documentation/index.html11 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- index.html4.6 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--color-bg#f0f9ff--color-card#ffffff--color-ink#0c2a3d--color-muted#4a6578--color-line#cfe6f3--color-sky#0369a1--color-sky-deep#075985--color-sky-dark#0b3a56--color-sky-soft#e0f2fe--color-amber#f59e0b--color-amber-ink#92400e--color-amber-soft#fef3c7--color-green#15803d--color-green-soft#dcfce7--color-danger#b91c1c
Interactive features
Tracking lookup
Edit the SHIPMENTS object at the top of assets/js/main.js, or replace lookup() with a call to your carrier's API that returns the same shape.
Number validation
normalise() in assets/js/main.js defines the accepted format (WP- plus eight digits). Change the pattern to match your carrier.
Route map
Each shipment points to a curve in ROUTES and a progress value between 0 and 1; the marker and travelled line follow automatically.
Customisation notes
Demo tracking numbers
WP-48213907 returns a delivered shipment, WP-77120456 an out-for-delivery shipment and WP-30598124 a delayed one. Any other well-formed number such as WP-00000000 shows the not-found state. Remove the hint paragraph in index.html when you connect real data.
Rename the steps
The five stage names live in the STEPS array; each shipment's step value says how many are complete.
Colours
Sky blue, amber and status colours are tokens at the top of assets/css/style.css.
What is front-end only
This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.
- Tracking lookups only match three bundled sample shipments; no carrier or network is contacted.
- Names, addresses, items and delivery dates are fictional sample data; help links point to example.com placeholders.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Hanken Grotesk typeface — OFL-1.1 (
assets/fonts/hanken-grotesk-LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.