Changes to us-china.scroll.pub

root
root
24 days ago
Initial commit
body.html
Changed around line 1
+
+

US-China Comparison

+

Explore the geography and history of two global superpowers.

+
+
+
+
+

Interactive Comparison Tools

+
+
+

Geography Comparison

+
+
+
+
+
+
+
+

History Timeline

+
+
+
+
+
+
+
+
+
+
+

Data Visualization

+
+
+
+
+
+
+

Key Facts

+
+
+

United States

+
    +
  • Area: 9.8 million km²
  • +
  • Population: 331 million
  • +
  • Capital: Washington, D.C.
  • +
    +
    +
    +

    China

    +
      +
    • Area: 9.6 million km²
    • +
    • Population: 1.4 billion
    • +
    • Capital: Beijing
    • +
      +
      +
      +
      +
      +
      +
      +

      Explore more about the US and China.

      +
      index.scroll
      Changed around line 1
      + buildHtml
      + baseUrl https://us-china.scroll.pub
      + metaTags
      + editButton /edit.html
      + title US-China Comparison: Geography & History
      + style.css
      + body.html
      + script.js
      prompt.json
      Changed around line 1
      + {
      + "id": "550e0bc9-462a-4bf1-b753-7ca07e6735fe",
      + "object": "chat.completion",
      + "created": 1735477447,
      + "model": "deepseek-chat",
      + "choices": [
      + {
      + "index": 0,
      + "message": {
      + "role": "assistant",
      + "content": "---domain---\nus-china.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://us-china.scroll.pub\nmetaTags\neditButton /edit.html\ntitle US-China Comparison: Geography & History\nstyle.css\nbody.html\nscript.js\n---body.html---\n
      \n

      US-China Comparison

      \n

      Explore the geography and history of two global superpowers.

      \n
      \n\n
      \n
      \n

      Interactive Comparison Tools

      \n
      \n
      \n

      Geography Comparison

      \n
      \n
      \n
      \n
      \n \n
      \n
      \n

      History Timeline

      \n
      \n
      \n
      \n
      \n \n
      \n
      \n
      \n\n
      \n

      Data Visualization

      \n
      \n \n
      \n
      \n\n
      \n

      Key Facts

      \n
      \n
      \n

      United States

      \n
        \n
      • Area: 9.8 million km²
      • \n
      • Population: 331 million
      • \n
      • Capital: Washington, D.C.
      • \n
      \n
      \n
      \n

      China

      \n
        \n
      • Area: 9.6 million km²
      • \n
      • Population: 1.4 billion
      • \n
      • Capital: Beijing
      • \n
      \n
      \n
      \n
      \n
      \n\n
      \n

      Explore more about the US and China.

      \n
      \n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n margin: 0;\n padding: 0;\n background-color: #f4f4f4;\n color: #333;\n}\n\nheader {\n background-color: #2c3e50;\n color: #fff;\n padding: 20px;\n text-align: center;\n}\n\nh1 {\n margin: 0;\n font-size: 2.5em;\n}\n\np {\n font-size: 1.2em;\n}\n\nmain {\n padding: 20px;\n}\n\nsection {\n margin-bottom: 40px;\n}\n\nh2 {\n font-size: 2em;\n margin-bottom: 20px;\n}\n\n.tool-container {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n}\n\n.tool {\n background-color: #fff;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n width: 48%;\n margin-bottom: 20px;\n}\n\n.map-container, .timeline-container {\n display: flex;\n justify-content: space-between;\n}\n\n.map, .timeline {\n width: 48%;\n height: 200px;\n background-color: #e0e0e0;\n border-radius: 8px;\n}\n\nbutton {\n background-color: #3498db;\n color: #fff;\n border: none;\n padding: 10px 20px;\n border-radius: 5px;\n cursor: pointer;\n margin-top: 10px;\n}\n\nbutton:hover {\n background-color: #2980b9;\n}\n\n.chart-container {\n background-color: #fff;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.facts-container {\n display: flex;\n justify-content: space-between;\n}\n\n.fact {\n background-color: #fff;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n width: 48%;\n}\n\nfooter {\n background-color: #2c3e50;\n color: #fff;\n text-align: center;\n padding: 10px;\n margin-top: 40px;\n}\n\n@media (max-width: 768px) {\n .tool, .fact {\n width: 100%;\n }\n\n .map-container, .timeline-container {\n flex-direction: column;\n }\n\n .map, .timeline {\n width: 100%;\n margin-bottom: 10px;\n }\n}\n---script.js---\nfunction compareGeography() {\n alert('Geography comparison feature coming soon!');\n}\n\nfunction compareHistory() {\n alert('History comparison feature coming soon!');\n}\n\nconst ctx = document.getElementById('comparison-chart').getContext('2d');\nconst comparisonChart = new Chart(ctx, {\n type: 'bar',\n data: {\n labels: ['Area', 'Population', 'GDP'],\n datasets: [\n {\n label: 'United States',\n data: [9.8, 331, 21.44],\n backgroundColor: 'rgba(52, 152, 219, 0.5)',\n borderColor: 'rgba(52, 152, 219, 1)',\n borderWidth: 1\n },\n {\n label: 'China',\n data: [9.6, 1400, 14.72],\n backgroundColor: 'rgba(231, 76, 60, 0.5)',\n borderColor: 'rgba(231, 76, 60, 1)',\n borderWidth: 1\n }\n ]\n },\n options: {\n scales: {\n y: {\n beginAtZero: true\n }\n }\n }\n});\n---end---"
      + },
      + "logprobs": null,
      + "finish_reason": "stop"
      + }
      + ],
      + "usage": {
      + "prompt_tokens": 258,
      + "completion_tokens": 1431,
      + "total_tokens": 1689,
      + "prompt_cache_hit_tokens": 0,
      + "prompt_cache_miss_tokens": 258
      + },
      + "system_fingerprint": "fp_f1afce2943"
      + }
      readme.scroll
      Changed around line 1
      + # us-china.scroll.pub
      + Website generated by DeepSeek from prompt: Create a US and China comparison of geography and history, with some interactive tools and comparison tools. Be creative and professional.
      script.js
      Changed around line 1
      + function compareGeography() {
      + alert('Geography comparison feature coming soon!');
      + }
      +
      + function compareHistory() {
      + alert('History comparison feature coming soon!');
      + }
      +
      + const ctx = document.getElementById('comparison-chart').getContext('2d');
      + const comparisonChart = new Chart(ctx, {
      + type: 'bar',
      + data: {
      + labels: ['Area', 'Population', 'GDP'],
      + datasets: [
      + {
      + label: 'United States',
      + data: [9.8, 331, 21.44],
      + backgroundColor: 'rgba(52, 152, 219, 0.5)',
      + borderColor: 'rgba(52, 152, 219, 1)',
      + borderWidth: 1
      + },
      + {
      + label: 'China',
      + data: [9.6, 1400, 14.72],
      + backgroundColor: 'rgba(231, 76, 60, 0.5)',
      + borderColor: 'rgba(231, 76, 60, 1)',
      + borderWidth: 1
      + }
      + ]
      + },
      + options: {
      + scales: {
      + y: {
      + beginAtZero: true
      + }
      + }
      + }
      + });
      style.css
      Changed around line 1
      + body {
      + font-family: 'Arial', sans-serif;
      + margin: 0;
      + padding: 0;
      + background-color: #f4f4f4;
      + color: #333;
      + }
      +
      + header {
      + background-color: #2c3e50;
      + color: #fff;
      + padding: 20px;
      + text-align: center;
      + }
      +
      + h1 {
      + margin: 0;
      + font-size: 2.5em;
      + }
      +
      + p {
      + font-size: 1.2em;
      + }
      +
      + main {
      + padding: 20px;
      + }
      +
      + section {
      + margin-bottom: 40px;
      + }
      +
      + h2 {
      + font-size: 2em;
      + margin-bottom: 20px;
      + }
      +
      + .tool-container {
      + display: flex;
      + justify-content: space-between;
      + flex-wrap: wrap;
      + }
      +
      + .tool {
      + background-color: #fff;
      + padding: 20px;
      + border-radius: 8px;
      + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      + width: 48%;
      + margin-bottom: 20px;
      + }
      +
      + .map-container, .timeline-container {
      + display: flex;
      + justify-content: space-between;
      + }
      +
      + .map, .timeline {
      + width: 48%;
      + height: 200px;
      + background-color: #e0e0e0;
      + border-radius: 8px;
      + }
      +
      + button {
      + background-color: #3498db;
      + color: #fff;
      + border: none;
      + padding: 10px 20px;
      + border-radius: 5px;
      + cursor: pointer;
      + margin-top: 10px;
      + }
      +
      + button:hover {
      + background-color: #2980b9;
      + }
      +
      + .chart-container {
      + background-color: #fff;
      + padding: 20px;
      + border-radius: 8px;
      + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      + }
      +
      + .facts-container {
      + display: flex;
      + justify-content: space-between;
      + }
      +
      + .fact {
      + background-color: #fff;
      + padding: 20px;
      + border-radius: 8px;
      + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      + width: 48%;
      + }
      +
      + footer {
      + background-color: #2c3e50;
      + color: #fff;
      + text-align: center;
      + padding: 10px;
      + margin-top: 40px;
      + }
      +
      + @media (max-width: 768px) {
      + .tool, .fact {
      + width: 100%;
      + }
      +
      + .map-container, .timeline-container {
      + flex-direction: column;
      + }
      +
      + .map, .timeline {
      + width: 100%;
      + margin-bottom: 10px;
      + }
      + }