commit bbad6a2d9a3d004d30e7ce92ace21bf742543b76
Author: root <root@hub.scroll.pub> Date: 2024-12-28 12:17:07 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..dc554e9 --- /dev/null +++ b/body.html @@ -0,0 +1,76 @@ +<header> + <h1>Welcome to Web Wonders</h1> + <p>Your journey into web development starts here!</p> +</header> + +<nav> + <ul> + <li><a href="#about">About</a></li> + <li><a href="#skills">Skills</a></li> + <li><a href="#projects">Projects</a></li> + <li><a href="#contact">Contact</a></li> + </ul> +</nav> + +<main> + <section id="about"> + <h2>About Me</h2> + <p>Hi! I'm a beginner web developer passionate about creating beautiful and functional websites. Join me as I explore the world of web development!</p> + </section> + + <section id="skills"> + <h2>Skills</h2> + <div class="skills-grid"> + <div class="skill"> + <h3>HTML</h3> + <p>Semantic and accessible markup</p> + </div> + <div class="skill"> + <h3>CSS</h3> + <p>Styling with modern techniques</p> + </div> + <div class="skill"> + <h3>JavaScript</h3> + <p>Interactive and dynamic content</p> + </div> + </div> + </section> + + <section id="projects"> + <h2>Projects</h2> + <div class="projects-grid"> + <div class="project"> + <h3>Portfolio Website</h3> + <p>My first responsive portfolio</p> + </div> + <div class="project"> + <h3>Interactive Quiz</h3> + <p>JavaScript-powered quiz app</p> + </div> + <div class="project"> + <h3>CSS Art</h3> + <p>Creative designs using pure CSS</p> + </div> + </div> + </section> + + <section id="contact"> + <h2>Contact Me</h2> + <form id="contact-form"> + <label for="name">Name:</label> + <input type="text" id="name" name="name" required> + + <label for="email">Email:</label> + <input type="email" id="email" name="email" required> + + <label for="message">Message:</label> + <textarea id="message" name="message" required></textarea> + + <button type="submit">Send</button> + </form> + </section> +</main> + +<footer> + <p>Let's create web wonders together!</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..56fb714 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://webwonders.scroll.pub +metaTags +editButton /edit.html +title Web Wonders - Beginner Web Developer Guide +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..bb130f1 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "4ade6b09-d31e-4674-a7dd-ced743bed195", + "object": "chat.completion", + "created": 1735388209, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nwebwonders.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://webwonders.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Web Wonders - Beginner Web Developer Guide\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Welcome to Web Wonders</h1>\n <p>Your journey into web development starts here!</p>\n</header>\n\n<nav>\n <ul>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#skills\">Skills</a></li>\n <li><a href=\"#projects\">Projects</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n</nav>\n\n<main>\n <section id=\"about\">\n <h2>About Me</h2>\n <p>Hi! I'm a beginner web developer passionate about creating beautiful and functional websites. Join me as I explore the world of web development!</p>\n </section>\n\n <section id=\"skills\">\n <h2>Skills</h2>\n <div class=\"skills-grid\">\n <div class=\"skill\">\n <h3>HTML</h3>\n <p>Semantic and accessible markup</p>\n </div>\n <div class=\"skill\">\n <h3>CSS</h3>\n <p>Styling with modern techniques</p>\n </div>\n <div class=\"skill\">\n <h3>JavaScript</h3>\n <p>Interactive and dynamic content</p>\n </div>\n </div>\n </section>\n\n <section id=\"projects\">\n <h2>Projects</h2>\n <div class=\"projects-grid\">\n <div class=\"project\">\n <h3>Portfolio Website</h3>\n <p>My first responsive portfolio</p>\n </div>\n <div class=\"project\">\n <h3>Interactive Quiz</h3>\n <p>JavaScript-powered quiz app</p>\n </div>\n <div class=\"project\">\n <h3>CSS Art</h3>\n <p>Creative designs using pure CSS</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\">\n <h2>Contact Me</h2>\n <form id=\"contact-form\">\n <label for=\"name\">Name:</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n \n <label for=\"email\">Email:</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n \n <label for=\"message\">Message:</label>\n <textarea id=\"message\" name=\"message\" required></textarea>\n \n <button type=\"submit\">Send</button>\n </form>\n </section>\n</main>\n\n<footer>\n <p>Let's create web wonders together!</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #50e3c2;\n --background-color: #f5f5f5;\n --text-color: #333;\n --font-family: 'Segoe UI', sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\nheader {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nnav {\n background: var(--primary-color);\n padding: 1rem;\n}\n\nnav ul {\n list-style: none;\n padding: 0;\n display: flex;\n justify-content: center;\n gap: 1rem;\n}\n\nnav a {\n color: white;\n text-decoration: none;\n font-weight: bold;\n}\n\nmain {\n padding: 2rem;\n}\n\nsection {\n margin-bottom: 2rem;\n}\n\nh2 {\n color: var(--primary-color);\n margin-bottom: 1rem;\n}\n\n.skills-grid, .projects-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;\n}\n\n.skill, .project {\n background: white;\n padding: 1rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n text-align: center;\n}\n\nform {\n display: grid;\n gap: 1rem;\n max-width: 400px;\n margin: 0 auto;\n}\n\ninput, textarea {\n padding: 0.5rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nbutton {\n background: var(--primary-color);\n color: white;\n padding: 0.5rem 1rem;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton:hover {\n background: var(--secondary-color);\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n text-align: center;\n padding: 1rem;\n}\n\n@media (max-width: 600px) {\n nav ul {\n flex-direction: column;\n align-items: center;\n }\n}\n---script.js---\ndocument.getElementById('contact-form').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Thank you for your message!');\n this.reset();\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 248, + "completion_tokens": 1233, + "total_tokens": 1481, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 248 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..84b9034 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# webwonders.scroll.pub +Website generated by DeepSeek from prompt: I want a website for a beginner web developer. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..747613c --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('contact-form').addEventListener('submit', function(event) { + event.preventDefault(); + alert('Thank you for your message!'); + this.reset(); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..10f9c47 --- /dev/null +++ b/style.css @@ -0,0 +1,109 @@ +:root { + --primary-color: #4a90e2; + --secondary-color: #50e3c2; + --background-color: #f5f5f5; + --text-color: #333; + --font-family: 'Segoe UI', sans-serif; +} + +body { + font-family: var(--font-family); + color: var(--text-color); + background-color: var(--background-color); + margin: 0; + padding: 0; + line-height: 1.6; +} + +header { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + padding: 2rem; + text-align: center; +} + +nav { + background: var(--primary-color); + padding: 1rem; +} + +nav ul { + list-style: none; + padding: 0; + display: flex; + justify-content: center; + gap: 1rem; +} + +nav a { + color: white; + text-decoration: none; + font-weight: bold; +} + +main { + padding: 2rem; +} + +section { + margin-bottom: 2rem; +} + +h2 { + color: var(--primary-color); + margin-bottom: 1rem; +} + +.skills-grid, .projects-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; +} + +.skill, .project { + background: white; + padding: 1rem; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); + text-align: center; +} + +form { + display: grid; + gap: 1rem; + max-width: 400px; + margin: 0 auto; +} + +input, textarea { + padding: 0.5rem; + border: 1px solid #ccc; + border-radius: 4px; +} + +button { + background: var(--primary-color); + color: white; + padding: 0.5rem 1rem; + border: none; + border-radius: 4px; + cursor: pointer; +} + +button:hover { + background: var(--secondary-color); +} + +footer { + background: var(--primary-color); + color: white; + text-align: center; + padding: 1rem; +} + +@media (max-width: 600px) { + nav ul { + flex-direction: column; + align-items: center; + } +} \ No newline at end of file