Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
365 B
Raw Blame
const form = document.getElementById('booking-form');
const confirmation = document.getElementById('confirmation');

form.addEventListener('submit', (event) => {
  event.preventDefault();
  const data = new FormData(form);
  confirmation.textContent = `Booked for ${data.get('name')}. Confirmation sent to ${data.get('email')}.`;
  confirmation.hidden = false;
});