commit e7c1ce54b4b0c0e8b08d9d7c515572ad112ae12e
Author: root <root@hub.scroll.pub>
Date: 2024-12-29 04:52:47 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..1905a9a
--- /dev/null
+++ b/body.html
@@ -0,0 +1,43 @@
+<header>
+ <h1>Computer Science Essentials</h1>
+ <nav>
+ <ul>
+ <li><a href="#overview">Overview</a></li>
+ <li><a href="#topics">Topics</a></li>
+ <li><a href="#resources">Resources</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section id="overview">
+ <h2>What is Computer Science?</h2>
+ <p>Computer Science is the study of computers and computational systems. It involves both theoretical and practical aspects, including algorithms, data structures, software development, and more.</p>
+ </section>
+
+ <section id="topics">
+ <h2>Key Topics in Computer Science</h2>
+ <ul>
+ <li>Algorithms and Data Structures</li>
+ <li>Programming Languages</li>
+ <li>Artificial Intelligence</li>
+ <li>Machine Learning</li>
+ <li>Computer Networks</li>
+ <li>Cybersecurity</li>
+ </ul>
+ </section>
+
+ <section id="resources">
+ <h2>Resources</h2>
+ <p>Explore more about computer science through these resources:</p>
+ <ul>
+ <li><a href="#books">Books</a></li>
+ <li><a href="#online-courses">Online Courses</a></li>
+ <li><a href="#communities">Communities</a></li>
+ </ul>
+ </section>
+</main>
+
+<footer>
+ <p>Learn more about the fascinating world of computer science.</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..09f7df4
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://cs.scroll.pub
+metaTags
+editButton /edit.html
+title Computer Science Essentials
+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..47ae659
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "92902b07-c638-4561-83ca-2a5b1f6b296c",
+ "object": "chat.completion",
+ "created": 1735447954,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ncs.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://cs.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Computer Science Essentials\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Computer Science Essentials</h1>\n <nav>\n <ul>\n <li><a href=\"#overview\">Overview</a></li>\n <li><a href=\"#topics\">Topics</a></li>\n <li><a href=\"#resources\">Resources</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"overview\">\n <h2>What is Computer Science?</h2>\n <p>Computer Science is the study of computers and computational systems. It involves both theoretical and practical aspects, including algorithms, data structures, software development, and more.</p>\n </section>\n\n <section id=\"topics\">\n <h2>Key Topics in Computer Science</h2>\n <ul>\n <li>Algorithms and Data Structures</li>\n <li>Programming Languages</li>\n <li>Artificial Intelligence</li>\n <li>Machine Learning</li>\n <li>Computer Networks</li>\n <li>Cybersecurity</li>\n </ul>\n </section>\n\n <section id=\"resources\">\n <h2>Resources</h2>\n <p>Explore more about computer science through these resources:</p>\n <ul>\n <li><a href=\"#books\">Books</a></li>\n <li><a href=\"#online-courses\">Online Courses</a></li>\n <li><a href=\"#communities\">Communities</a></li>\n </ul>\n </section>\n</main>\n\n<footer>\n <p>Learn more about the fascinating world of computer science.</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin: 0;\n padding: 0;\n background-color: #f4f4f9;\n color: #333;\n}\n\nheader {\n background-color: #6200ea;\n color: white;\n padding: 20px;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5em;\n}\n\nnav ul {\n list-style-type: none;\n padding: 0;\n}\n\nnav ul li {\n display: inline;\n margin: 0 15px;\n}\n\nnav ul li a {\n color: white;\n text-decoration: none;\n font-weight: bold;\n}\n\nmain {\n padding: 20px;\n}\n\nsection {\n margin-bottom: 40px;\n}\n\nsection h2 {\n color: #6200ea;\n font-size: 2em;\n margin-bottom: 10px;\n}\n\nsection p, section ul {\n font-size: 1.1em;\n line-height: 1.6;\n}\n\nfooter {\n background-color: #333;\n color: white;\n text-align: center;\n padding: 10px;\n position: fixed;\n width: 100%;\n bottom: 0;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2em;\n }\n\n nav ul li {\n display: block;\n margin: 10px 0;\n }\n\n section h2 {\n font-size: 1.5em;\n }\n\n section p, section ul {\n font-size: 1em;\n }\n}\n---script.js---\n// Smooth scrolling for anchor links\ndocument.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 236,
+ "completion_tokens": 849,
+ "total_tokens": 1085,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 236
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..a35a637
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# cs.scroll.pub
+Website generated by DeepSeek from prompt: computer science
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..5716c79
--- /dev/null
+++ b/script.js
@@ -0,0 +1,9 @@
+// Smooth scrolling for anchor links
+document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..817a3b0
--- /dev/null
+++ b/style.css
@@ -0,0 +1,83 @@
+body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: #f4f4f9;
+ color: #333;
+}
+
+header {
+ background-color: #6200ea;
+ color: white;
+ padding: 20px;
+ text-align: center;
+}
+
+header h1 {
+ margin: 0;
+ font-size: 2.5em;
+}
+
+nav ul {
+ list-style-type: none;
+ padding: 0;
+}
+
+nav ul li {
+ display: inline;
+ margin: 0 15px;
+}
+
+nav ul li a {
+ color: white;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+main {
+ padding: 20px;
+}
+
+section {
+ margin-bottom: 40px;
+}
+
+section h2 {
+ color: #6200ea;
+ font-size: 2em;
+ margin-bottom: 10px;
+}
+
+section p, section ul {
+ font-size: 1.1em;
+ line-height: 1.6;
+}
+
+footer {
+ background-color: #333;
+ color: white;
+ text-align: center;
+ padding: 10px;
+ position: fixed;
+ width: 100%;
+ bottom: 0;
+}
+
+@media (max-width: 768px) {
+ header h1 {
+ font-size: 2em;
+ }
+
+ nav ul li {
+ display: block;
+ margin: 10px 0;
+ }
+
+ section h2 {
+ font-size: 1.5em;
+ }
+
+ section p, section ul {
+ font-size: 1em;
+ }
+}
\ No newline at end of file