Edytuj README.md, a my uruchomimy Twoją aplikację. Zintegrowany LLM pomoże w generowaniu kodu. Subdomena [app].[username].pactown.com gratis.
Wybierz przykład, edytuj kod i zobacz podgląd
# Formularz Kontaktowy
Prosty formularz z walidacją po stronie klienta.
```html markpact:file path=index.html
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kontakt</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 min-h-screen flex items-center justify-center p-4">
<div class="bg-white rounded-xl shadow-lg p-8 w-full max-w-md">
<h1 class="text-2xl font-bold text-gray-800 mb-6">Skontaktuj się</h1>
<form id="contactForm" class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Imię</label>
<input type="text" name="name" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" name="email" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Wiadomość</label>
<textarea name="message" rows="4" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"></textarea>
</div>
<button type="submit"
class="w-full bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">
Wyślij wiadomość
</button>
</form>
<div id="success" class="hidden mt-4 p-4 bg-green-100 text-green-700 rounded-lg">
Dziękujemy! Wiadomość została wysłana.
</div>
</div>
<script>
document.getElementById('contactForm').addEventListener('submit', function(e) {
e.preventDefault();
this.style.display = 'none';
document.getElementById('success').classList.remove('hidden');
});
</script>
</body>
</html>
```
Prosty formularz z walidacją po stronie klienta.
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kontakt</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 min-h-screen flex items-center justify-center p-4">
<div class="bg-white rounded-xl shadow-lg p-8 w-full max-w-md">
<h1 class="text-2xl font-bold text-gray-800 mb-6">Skontaktuj się</h1>
<form id="contactForm" class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Imię</label>
<input type="text" name="name" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" name="email" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Wiadomość</label>
<textarea name="message" rows="4" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"></textarea>
</div>
<button type="submit"
class="w-full bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">
Wyślij wiadomość
</button>
</form>
<div id="success" class="hidden mt-4 p-4 bg-green-100 text-green-700 rounded-lg">
Dziękujemy! Wiadomość została wysłana.
</div>
</div>
<script>
document.getElementById('contactForm').addEventListener('submit', function(e) {
e.preventDefault();
this.style.display = 'none';
document.getElementById('success').classList.remove('hidden');
});
</script>
</body>
</html>
Zaloguj się aby wdrożyć własny projekt na subdomenę [app].[username].pactown.com
TipTap-based markdown editor z podświetlaniem składni i live preview.
Generuj projekty z opisu tekstowego. Darmowe modele przez OpenRouter.
Każda aplikacja dostaje własną subdomenę z SSL. Bez konfiguracji.
Każda aplikacja działa w izolowanym kontenerze Docker Swarm.
Logowanie przez Google, GitHub. Bez haseł do zapamiętywania.
Python, Node.js, Go, Rust, PHP, TypeScript, React, HTML.
Zacznij za darmo, upgrade gdy potrzebujesz więcej.