commit 9c185de0efcf7b4bb757d03c50bbd4c1c353729a
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 17:13:04 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..7af8bba
--- /dev/null
+++ b/body.html
@@ -0,0 +1,53 @@
+<header>
+ <h1>Why Email Marketing Matters</h1>
+ <p>Discover the power of email marketing and how it can transform your business.</p>
+</header>
+
+<main>
+ <section id="intro">
+ <h2>What is Email Marketing?</h2>
+ <p>Email marketing is a powerful tool to reach your audience directly. It helps you build relationships, drive sales, and grow your business.</p>
+ </section>
+
+ <section id="calculator">
+ <h2>Calculate Your Email Marketing Impact</h2>
+ <form id="emailImpactForm">
+ <label for="subscribers">Number of Subscribers:</label>
+ <input type="number" id="subscribers" name="subscribers" required>
+
+ <label for="openRate">Average Open Rate (%):</label>
+ <input type="number" id="openRate" name="openRate" required>
+
+ <label for="clickRate">Average Click Rate (%):</label>
+ <input type="number" id="clickRate" name="clickRate" required>
+
+ <label for="conversionRate">Average Conversion Rate (%):</label>
+ <input type="number" id="conversionRate" name="conversionRate" required>
+
+ <label for="averageOrderValue">Average Order Value ($):</label>
+ <input type="number" id="averageOrderValue" name="averageOrderValue" required>
+
+ <button type="submit">Calculate Impact</button>
+ </form>
+
+ <div id="result" class="hidden">
+ <h3>Your Email Marketing Impact Score</h3>
+ <p id="impactScore"></p>
+ <p id="impactDescription"></p>
+ </div>
+ </section>
+
+ <section id="benefits">
+ <h2>Benefits of Email Marketing</h2>
+ <ul>
+ <li>Direct communication with your audience</li>
+ <li>High ROI compared to other marketing channels</li>
+ <li>Personalized and targeted campaigns</li>
+ <li>Measurable results and analytics</li>
+ </ul>
+ </section>
+</main>
+
+<footer>
+ <p>Learn more about how email marketing can help your business grow.</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..8628d7f
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://emailimpact.scroll.pub
+metaTags
+editButton /edit.html
+title Why Email Marketing Matters
+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..b31f1a0
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "27267219-831a-4810-8a5f-182a5435f0f8",
+ "object": "chat.completion",
+ "created": 1735319566,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nemailimpact.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://emailimpact.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Why Email Marketing Matters\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Why Email Marketing Matters</h1>\n <p>Discover the power of email marketing and how it can transform your business.</p>\n</header>\n\n<main>\n <section id=\"intro\">\n <h2>What is Email Marketing?</h2>\n <p>Email marketing is a powerful tool to reach your audience directly. It helps you build relationships, drive sales, and grow your business.</p>\n </section>\n\n <section id=\"calculator\">\n <h2>Calculate Your Email Marketing Impact</h2>\n <form id=\"emailImpactForm\">\n <label for=\"subscribers\">Number of Subscribers:</label>\n <input type=\"number\" id=\"subscribers\" name=\"subscribers\" required>\n\n <label for=\"openRate\">Average Open Rate (%):</label>\n <input type=\"number\" id=\"openRate\" name=\"openRate\" required>\n\n <label for=\"clickRate\">Average Click Rate (%):</label>\n <input type=\"number\" id=\"clickRate\" name=\"clickRate\" required>\n\n <label for=\"conversionRate\">Average Conversion Rate (%):</label>\n <input type=\"number\" id=\"conversionRate\" name=\"conversionRate\" required>\n\n <label for=\"averageOrderValue\">Average Order Value ($):</label>\n <input type=\"number\" id=\"averageOrderValue\" name=\"averageOrderValue\" required>\n\n <button type=\"submit\">Calculate Impact</button>\n </form>\n\n <div id=\"result\" class=\"hidden\">\n <h3>Your Email Marketing Impact Score</h3>\n <p id=\"impactScore\"></p>\n <p id=\"impactDescription\"></p>\n </div>\n </section>\n\n <section id=\"benefits\">\n <h2>Benefits of Email Marketing</h2>\n <ul>\n <li>Direct communication with your audience</li>\n <li>High ROI compared to other marketing channels</li>\n <li>Personalized and targeted campaigns</li>\n <li>Measurable results and analytics</li>\n </ul>\n </section>\n</main>\n\n<footer>\n <p>Learn more about how email marketing can help your business grow.</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-color: #f4f4f4;\n color: #333;\n}\n\nheader {\n background: #007BFF;\n color: #fff;\n padding: 20px 0;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5em;\n}\n\nheader p {\n font-size: 1.2em;\n}\n\nmain {\n padding: 20px;\n}\n\nsection {\n margin-bottom: 40px;\n}\n\nh2 {\n color: #007BFF;\n font-size: 2em;\n margin-bottom: 10px;\n}\n\nform {\n background: #fff;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\nlabel {\n display: block;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\ninput {\n width: 100%;\n padding: 10px;\n margin-bottom: 15px;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nbutton {\n background: #007BFF;\n color: #fff;\n padding: 10px 20px;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton:hover {\n background: #0056b3;\n}\n\n#result {\n background: #fff;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n margin-top: 20px;\n}\n\n#result.hidden {\n display: none;\n}\n\n#impactScore {\n font-size: 2em;\n color: #007BFF;\n margin: 0;\n}\n\n#impactDescription {\n font-size: 1.2em;\n color: #333;\n}\n\nfooter {\n background: #007BFF;\n color: #fff;\n text-align: center;\n padding: 10px 0;\n margin-top: 40px;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2em;\n }\n\n header p {\n font-size: 1em;\n }\n\n h2 {\n font-size: 1.5em;\n }\n\n #impactScore {\n font-size: 1.5em;\n }\n\n #impactDescription {\n font-size: 1em;\n }\n}\n---script.js---\ndocument.getElementById('emailImpactForm').addEventListener('submit', function(event) {\n event.preventDefault();\n\n const subscribers = parseInt(document.getElementById('subscribers').value);\n const openRate = parseInt(document.getElementById('openRate').value) / 100;\n const clickRate = parseInt(document.getElementById('clickRate').value) / 100;\n const conversionRate = parseInt(document.getElementById('conversionRate').value) / 100;\n const averageOrderValue = parseFloat(document.getElementById('averageOrderValue').value);\n\n const impactScore = subscribers * openRate * clickRate * conversionRate * averageOrderValue;\n\n document.getElementById('impactScore').textContent = `$${impactScore.toFixed(2)}`;\n document.getElementById('impactDescription').textContent = 'This is the estimated revenue impact of your email marketing efforts.';\n\n document.getElementById('result').classList.remove('hidden');\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 269,
+ "completion_tokens": 1327,
+ "total_tokens": 1596,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 269
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..e9a7c8d
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# emailimpact.scroll.pub
+Website generated by DeepSeek from prompt: I want an interactive website that helps user understand why they need email marketing. I want the user to use numerical and interactive tools to help them get a score at the end.
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..1758b22
--- /dev/null
+++ b/script.js
@@ -0,0 +1,16 @@
+document.getElementById('emailImpactForm').addEventListener('submit', function(event) {
+ event.preventDefault();
+
+ const subscribers = parseInt(document.getElementById('subscribers').value);
+ const openRate = parseInt(document.getElementById('openRate').value) / 100;
+ const clickRate = parseInt(document.getElementById('clickRate').value) / 100;
+ const conversionRate = parseInt(document.getElementById('conversionRate').value) / 100;
+ const averageOrderValue = parseFloat(document.getElementById('averageOrderValue').value);
+
+ const impactScore = subscribers * openRate * clickRate * conversionRate * averageOrderValue;
+
+ document.getElementById('impactScore').textContent = `$${impactScore.toFixed(2)}`;
+ document.getElementById('impactDescription').textContent = 'This is the estimated revenue impact of your email marketing efforts.';
+
+ 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..aa163be
--- /dev/null
+++ b/style.css
@@ -0,0 +1,125 @@
+body {
+ font-family: 'Arial', sans-serif;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ background-color: #f4f4f4;
+ color: #333;
+}
+
+header {
+ background: #007BFF;
+ color: #fff;
+ padding: 20px 0;
+ text-align: center;
+}
+
+header h1 {
+ margin: 0;
+ font-size: 2.5em;
+}
+
+header p {
+ font-size: 1.2em;
+}
+
+main {
+ padding: 20px;
+}
+
+section {
+ margin-bottom: 40px;
+}
+
+h2 {
+ color: #007BFF;
+ font-size: 2em;
+ margin-bottom: 10px;
+}
+
+form {
+ background: #fff;
+ padding: 20px;
+ border-radius: 8px;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+}
+
+label {
+ display: block;
+ margin-bottom: 5px;
+ font-weight: bold;
+}
+
+input {
+ width: 100%;
+ padding: 10px;
+ margin-bottom: 15px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+button {
+ background: #007BFF;
+ color: #fff;
+ padding: 10px 20px;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+}
+
+button:hover {
+ background: #0056b3;
+}
+
+#result {
+ background: #fff;
+ padding: 20px;
+ border-radius: 8px;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+ margin-top: 20px;
+}
+
+#result.hidden {
+ display: none;
+}
+
+#impactScore {
+ font-size: 2em;
+ color: #007BFF;
+ margin: 0;
+}
+
+#impactDescription {
+ font-size: 1.2em;
+ color: #333;
+}
+
+footer {
+ background: #007BFF;
+ color: #fff;
+ text-align: center;
+ padding: 10px 0;
+ margin-top: 40px;
+}
+
+@media (max-width: 768px) {
+ header h1 {
+ font-size: 2em;
+ }
+
+ header p {
+ font-size: 1em;
+ }
+
+ h2 {
+ font-size: 1.5em;
+ }
+
+ #impactScore {
+ font-size: 1.5em;
+ }
+
+ #impactDescription {
+ font-size: 1em;
+ }
+}
\ No newline at end of file