Public
Futuristic vehicle dashboard UI
dashboardhtml-css-jsui
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data โ€“ all from the browser, and deployed in milliseconds.

DriveIQ Vehicle Dashboard

A futuristic but realistic automotive dashboard built with vanilla HTML, CSS, and JavaScript. Features a modern, vehicle-control interface with simulated (demo) sensor data โ€” clearly labelled as prototype data.

Try it

Launch the dashboard

Features

  • โš™ Settings & Themes โ€” gear button opens a settings panel to switch between Red, Blue, Green, Dark, and White themes. The active theme is saved to localStorage and restored after refresh.
  • ๐Ÿ• Live Clock โ€” real-time digital clock in the header.
  • ๐Ÿ“ Location โ€” shows current location, GPS status, and lat/long when a GPS fix is available. When no real GPS data exists it clearly shows "Location unavailable" rather than fake coordinates.
  • ๐Ÿ Speed Dashboard โ€” animated circular speed gauge (SVG) with current speed, speed limit, average, and maximum. Uses clearly-labelled simulated speed data.
  • ๐Ÿš— Vehicle Status โ€” cards for fuel level, battery, engine temperature, engine RPM, oil status, tire pressure, and connection status, each with a visual indicator.
  • ๐ŸŒฟ Ultra Fuel Save Mode โ€” retained toggle that switches to ACTIVE state with a visual indicator and an estimated fuel-savings percentage (demo values).
  • ๐Ÿงญ Trip Information โ€” distance travelled, trip duration, average speed, and estimated fuel consumed (simulated).
  • โšก Quick Actions โ€” responsive buttons for Vehicle Status, Trip, Fuel Economy, and Settings.
  • ๐Ÿ”” Alerts โ€” demo warnings such as low fuel and elevated engine temperature.
  • ๐Ÿท Branding โ€” clean footer: "DriveIQ" with a subtle "Made by Vandra".

Notes

  • All vehicle metrics (speed, fuel, battery, temperature, RPM, trip, fuel savings) are simulated demo data and are labelled as such in the UI. They do not read from a real vehicle.
  • GPS uses the browser's Geolocation API only when the user grants permission; otherwise the interface reports "Location unavailable".

Files

FilePurpose
main.tsHTTP handler that serves the static assets
index.htmlPage markup
styles.cssStyling, themes, and animations
script.jsClient-side interactivity

Tech

  • Vanilla HTML / CSS / JS (no frameworks or build step)
  • Served from a Val Town HTTP endpoint via serveFile