commit dd74fda4c5ec35774c380f69190271b0ff968a23
Author: root <root@hub.scroll.pub> Date: 2024-12-27 19:04:05 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..481aed4 --- /dev/null +++ b/body.html @@ -0,0 +1,47 @@ +<header> + <h1>DreamPath</h1> + <p>Discover your likelihood of achieving your dreams</p> +</header> +<main> + <form id="dreamQuiz"> + <div class="question"> + <label for="q1">How clear are your dreams and goals?</label> + <select id="q1"> + <option value="0">Not clear at all</option> + <option value="25">Somewhat clear</option> + <option value="50">Moderately clear</option> + <option value="75">Very clear</option> + <option value="100">Extremely clear</option> + </select> + </div> + <div class="question"> + <label for="q2">How committed are you to achieving your dreams?</label> + <select id="q2"> + <option value="0">Not committed</option> + <option value="25">Slightly committed</option> + <option value="50">Moderately committed</option> + <option value="75">Very committed</option> + <option value="100">Extremely committed</option> + </select> + </div> + <div class="question"> + <label for="q3">How much time do you dedicate to your dreams daily?</label> + <select id="q3"> + <option value="0">No time</option> + <option value="25">Less than 30 minutes</option> + <option value="50">30 minutes to 1 hour</option> + <option value="75">1 to 2 hours</option> + <option value="100">More than 2 hours</option> + </select> + </div> + <button type="submit">Calculate My Score</button> + </form> + <div id="result" class="hidden"> + <h2>Your DreamPath Score</h2> + <p id="score"></p> + <p id="message"></p> + </div> +</main> +<footer> + <p>Take the first step towards your dreams today.</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..398e874 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://dreampath.scroll.pub +metaTags +editButton /edit.html +title DreamPath - Discover Your Likelihood of Achieving Your Dreams +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..f2a2f72 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "bbac731e-dc8d-4a30-9c24-43fb035355c7", + "object": "chat.completion", + "created": 1735326229, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ndreampath.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://dreampath.scroll.pub\nmetaTags\neditButton /edit.html\ntitle DreamPath - Discover Your Likelihood of Achieving Your Dreams\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>DreamPath</h1>\n <p>Discover your likelihood of achieving your dreams</p>\n</header>\n<main>\n <form id=\"dreamQuiz\">\n <div class=\"question\">\n <label for=\"q1\">How clear are your dreams and goals?</label>\n <select id=\"q1\">\n <option value=\"0\">Not clear at all</option>\n <option value=\"25\">Somewhat clear</option>\n <option value=\"50\">Moderately clear</option>\n <option value=\"75\">Very clear</option>\n <option value=\"100\">Extremely clear</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q2\">How committed are you to achieving your dreams?</label>\n <select id=\"q2\">\n <option value=\"0\">Not committed</option>\n <option value=\"25\">Slightly committed</option>\n <option value=\"50\">Moderately committed</option>\n <option value=\"75\">Very committed</option>\n <option value=\"100\">Extremely committed</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q3\">How much time do you dedicate to your dreams daily?</label>\n <select id=\"q3\">\n <option value=\"0\">No time</option>\n <option value=\"25\">Less than 30 minutes</option>\n <option value=\"50\">30 minutes to 1 hour</option>\n <option value=\"75\">1 to 2 hours</option>\n <option value=\"100\">More than 2 hours</option>\n </select>\n </div>\n <button type=\"submit\">Calculate My Score</button>\n </form>\n <div id=\"result\" class=\"hidden\">\n <h2>Your DreamPath Score</h2>\n <p id=\"score\"></p>\n <p id=\"message\"></p>\n </div>\n</main>\n<footer>\n <p>Take the first step towards your dreams today.</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #f5f7fa, #c3cfe2);\n color: #333;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: #4a90e2;\n color: white;\n}\n\nh1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nmain {\n max-width: 600px;\n margin: 2rem auto;\n padding: 1rem;\n background: white;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.question {\n margin-bottom: 1.5rem;\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: bold;\n}\n\nselect {\n width: 100%;\n padding: 0.5rem;\n border-radius: 4px;\n border: 1px solid #ccc;\n}\n\nbutton {\n width: 100%;\n padding: 0.75rem;\n background: #4a90e2;\n color: white;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n font-size: 1rem;\n}\n\nbutton:hover {\n background: #357abd;\n}\n\n#result {\n text-align: center;\n margin-top: 2rem;\n}\n\n#score {\n font-size: 3rem;\n font-weight: bold;\n color: #4a90e2;\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: #333;\n color: white;\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n\n main {\n margin: 1rem;\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('dreamQuiz').addEventListener('submit', function(event) {\n event.preventDefault();\n\n const q1 = parseInt(document.getElementById('q1').value);\n const q2 = parseInt(document.getElementById('q2').value);\n const q3 = parseInt(document.getElementById('q3').value);\n\n const totalScore = (q1 + q2 + q3) / 3;\n const roundedScore = Math.round(totalScore);\n\n document.getElementById('score').textContent = roundedScore;\n\n let message = '';\n if (roundedScore < 30) {\n message = 'You have a lot of potential to grow. Start taking small steps towards your dreams today!';\n } else if (roundedScore < 70) {\n message = 'You\\'re on the right path. Keep pushing forward and stay committed!';\n } else {\n message = 'You\\'re doing amazing! Keep up the great work and your dreams will soon be within reach.';\n }\n\n document.getElementById('message').textContent = message;\n document.getElementById('result').classList.remove('hidden');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 261, + "completion_tokens": 1215, + "total_tokens": 1476, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 261 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..d949308 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# dreampath.scroll.pub +Website generated by DeepSeek from prompt: I want a lead magnet quizlet that gives the user a score 1 to 100 of the likelihood they will achieve their dreams. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..656c95e --- /dev/null +++ b/script.js @@ -0,0 +1,24 @@ +document.getElementById('dreamQuiz').addEventListener('submit', function(event) { + event.preventDefault(); + + const q1 = parseInt(document.getElementById('q1').value); + const q2 = parseInt(document.getElementById('q2').value); + const q3 = parseInt(document.getElementById('q3').value); + + const totalScore = (q1 + q2 + q3) / 3; + const roundedScore = Math.round(totalScore); + + document.getElementById('score').textContent = roundedScore; + + let message = ''; + if (roundedScore < 30) { + message = 'You have a lot of potential to grow. Start taking small steps towards your dreams today!'; + } else if (roundedScore < 70) { + message = 'You\'re on the right path. Keep pushing forward and stay committed!'; + } else { + message = 'You\'re doing amazing! Keep up the great work and your dreams will soon be within reach.'; + } + + document.getElementById('message').textContent = message; + document.getElementById('result').classList.remove('hidden'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..41131e5 --- /dev/null +++ b/style.css @@ -0,0 +1,94 @@ +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background: linear-gradient(135deg, #f5f7fa, #c3cfe2); + color: #333; +} + +header { + text-align: center; + padding: 2rem; + background: #4a90e2; + color: white; +} + +h1 { + margin: 0; + font-size: 2.5rem; +} + +main { + max-width: 600px; + margin: 2rem auto; + padding: 1rem; + background: white; + border-radius: 8px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.question { + margin-bottom: 1.5rem; +} + +label { + display: block; + margin-bottom: 0.5rem; + font-weight: bold; +} + +select { + width: 100%; + padding: 0.5rem; + border-radius: 4px; + border: 1px solid #ccc; +} + +button { + width: 100%; + padding: 0.75rem; + background: #4a90e2; + color: white; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 1rem; +} + +button:hover { + background: #357abd; +} + +#result { + text-align: center; + margin-top: 2rem; +} + +#score { + font-size: 3rem; + font-weight: bold; + color: #4a90e2; +} + +.hidden { + display: none; +} + +footer { + text-align: center; + padding: 1rem; + background: #333; + color: white; +} + +@media (max-width: 600px) { + h1 { + font-size: 2rem; + } + + main { + margin: 1rem; + padding: 1rem; + } +} \ No newline at end of file