fix formatting in script.js and style.css for consistency

This commit is contained in:
vista-man
2025-01-25 21:58:52 +01:00
parent fd90e1e862
commit 90b39f241f
3 changed files with 147 additions and 21 deletions

View File

@@ -7,36 +7,162 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<!-- Main heading of the webpage -->
<h1>Welcome to My Simple Wikipedia</h1>
<!-- Introduction paragraph -->
<p>This is a basic example of a simple Wikipedia-like page.
It demonstrates how to structure information using HTML.</p>
<p>This is a basic example of a simple Wikipedia-like page. It demonstrates how to structure information using HTML.</p>
<!-- Subheading for the first article -->
<h2>Article 1: The History of the Internet</h2>
<!-- Paragraphs containing information about the history of the Internet -->
<p>The Internet began as a project funded by the United States Department of Defense
in the 1960s. Its initial purpose was to create a decentralized network that could
withstand a nuclear attack.</p>
<p>Over time, the Internet evolved into the global network we know today, connecting
billions of devices and people worldwide.</p>
<p>The Internet began as a project funded by the United States Department of Defense in the 1960s. Its initial purpose was to create a decentralized network that could withstand a nuclear attack.</p>
<p>Over time, the Internet evolved into the global network we know today, connecting billions of devices and people worldwide.</p>
<!-- Subheading for the second article -->
<h2>Article 2: The Life Cycle of a Butterfly</h2>
<!-- Paragraphs containing information about the life cycle of a butterfly -->
<p>Butterflies undergo a fascinating transformation known as metamorphosis.
It begins with an egg, which hatches into a larva (caterpillar).</p>
<p>Butterflies undergo a fascinating transformation known as metamorphosis. It begins with an egg, which hatches into a larva (caterpillar).</p>
<p>The larva grows and molts several times, eventually forming a chrysalis. Inside the chrysalis, the larva undergoes a remarkable transformation, emerging as a beautiful butterfly.</p>
<p>The larva grows and molts several times, eventually forming a chrysalis.
Inside the chrysalis, the larva undergoes a remarkable transformation,
emerging as a beautiful butterfly.</p>
<!-- Subheading for the third article -->
<h2>Article 3: The Solar System</h2>
<!-- Paragraphs containing information about the solar system -->
<p>The Solar System consists of the Sun and the objects that orbit it, including eight planets, their moons, and other celestial bodies such as asteroids and comets.</p>
<p>It formed approximately 4.6 billion years ago from the gravitational collapse of a giant molecular cloud.</p>
<!-- Subheading for the fourth article -->
<h2>Article 4: The Human Brain</h2>
<!-- Paragraphs containing information about the human brain -->
<p>The human brain is the central organ of the human nervous system, and with the spinal cord makes up the central nervous system. The brain consists of the cerebrum, the brainstem, and the cerebellum.</p>
<p>It controls most of the activities of the body, processing, integrating, and coordinating the information it receives from the sense organs, and making decisions as to the instructions sent to the rest of the body.</p>
<!-- Subheading for the fifth article -->
<h2>Article 5: The Great Wall of China</h2>
<!-- Paragraphs containing information about the Great Wall of China -->
<p>The Great Wall of China is a series of fortifications that were built across the historical northern borders of China to protect and consolidate territories of Chinese states and empires against various nomadic groups of the steppe and their polities.</p>
<p>Several walls were being built as early as the 7th century BC; these, later joined together and made bigger and stronger, are now collectively referred to as the Great Wall.</p>
<!-- Subheading for the sixth article -->
<h2>Article 6: The Amazon Rainforest</h2>
<!-- Paragraphs containing information about the Amazon Rainforest -->
<p>The Amazon Rainforest, also known as Amazonia, is a vast tropical rainforest in South America that covers much of the Amazon Basin. It is known for its biodiversity and is home to millions of species of plants, animals, and insects.</p>
<p>The Amazon Rainforest plays a crucial role in regulating the Earth's climate and is often referred to as the "lungs of the Earth" because it produces a significant amount of the world's oxygen.</p>
<!-- Subheading for the seventh article -->
<h2>Article 7: The Pyramids of Egypt</h2>
<!-- Paragraphs containing information about the Pyramids of Egypt -->
<p>The Pyramids of Egypt are ancient pyramid-shaped masonry structures located in Egypt. They are some of the most iconic and enduring symbols of ancient Egyptian civilization.</p>
<p>The most famous pyramids are the Pyramids of Giza, which include the Great Pyramid of Giza, one of the Seven Wonders of the Ancient World.</p>
<!-- Subheading for the eighth article -->
<h2>Article 8: The Theory of Relativity</h2>
<!-- Paragraphs containing information about the Theory of Relativity -->
<p>The Theory of Relativity, developed by Albert Einstein, is a fundamental theory in physics that describes the relationship between space, time, and gravity. It consists of two main parts: Special Relativity and General Relativity.</p>
<p>Special Relativity deals with objects moving at constant speeds, while General Relativity addresses the effects of gravity on the fabric of space-time.</p>
<!-- Subheading for the ninth article -->
<h2>Article 9: The French Revolution</h2>
<!-- Paragraphs containing information about the French Revolution -->
<p>The French Revolution was a period of radical social and political change in France from 1789 to 1799. It led to the overthrow of the monarchy, the rise of radical political groups, and the establishment of the First French Republic.</p>
<p>The revolution had a profound impact on the course of modern history, leading to the spread of democratic ideals and the rise of nationalism.</p>
<!-- Subheading for the tenth article -->
<h2>Article 10: The Theory of Evolution</h2>
<!-- Paragraphs containing information about the Theory of Evolution -->
<p>The Theory of Evolution, proposed by Charles Darwin, is a scientific theory that explains how species of living organisms change over time through the process of natural selection. It is a fundamental concept in biology and provides a unifying framework for understanding the diversity of life on Earth.</p>
<p>According to the theory, individuals with traits that are better suited to their environment are more likely to survive and reproduce, passing those traits on to future generations.</p>
<!-- Subheading for the eleventh article -->
<h2>Article 11: The Renaissance</h2>
<!-- Paragraphs containing information about the Renaissance -->
<p>The Renaissance was a period of cultural, artistic, and intellectual revival in Europe from the 14th to the 17th century. It marked the transition from the Middle Ages to the modern era and saw significant advancements in art, science, literature, and philosophy.</p>
<p>The Renaissance began in Italy and spread throughout Europe, leading to a renewed interest in classical learning and the development of new artistic and scientific techniques.</p>
<!-- Subheading for the twelfth article -->
<h2>Article 12: The Industrial Revolution</h2>
<!-- Paragraphs containing information about the Industrial Revolution -->
<p>The Industrial Revolution was a period of rapid industrialization and technological advancement that began in the late 18th century and continued into the 19th century. It led to the development of new machinery, the rise of factories, and significant changes in society and the economy.</p>
<p>The Industrial Revolution had a profound impact on the world, leading to increased production, urbanization, and changes in labor practices.</p>
<!-- Subheading for the thirteenth article -->
<h2>Article 13: The American Civil War</h2>
<!-- Paragraphs containing information about the American Civil War -->
<p>The American Civil War was a conflict fought in the United States from 1861 to 1865 between the Northern states (the Union) and the Southern states (the Confederacy) that had seceded from the Union. The war was primarily fought over issues of slavery and states' rights.</p>
<p>The Civil War resulted in the abolition of slavery, the preservation of the Union, and significant changes in American society and government.</p>
<!-- Subheading for the fourteenth article -->
<h2>Article 14: The Space Race</h2>
<!-- Paragraphs containing information about the Space Race -->
<p>The Space Race was a period of competition between the United States and the Soviet Union during the Cold War to achieve significant milestones in space exploration. It began in the late 1950s and continued into the 1970s.</p>
<p>Key events in the Space Race included the launch of the first artificial satellite (Sputnik) by the Soviet Union, the first human spaceflight by Yuri Gagarin, and the Apollo 11 mission, which landed the first humans on the Moon.</p>
<!-- Subheading for the fifteenth article -->
<h2>Article 15: The Theory of Plate Tectonics</h2>
<!-- Paragraphs containing information about the Theory of Plate Tectonics -->
<p>The Theory of Plate Tectonics is a scientific theory that explains the movement of the Earth's lithosphere, which is divided into several large and small plates. These plates move and interact at their boundaries, leading to the formation of mountains, earthquakes, and volcanic activity.</p>
<p>The theory provides a unifying framework for understanding the geological processes that shape the Earth's surface.</p>
<!-- Subheading for the sixteenth article -->
<h2>Article 16: The Cold War</h2>
<!-- Paragraphs containing information about the Cold War -->
<p>The Cold War was a period of geopolitical tension between the United States and the Soviet Union and their respective allies from the end of World War II in 1945 to the early 1990s. It was characterized by political, military, and economic rivalry, as well as the threat of nuclear conflict.</p>
<p>The Cold War saw the development of military alliances such as NATO and the Warsaw Pact, as well as numerous proxy wars and conflicts around the world.</p>
<!-- Subheading for the seventeenth article -->
<h2>Article 17: The Theory of Quantum Mechanics</h2>
<!-- Paragraphs containing information about the Theory of Quantum Mechanics -->
<p>The Theory of Quantum Mechanics is a fundamental theory in physics that describes the behavior of particles at the atomic and subatomic levels. It provides a mathematical framework for understanding the properties and interactions of particles such as electrons, photons, and quarks.</p>
<p>Quantum mechanics has led to numerous technological advancements, including the development of semiconductors, lasers, and quantum computers.</p>
<!-- Subheading for the eighteenth article -->
<h2>Article 18: The Theory of General Relativity</h2>
<!-- Paragraphs containing information about the Theory of General Relativity -->
<p>The Theory of General Relativity, developed by Albert Einstein, is a fundamental theory in physics that describes the gravitational interaction between matter and the curvature of space-time. It provides a framework for understanding the behavior of objects in strong gravitational fields, such as black holes and neutron stars.</p>
<p>General relativity has been confirmed by numerous experiments and observations, including the bending of light by gravity and the expansion of the universe.</p>
<!-- Subheading for the nineteenth article -->
<h2>Article 19: The Theory of Special Relativity</h2>
<!-- Paragraphs containing information about the Theory of Special Relativity -->
<p>The Theory of Special Relativity, developed by Albert Einstein, is a fundamental theory in physics that describes the relationship between space and time for objects moving at constant speeds. It introduces the concept of space-time and the idea that the laws of physics are the same for all observers, regardless of their relative motion.</p>
<p>Special relativity has led to numerous technological advancements, including the development of GPS systems and the understanding of particle physics.</p>
<!-- Subheading for the twentieth article -->
<h2>Article 20: The Theory of Evolution by Natural Selection</h2>
<!-- Paragraphs containing information about the Theory of Evolution by Natural Selection -->
<p>The Theory of Evolution by Natural Selection, proposed by Charles Darwin, is a scientific theory that explains how species of living organisms change over time through the process of natural selection. It is a fundamental concept in biology and provides a unifying framework for understanding the diversity of life on Earth.</p>
<p>According to the theory, individuals with traits that are better suited to their environment are more likely to survive and reproduce, passing those traits on to future generations.</p>
<!-- Subheading for the twenty-first article -->
<h2>Article 21: The Theory of Continental Drift</h2>
<!-- Paragraphs containing information about the Theory of Continental Drift -->
<p>The Theory of Continental Drift, proposed by Alfred Wegener, is a scientific theory that explains the movement of the Earth's continents over geological time. According to the theory, the continents were once part of a single supercontinent called Pangaea, which gradually broke apart and drifted to their current positions.</p>
<p>The theory of continental drift laid the foundation for the development of the theory of plate tectonics.</p>
<!-- Subheading for the twenty-second article -->
<h2>Article 22: The Theory of the Big Bang</h2>
<!-- Paragraphs containing information about the Theory of the Big Bang -->
<p>The Theory of the Big Bang is a scientific theory that explains the origin and evolution of the universe. According to the theory, the universe began as a singularity approximately 13.8 billion years ago and has been expanding ever since.</p>
<p>The Big Bang theory is supported by a wide range of evidence, including the cosmic microwave background radiation, the abundance of light elements, and the large-scale structure of the universe.</p>
<!-- Subheading for the twenty-third article -->
<h2>Article 23: The Theory of Heliocentrism</h2>
<!-- Paragraphs containing information about the Theory of Heliocentrism -->
<p>The Theory of Heliocentrism, proposed by Nicolaus Copernicus, is a scientific theory that places the Sun at the center of the solar system, with the planets, including Earth, orbiting around it. This theory challenged the geocentric model, which placed the Earth at the center of the universe.</p>
<p>Heliocentrism laid the foundation for modern astronomy and was later supported by the observations of Galileo Galilei and the laws of planetary motion formulated by Johannes Kepler.</p>
<!-- Subheading for the twenty-fourth article -->
<h2>Article 24: The Theory of Electromagnetism</h2>
<!-- Paragraphs containing information about the Theory of Electromagnetism -->
<p>The Theory of Electromagnetism, developed by James Clerk Maxwell, is a fundamental theory in physics that describes the relationship between electric and magnetic fields. It provides a unified framework for understanding the behavior of electromagnetic waves, such as light, radio waves, and X-rays.</p>
<p>Maxwell's equations, which describe the behavior of electric and magnetic fields, are a cornerstone of modern physics and have led to numerous technological advancements, including the development of radio, television, and wireless communication.</p>
<!-- Subheading for the twenty-fifth article -->
<h2>Article 25: The Theory of Thermodynamics</h2>
<!-- Paragraphs containing information about the Theory of Thermodynamics -->
<p>The Theory of Thermodynamics is a branch of physics that deals with the study of heat, energy, and the relationships between them. It is based on four fundamental laws that describe the behavior of energy and matter in various systems.</p>
<p>Thermodynamics has a wide range of applications, from understanding the behavior of gases and liquids to the design of engines and refrigerators, and plays a crucial role in fields such as chemistry, engineering, and environmental science.</p>
</div>
<!-- Link to the external JavaScript file for functionality -->