Public
Like
CrazyTestVal
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.
Viewing readonly version of main branch: v4View latest version
This is a simple test application built on Val Town. It demonstrates basic functionality including:
- HTTP endpoints with Hono
- Serving HTML content
- Client-side JavaScript
- API integration
- Basic UI with TailwindCSS
/index.ts- Main backend entry point with Hono HTTP server/index.html- Frontend HTML page with interactive elements
- Current Time API: Fetches the current server time from a backend API endpoint
- Click Counter: Simple client-side counter with increment and reset functionality
- Responsive Design: Mobile-friendly layout using TailwindCSS
- Click the "Get Current Time" button to fetch the current server time from the API
- Use the increment and reset buttons to manage the counter
- View the source code by clicking the "View Source" link
- Backend: Hono (TypeScript)
- Frontend: HTML, JavaScript
- Styling: TailwindCSS
- Error Handling: Val Town catch script for client-side errors