This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
studenthack2024-project/js/data/Sun.js
Nikolaos Karaolidis 318637019e Content commit
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2024-04-14 10:50:34 +01:00

26 lines
1.5 KiB
JavaScript

export const content = `
<p>
The Sun is the star at the center of the Solar System and is by far the most important source of energy for life on Earth.
Its immense gravity holds the solar system together, and its light and heat have been the main drivers of the planet's climate and weather.
</p>
<img src="https://upload.wikimedia.org/wikipedia/commons/b/b4/The_Sun_by_the_Atmospheric_Imaging_Assembly_of_NASA's_Solar_Dynamics_Observatory_-_20100819.jpg"/>
<h2>Key Facts</h2>
<ul>
<li>Type: G-type main-sequence star (G2V)</li>
<li>Diameter: Approximately 1,391,000 km</li>
<li>Core Temperature: About 15 million degrees Celsius</li>
<li>Average Distance from Earth: About 149.6 million km (1 AU)</li>
<li>Surface Temperature: Approximately 5,500 degrees Celsius</li>
</ul>
<h2>Composition</h2>
<p>
The Sun is primarily composed of hydrogen (about 74%) and helium (about 24%), with the remainder made up of heavier elements like oxygen, carbon, and iron.
</p>
<h2>Interesting Facts</h2>
<ul>
<li>The Sun's magnetic field is very strong and variable, a phenomenon that is visible as sunspots on the surface and drives solar activity like solar flares.</li>
<li>Every eleven years, the Sun's magnetic field undergoes a reversal, which affects the intensity and number of sunspots.</li>
<li>The Sun is about 4.6 billion years old and has enough nuclear fuel to stay as it is for another 5 billion years.</li>
</ul>
`;