commit bcd8774b252a9a62fe6a7792f697d592ae335415
Author: root <root@hub.scroll.pub> Date: 2024-12-28 12:21:05 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..55b23b0 --- /dev/null +++ b/body.html @@ -0,0 +1,48 @@ +<header> + <h1>Welcome Back, Programmer!</h1> + <p>Let's refresh your skills and get you back in the game.</p> +</header> + +<main> + <section class="intro"> + <h2>Where to Begin?</h2> + <p>Take a deep breath and start with these essential steps:</p> + <div class="steps-grid"> + <div class="step"> + <h3>1. Review Basics</h3> + <p>Revisit HTML, CSS, and JavaScript fundamentals.</p> + </div> + <div class="step"> + <h3>2. Practice Daily</h3> + <p>Code every day, even if it's just for 15 minutes.</p> + </div> + <div class="step"> + <h3>3. Build Projects</h3> + <p>Create small projects to apply your knowledge.</p> + </div> + </div> + </section> + + <section class="resources"> + <h2>Helpful Resources</h2> + <ul> + <li><a href="/html-basics">HTML Basics</a></li> + <li><a href="/css-fundamentals">CSS Fundamentals</a></li> + <li><a href="/javascript-essentials">JavaScript Essentials</a></li> + </ul> + </section> + + <section class="motivation"> + <h2>You've Got This!</h2> + <p>Remember, every great programmer started somewhere. Take it one step at a time.</p> + <button id="motivationButton">Get Inspired</button> + <p id="motivationQuote"></p> + </section> +</main> + +<footer> + <nav> + <a href="/about">About</a> + <a href="/contact">Contact</a> + </nav> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..264df44 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://refreshskills.scroll.pub +metaTags +editButton /edit.html +title Refresh Your Programming Skills +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..41a2ce5 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "c6d0822c-354f-427f-81a1-2ac5c57dd7ad", + "object": "chat.completion", + "created": 1735388444, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nrefreshskills.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://refreshskills.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Refresh Your Programming Skills\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Welcome Back, Programmer!</h1>\n <p>Let's refresh your skills and get you back in the game.</p>\n</header>\n\n<main>\n <section class=\"intro\">\n <h2>Where to Begin?</h2>\n <p>Take a deep breath and start with these essential steps:</p>\n <div class=\"steps-grid\">\n <div class=\"step\">\n <h3>1. Review Basics</h3>\n <p>Revisit HTML, CSS, and JavaScript fundamentals.</p>\n </div>\n <div class=\"step\">\n <h3>2. Practice Daily</h3>\n <p>Code every day, even if it's just for 15 minutes.</p>\n </div>\n <div class=\"step\">\n <h3>3. Build Projects</h3>\n <p>Create small projects to apply your knowledge.</p>\n </div>\n </div>\n </section>\n\n <section class=\"resources\">\n <h2>Helpful Resources</h2>\n <ul>\n <li><a href=\"/html-basics\">HTML Basics</a></li>\n <li><a href=\"/css-fundamentals\">CSS Fundamentals</a></li>\n <li><a href=\"/javascript-essentials\">JavaScript Essentials</a></li>\n </ul>\n </section>\n\n <section class=\"motivation\">\n <h2>You've Got This!</h2>\n <p>Remember, every great programmer started somewhere. Take it one step at a time.</p>\n <button id=\"motivationButton\">Get Inspired</button>\n <p id=\"motivationQuote\"></p>\n </section>\n</main>\n\n<footer>\n <nav>\n <a href=\"/about\">About</a>\n <a href=\"/contact\">Contact</a>\n </nav>\n</footer>\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --accent-color: #f59e0b;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n}\n\nheader {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n padding: 4rem 1rem;\n text-align: center;\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\nmain {\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.steps-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin: 2rem 0;\n}\n\n.step {\n background: white;\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.step:hover {\n transform: translateY(-5px);\n}\n\n.resources ul {\n list-style: none;\n padding: 0;\n}\n\n.resources li {\n margin: 1rem 0;\n}\n\n.resources a {\n color: var(--primary-color);\n text-decoration: none;\n font-weight: 500;\n}\n\n.motivation {\n text-align: center;\n margin: 4rem 0;\n}\n\n#motivationButton {\n background-color: var(--accent-color);\n color: white;\n border: none;\n padding: 0.75rem 2rem;\n border-radius: 4px;\n cursor: pointer;\n font-size: 1rem;\n transition: background-color 0.3s ease;\n}\n\n#motivationButton:hover {\n background-color: #d97706;\n}\n\n#motivationQuote {\n margin-top: 1rem;\n font-style: italic;\n color: var(--secondary-color);\n}\n\nfooter {\n background-color: var(--text-color);\n color: white;\n padding: 1rem;\n text-align: center;\n}\n\nfooter a {\n color: white;\n text-decoration: none;\n margin: 0 1rem;\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n \n .steps-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\nconst motivationQuotes = [\n \"The expert in anything was once a beginner.\",\n \"Every great developer you know got there by solving problems they were unqualified to solve until they actually did it.\",\n \"The only way to learn a new programming language is by writing programs in it.\",\n \"Programming isn't about what you know; it's about what you can figure out.\",\n \"The best error message is the one that never shows up.\",\n \"First, solve the problem. Then, write the code.\",\n \"Code is like humor. When you have to explain it, it's bad.\",\n \"Make it work, make it right, make it fast.\",\n \"Programming is the art of telling another human what one wants the computer to do.\",\n \"The most important property of a program is whether it accomplishes the intention of its user.\"\n];\n\nconst motivationButton = document.getElementById('motivationButton');\nconst motivationQuote = document.getElementById('motivationQuote');\n\nmotivationButton.addEventListener('click', () => {\n const randomIndex = Math.floor(Math.random() * motivationQuotes.length);\n motivationQuote.textContent = motivationQuotes[randomIndex];\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 255, + "completion_tokens": 1343, + "total_tokens": 1598, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 255 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..d684222 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# refreshskills.scroll.pub +Website generated by DeepSeek from prompt: I want a website programmer to refresh their skill that they while taken a long break. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..bd96faf --- /dev/null +++ b/script.js @@ -0,0 +1,20 @@ +const motivationQuotes = [ + "The expert in anything was once a beginner.", + "Every great developer you know got there by solving problems they were unqualified to solve until they actually did it.", + "The only way to learn a new programming language is by writing programs in it.", + "Programming isn't about what you know; it's about what you can figure out.", + "The best error message is the one that never shows up.", + "First, solve the problem. Then, write the code.", + "Code is like humor. When you have to explain it, it's bad.", + "Make it work, make it right, make it fast.", + "Programming is the art of telling another human what one wants the computer to do.", + "The most important property of a program is whether it accomplishes the intention of its user." +]; + +const motivationButton = document.getElementById('motivationButton'); +const motivationQuote = document.getElementById('motivationQuote'); + +motivationButton.addEventListener('click', () => { + const randomIndex = Math.floor(Math.random() * motivationQuotes.length); + motivationQuote.textContent = motivationQuotes[randomIndex]; +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..d733a47 --- /dev/null +++ b/style.css @@ -0,0 +1,117 @@ +:root { + --primary-color: #2563eb; + --secondary-color: #1e40af; + --background-color: #f8fafc; + --text-color: #1e293b; + --accent-color: #f59e0b; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background-color: var(--background-color); + color: var(--text-color); +} + +header { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + padding: 4rem 1rem; + text-align: center; +} + +h1 { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +main { + padding: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.steps-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin: 2rem 0; +} + +.step { + background: white; + padding: 1.5rem; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.step:hover { + transform: translateY(-5px); +} + +.resources ul { + list-style: none; + padding: 0; +} + +.resources li { + margin: 1rem 0; +} + +.resources a { + color: var(--primary-color); + text-decoration: none; + font-weight: 500; +} + +.motivation { + text-align: center; + margin: 4rem 0; +} + +#motivationButton { + background-color: var(--accent-color); + color: white; + border: none; + padding: 0.75rem 2rem; + border-radius: 4px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s ease; +} + +#motivationButton:hover { + background-color: #d97706; +} + +#motivationQuote { + margin-top: 1rem; + font-style: italic; + color: var(--secondary-color); +} + +footer { + background-color: var(--text-color); + color: white; + padding: 1rem; + text-align: center; +} + +footer a { + color: white; + text-decoration: none; + margin: 0 1rem; +} + +@media (max-width: 768px) { + h1 { + font-size: 2rem; + } + + .steps-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file