commit db0c8be74f8510d32e4e7961cea5682f18009f1c
Author: root <root@hub.scroll.pub> Date: 2024-12-27 23:58:46 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..c4a9c5f --- /dev/null +++ b/body.html @@ -0,0 +1,86 @@ +<header> + <nav> + <ul> + <li><a href="#home">Home</a></li> + <li><a href="#lessons">Lessons</a></li> + <li><a href="#labs">Virtual Labs</a></li> + <li><a href="#community">Community</a></li> + <li><a href="#mentorship">Mentorship</a></li> + <li><a href="#careers">Careers</a></li> + </ul> + </nav> + <h1>STEM Spark</h1> + <p>Igniting curiosity and innovation in STEM for all ages</p> +</header> + +<main> + <section id="home"> + <h2>Welcome to STEM Spark</h2> + <p>Explore the wonders of science, technology, engineering, and math through interactive lessons, virtual labs, and a supportive community.</p> + <a href="#lessons" class="cta">Start Learning</a> + </section> + + <section id="lessons"> + <h2>Engaging Lessons</h2> + <p>Discover our curated lessons designed to make STEM accessible and fun for everyone.</p> + <div class="lesson-grid"> + <div class="lesson-card"> + <h3>Physics</h3> + <p>Understand the fundamental laws of nature.</p> + </div> + <div class="lesson-card"> + <h3>Chemistry</h3> + <p>Explore the building blocks of matter.</p> + </div> + <div class="lesson-card"> + <h3>Biology</h3> + <p>Dive into the science of life.</p> + </div> + <div class="lesson-card"> + <h3>Mathematics</h3> + <p>Master the language of the universe.</p> + </div> + </div> + </section> + + <section id="labs"> + <h2>Virtual Labs</h2> + <p>Experience hands-on learning with our interactive virtual labs.</p> + <div class="lab-grid"> + <div class="lab-card"> + <h3>Chemistry Lab</h3> + <p>Mix compounds and observe reactions.</p> + </div> + <div class="lab-card"> + <h3>Physics Lab</h3> + <p>Experiment with forces and motion.</p> + </div> + <div class="lab-card"> + <h3>Biology Lab</h3> + <p>Explore cellular structures and functions.</p> + </div> + </div> + </section> + + <section id="community"> + <h2>Community Forums</h2> + <p>Join our inclusive community to share knowledge and collaborate on projects.</p> + <a href="#community" class="cta">Join the Discussion</a> + </section> + + <section id="mentorship"> + <h2>Mentorship Programs</h2> + <p>Connect with experienced mentors to guide your STEM journey.</p> + <a href="#mentorship" class="cta">Find a Mentor</a> + </section> + + <section id="careers"> + <h2>Career Guidance</h2> + <p>Get insights into STEM careers and pathways to success.</p> + <a href="#careers" class="cta">Explore Careers</a> + </section> +</main> + +<footer> + <p>STEM Spark - Empowering the next generation of innovators</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..efbe5da --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://stemspark.scroll.pub +metaTags +editButton /edit.html +title STEM Spark - Demystifying Science, Technology, Engineering, and Math +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..f105540 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "32aa9728-4341-49c8-98d3-412878e34197", + "object": "chat.completion", + "created": 1735343906, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nstemspark.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://stemspark.scroll.pub\nmetaTags\neditButton /edit.html\ntitle STEM Spark - Demystifying Science, Technology, Engineering, and Math\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <ul>\n <li><a href=\"#home\">Home</a></li>\n <li><a href=\"#lessons\">Lessons</a></li>\n <li><a href=\"#labs\">Virtual Labs</a></li>\n <li><a href=\"#community\">Community</a></li>\n <li><a href=\"#mentorship\">Mentorship</a></li>\n <li><a href=\"#careers\">Careers</a></li>\n </ul>\n </nav>\n <h1>STEM Spark</h1>\n <p>Igniting curiosity and innovation in STEM for all ages</p>\n</header>\n\n<main>\n <section id=\"home\">\n <h2>Welcome to STEM Spark</h2>\n <p>Explore the wonders of science, technology, engineering, and math through interactive lessons, virtual labs, and a supportive community.</p>\n <a href=\"#lessons\" class=\"cta\">Start Learning</a>\n </section>\n\n <section id=\"lessons\">\n <h2>Engaging Lessons</h2>\n <p>Discover our curated lessons designed to make STEM accessible and fun for everyone.</p>\n <div class=\"lesson-grid\">\n <div class=\"lesson-card\">\n <h3>Physics</h3>\n <p>Understand the fundamental laws of nature.</p>\n </div>\n <div class=\"lesson-card\">\n <h3>Chemistry</h3>\n <p>Explore the building blocks of matter.</p>\n </div>\n <div class=\"lesson-card\">\n <h3>Biology</h3>\n <p>Dive into the science of life.</p>\n </div>\n <div class=\"lesson-card\">\n <h3>Mathematics</h3>\n <p>Master the language of the universe.</p>\n </div>\n </div>\n </section>\n\n <section id=\"labs\">\n <h2>Virtual Labs</h2>\n <p>Experience hands-on learning with our interactive virtual labs.</p>\n <div class=\"lab-grid\">\n <div class=\"lab-card\">\n <h3>Chemistry Lab</h3>\n <p>Mix compounds and observe reactions.</p>\n </div>\n <div class=\"lab-card\">\n <h3>Physics Lab</h3>\n <p>Experiment with forces and motion.</p>\n </div>\n <div class=\"lab-card\">\n <h3>Biology Lab</h3>\n <p>Explore cellular structures and functions.</p>\n </div>\n </div>\n </section>\n\n <section id=\"community\">\n <h2>Community Forums</h2>\n <p>Join our inclusive community to share knowledge and collaborate on projects.</p>\n <a href=\"#community\" class=\"cta\">Join the Discussion</a>\n </section>\n\n <section id=\"mentorship\">\n <h2>Mentorship Programs</h2>\n <p>Connect with experienced mentors to guide your STEM journey.</p>\n <a href=\"#mentorship\" class=\"cta\">Find a Mentor</a>\n </section>\n\n <section id=\"careers\">\n <h2>Career Guidance</h2>\n <p>Get insights into STEM careers and pathways to success.</p>\n <a href=\"#careers\" class=\"cta\">Explore Careers</a>\n </section>\n</main>\n\n<footer>\n <p>STEM Spark - Empowering the next generation of innovators</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n margin: 0;\n padding: 0;\n background-color: #f4f4f9;\n color: #333;\n}\n\nheader {\n background: linear-gradient(135deg, #6a11cb, #2575fc);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nheader h1 {\n font-size: 3rem;\n margin: 0;\n}\n\nheader p {\n font-size: 1.2rem;\n margin: 0.5rem 0 0;\n}\n\nnav ul {\n list-style: none;\n padding: 0;\n display: flex;\n justify-content: center;\n margin: 1rem 0;\n}\n\nnav ul li {\n margin: 0 1rem;\n}\n\nnav ul li a {\n color: white;\n text-decoration: none;\n font-weight: bold;\n}\n\n.cta {\n display: inline-block;\n padding: 0.5rem 1rem;\n background-color: #2575fc;\n color: white;\n text-decoration: none;\n border-radius: 5px;\n margin: 1rem 0;\n}\n\nsection {\n padding: 2rem;\n text-align: center;\n}\n\nsection h2 {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\n.lesson-grid, .lab-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;\n margin: 2rem 0;\n}\n\n.lesson-card, .lab-card {\n background: white;\n padding: 1rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.lesson-card:hover, .lab-card:hover {\n transform: translateY(-10px);\n}\n\nfooter {\n background: #333;\n color: white;\n text-align: center;\n padding: 1rem;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2rem;\n }\n\n nav ul {\n flex-direction: column;\n }\n\n nav ul li {\n margin: 0.5rem 0;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const sections = document.querySelectorAll('section');\n const navLinks = document.querySelectorAll('nav ul li a');\n\n navLinks.forEach(link => {\n link.addEventListener('click', function(e) {\n e.preventDefault();\n const targetId = this.getAttribute('href').substring(1);\n const targetSection = document.getElementById(targetId);\n targetSection.scrollIntoView({ behavior: 'smooth' });\n });\n });\n\n window.addEventListener('scroll', function() {\n let current = '';\n sections.forEach(section => {\n const sectionTop = section.offsetTop;\n const sectionHeight = section.clientHeight;\n if (pageYOffset >= sectionTop - sectionHeight / 3) {\n current = section.getAttribute('id');\n }\n });\n\n navLinks.forEach(link => {\n link.classList.remove('active');\n if (link.getAttribute('href').substring(1) === current) {\n link.classList.add('active');\n }\n });\n });\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 300, + "completion_tokens": 1606, + "total_tokens": 1906, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 300 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..c8d15e1 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# stemspark.scroll.pub +Website generated by DeepSeek from prompt: an interactive hub designed to demystify science, technology, engineering, and math for all ages, offering engaging lessons, virtual labs, and community forums to foster a diverse, inclusive learning environment. It features daily experiments, mentorship programs, and career guidance, all aimed at sparking curiosity and encouraging innovation in STEM fields among underrepresented groups. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..faedec0 --- /dev/null +++ b/script.js @@ -0,0 +1,31 @@ +document.addEventListener('DOMContentLoaded', function() { + const sections = document.querySelectorAll('section'); + const navLinks = document.querySelectorAll('nav ul li a'); + + navLinks.forEach(link => { + link.addEventListener('click', function(e) { + e.preventDefault(); + const targetId = this.getAttribute('href').substring(1); + const targetSection = document.getElementById(targetId); + targetSection.scrollIntoView({ behavior: 'smooth' }); + }); + }); + + window.addEventListener('scroll', function() { + let current = ''; + sections.forEach(section => { + const sectionTop = section.offsetTop; + const sectionHeight = section.clientHeight; + if (pageYOffset >= sectionTop - sectionHeight / 3) { + current = section.getAttribute('id'); + } + }); + + navLinks.forEach(link => { + link.classList.remove('active'); + if (link.getAttribute('href').substring(1) === current) { + link.classList.add('active'); + } + }); + }); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..919b6f9 --- /dev/null +++ b/style.css @@ -0,0 +1,103 @@ +body { + font-family: 'Arial', sans-serif; + margin: 0; + padding: 0; + background-color: #f4f4f9; + color: #333; +} + +header { + background: linear-gradient(135deg, #6a11cb, #2575fc); + color: white; + padding: 2rem; + text-align: center; +} + +header h1 { + font-size: 3rem; + margin: 0; +} + +header p { + font-size: 1.2rem; + margin: 0.5rem 0 0; +} + +nav ul { + list-style: none; + padding: 0; + display: flex; + justify-content: center; + margin: 1rem 0; +} + +nav ul li { + margin: 0 1rem; +} + +nav ul li a { + color: white; + text-decoration: none; + font-weight: bold; +} + +.cta { + display: inline-block; + padding: 0.5rem 1rem; + background-color: #2575fc; + color: white; + text-decoration: none; + border-radius: 5px; + margin: 1rem 0; +} + +section { + padding: 2rem; + text-align: center; +} + +section h2 { + font-size: 2rem; + margin-bottom: 1rem; +} + +.lesson-grid, .lab-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; + margin: 2rem 0; +} + +.lesson-card, .lab-card { + background: white; + padding: 1rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.lesson-card:hover, .lab-card:hover { + transform: translateY(-10px); +} + +footer { + background: #333; + color: white; + text-align: center; + padding: 1rem; + margin-top: 2rem; +} + +@media (max-width: 768px) { + header h1 { + font-size: 2rem; + } + + nav ul { + flex-direction: column; + } + + nav ul li { + margin: 0.5rem 0; + } +} \ No newline at end of file