Changes to hearts4eva.scroll.pub

root
root
22 days ago
Initial commit
body.html
Changed around line 1
+
+

+ Breck
+
+ Stephanie
+
+

4eva

+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://hearts4eva.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Breck Loves Stephanie Forever
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "msg_01PMS7LeMHNyScoai2qL7a1W",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a romantic animated website with that message. For the domain, I suggest:\n\n---domain---\nhearts4eva.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://hearts4eva.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Breck Loves Stephanie Forever\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n
\n

\n Breck\n \n Stephanie\n

\n

4eva

\n
\n
\n\n---style.css---\n:root {\n --primary: #ff4d6d;\n --secondary: #ff758f;\n --background: #fff0f3;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n min-height: 100vh;\n background: var(--background);\n display: flex;\n justify-content: center;\n align-items: center;\n font-family: 'Arial', sans-serif;\n overflow: hidden;\n}\n\n.love-container {\n text-align: center;\n padding: 2rem;\n}\n\n.love-message {\n font-size: clamp(2rem, 8vw, 5rem);\n margin-bottom: 1rem;\n color: var(--primary);\n}\n\n.love-message span {\n display: inline-block;\n animation: float 2s ease-in-out infinite;\n}\n\n.love-message span:nth-child(2n) {\n animation-delay: 0.5s;\n}\n\n.heart {\n color: var(--primary);\n display: inline-block;\n transform-origin: center;\n animation: heartbeat 1.5s ease-in-out infinite;\n margin: 0 0.5rem;\n}\n\n.forever {\n font-size: clamp(1.5rem, 6vw, 3rem);\n color: var(--secondary);\n animation: glow 2s ease-in-out infinite;\n}\n\n@keyframes float {\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-10px); }\n}\n\n@keyframes heartbeat {\n 0%, 100% { transform: scale(1); }\n 50% { transform: scale(1.3); }\n}\n\n@keyframes glow {\n 0%, 100% { text-shadow: 0 0 5px rgba(255,77,109,0.5); }\n 50% { text-shadow: 0 0 20px rgba(255,77,109,0.8); }\n}\n\n.floating-hearts {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: -1;\n}\n\n---script.js---\nfunction createHeart() {\n const heart = document.createElement('div');\n heart.innerHTML = '♥';\n heart.style.position = 'absolute';\n heart.style.fontSize = Math.random() * 20 + 10 + 'px';\n heart.style.color = `rgba(255, ${Math.random() * 77 + 77}, ${Math.random() * 109 + 109}, ${Math.random() * 0.5 + 0.5})`;\n heart.style.left = Math.random() * 100 + 'vw';\n heart.style.animationDuration = Math.random() * 3 + 2 + 's';\n heart.style.animation = 'float-up linear forwards';\n \n document.querySelector('.floating-hearts').appendChild(heart);\n \n setTimeout(() => {\n heart.remove();\n }, 5000);\n}\n\ndocument.addEventListener('DOMContentLoaded', () => {\n setInterval(createHeart, 300);\n});\n\nconst style = document.createElement('style');\nstyle.textContent = `\n @keyframes float-up {\n 0% {\n transform: translateY(100vh) rotate(0deg);\n opacity: 1;\n }\n 100% {\n transform: translateY(-100vh) rotate(360deg);\n opacity: 0;\n }\n }\n`;\ndocument.head.appendChild(style);\n\n---end---\n\nThis creates a beautiful, romantic webpage with:\n- Floating animated letter effects\n- A pulsing heart symbol\n- A glowing \"4eva\" message\n- Randomly generated floating hearts in the background\n- Fully responsive design\n- Soft, romantic color scheme\n- Smooth animations\n- Clean, semantic HTML\n- No external dependencies\n- Mobile-friendly layout\n\nThe animations are performant and the code is well-structured. The floating hearts are generated dynamically using JavaScript and will float up the screen with random sizes, colors, and speeds."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 289,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 1329
+ }
+ }
readme.scroll
Changed around line 1
+ # hearts4eva.scroll.pub
+ Website generated by Claude from prompt: make a website with animated hearts and other beautiful css that says breck loves stephanie 4eva
script.js
Changed around line 1
+ function createHeart() {
+ const heart = document.createElement('div');
+ heart.innerHTML = '♥';
+ heart.style.position = 'absolute';
+ heart.style.fontSize = Math.random() * 20 + 10 + 'px';
+ heart.style.color = `rgba(255, ${Math.random() * 77 + 77}, ${Math.random() * 109 + 109}, ${Math.random() * 0.5 + 0.5})`;
+ heart.style.left = Math.random() * 100 + 'vw';
+ heart.style.animationDuration = Math.random() * 3 + 2 + 's';
+ heart.style.animation = 'float-up linear forwards';
+
+ document.querySelector('.floating-hearts').appendChild(heart);
+
+ setTimeout(() => {
+ heart.remove();
+ }, 5000);
+ }
+
+ document.addEventListener('DOMContentLoaded', () => {
+ setInterval(createHeart, 300);
+ });
+
+ const style = document.createElement('style');
+ style.textContent = `
+ @keyframes float-up {
+ 0% {
+ transform: translateY(100vh) rotate(0deg);
+ opacity: 1;
+ }
+ 100% {
+ transform: translateY(-100vh) rotate(360deg);
+ opacity: 0;
+ }
+ }
+ `;
+ document.head.appendChild(style);
style.css
Changed around line 1
+ :root {
+ --primary: #ff4d6d;
+ --secondary: #ff758f;
+ --background: #fff0f3;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ min-height: 100vh;
+ background: var(--background);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ font-family: 'Arial', sans-serif;
+ overflow: hidden;
+ }
+
+ .love-container {
+ text-align: center;
+ padding: 2rem;
+ }
+
+ .love-message {
+ font-size: clamp(2rem, 8vw, 5rem);
+ margin-bottom: 1rem;
+ color: var(--primary);
+ }
+
+ .love-message span {
+ display: inline-block;
+ animation: float 2s ease-in-out infinite;
+ }
+
+ .love-message span:nth-child(2n) {
+ animation-delay: 0.5s;
+ }
+
+ .heart {
+ color: var(--primary);
+ display: inline-block;
+ transform-origin: center;
+ animation: heartbeat 1.5s ease-in-out infinite;
+ margin: 0 0.5rem;
+ }
+
+ .forever {
+ font-size: clamp(1.5rem, 6vw, 3rem);
+ color: var(--secondary);
+ animation: glow 2s ease-in-out infinite;
+ }
+
+ @keyframes float {
+ 0%, 100% { transform: translateY(0); }
+ 50% { transform: translateY(-10px); }
+ }
+
+ @keyframes heartbeat {
+ 0%, 100% { transform: scale(1); }
+ 50% { transform: scale(1.3); }
+ }
+
+ @keyframes glow {
+ 0%, 100% { text-shadow: 0 0 5px rgba(255,77,109,0.5); }
+ 50% { text-shadow: 0 0 20px rgba(255,77,109,0.8); }
+ }
+
+ .floating-hearts {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+ z-index: -1;
+ }