• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Aungkaungsat

Aungkaungsat

untitled-9179

Public
Like
untitled-9179
Home
Code
2
README.md
main.ts
Environment variables
Branches
1
Pull requests
Remixes
History
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
2/9/2026
Viewing readonly version of main branch: v8
View latest version
README.md

export default async function(req: Request): Promise { return new Response(` Valentine's Day body { background-color: #fff5f5; touch-action: manipulation; } .heart-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }

❤️

Will you be my Valentine? 🌹

        <div class="flex gap-4 justify-center items-center h-20 relative">
            <button onclick="celebrate()" class="bg-pink-500 hover:bg-pink-600 text-white font-bold py-3 px-10 rounded-full shadow-lg transition-transform active:scale-90 z-20">
                Yes
            </button>
            <button id="noBtn" onmouseover="moveBtn()" onclick="moveBtn()" ontouchstart="moveBtn()" class="bg-gray-400 text-white font-bold py-3 px-10 rounded-full transition-all duration-200 z-20 shadow-md">
                No
            </button>
        </div>
    </div>

    <script>
        function moveBtn() {
            const btn = document.getElementById('noBtn');
            const x = Math.random() * (window.innerWidth - btn.offsetWidth - 20);
            const y = Math.random() * (window.innerHeight - btn.offsetHeight - 20);
            btn.style.position = 'fixed';
            btn.style.left = x + 'px';
            btn.style.top = y + 'px';
        }

        function celebrate() {
            const card = document.getElementById('card');
            card.innerHTML = \`
                <div class="text-7xl mb-4">🥰</div>
                <h1 class="text-3xl font-bold text-pink-600 mb-2">Yay! I love you! ❤️</h1>
                <p class="text-gray-500">See you on Valentine's Day! ✨</p>
            \`;
            document.body.style.backgroundColor = "#ffe4e6";
            confettiEffect();
        }
    </script>
</body>
</html>

`, { headers: { "Content-Type": "text/html" }, }); }

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.