We just launched a new Frontend Challenge!
Running through September 15, Frontend Challenge: Space Edition will feature two prompts: CSS Art and Glam Up My Markup.
Our theme for this edition was inspired by some excellent posts weβve seen on DEV lately (@cookiemonsterdev @madsstoumann π) so we hope to continue their line of creativity and dive into the depths of the galaxies with you all!
As always, there will be one winner per prompt. Thatβs two chances to win bragging rights, a gift from the DEV Shop, and an exclusive DEV badge. Remember: badges can stack on your profile to show off multiple wins! But of course, itβs not about the winning destination (mars?) - itβs about the (rocket ship) journey!
We hope this is an opportunity to challenge yourself and have some fun. Read on to learn how to participate!
Prompts
CSS Art: Space
Draw what comes to mind for you when it comes to Space. Is it your favorite movie? The current news cycle? Or does your imagination drum up something totally out-of-this-world? Whatever it is, please share it with us via CSS art and do not use any JavaScript!
Here is the submission template for anyone that wants to jump right in, but please review all challenge rules on the official challenge page before submitting.
Glam Up My Markup: Solar System
Use CSS and JavaScript to make the below starter HTML markup for the Solar System visually stunning, interactive, and educational. We've provided a basic template that lists planets, moons, and other celestial objects in our Solar System, along with some facts about each. Since the template doesn't include any design elements or interactivity, youβll need to get creative to make it visually appealing and engaging.
Your submission should enhance the user experience with a fun, dynamic design, but must also be accessible and easy to use. You should avoid directly modifying the HTML itself, unless it is through JavaScript. Your final submission should balance style and substance. You may add basic boilerplate code, such as meta tags and structure, to ensure proper presentation and functionality.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Explore the Solar System</title>
</head>
<body>
<!-- Header Section -->
<header class="header">
<h1>Welcome to Our Solar System</h1>
<p>Discover the wonders of the Sun, planets, moons, and everything else that makes our solar system extraordinary.</p>
</header>
<!-- Solar System Overview Section -->
<section class="solar-system-overview">
<h2>About Our Solar System</h2>
<p>Our solar system is home to the Sun, eight planets, dozens of moons, countless asteroids, comets, and other celestial objects. Located in the Milky Way galaxy, it's the only place we know of that harbors life β on Earth.</p>
</section>
<!-- Planets Section -->
<section class="planets">
<h2>Planets of the Solar System</h2>
<!-- Mercury -->
<article class="planet mercury">
<h3>Mercury</h3>
<p>Mercury is the closest planet to the Sun and the smallest in our solar system. It has no atmosphere, and its surface temperatures vary drastically between day and night.</p>
<ul>
<li>Distance from Sun: 57.9 million km</li>
<li>Orbital Period: 88 Earth days</li>
<li>Moons: None</li>
</ul>
</article>
<!-- Venus -->
<article class="planet venus">
<h3>Venus</h3>
<p>Venus is the second planet from the Sun and is known for its thick, toxic atmosphere. Its surface is hotter than any other planet in the solar system due to the greenhouse effect.</p>
<ul>
<li>Distance from Sun: 108.2 million km</li>
<li>Orbital Period: 225 Earth days</li>
<li>Moons: None</li>
</ul>
</article>
<!-- Earth -->
<article class="planet earth">
<h3>Earth</h3>
<p>Earth is the third planet from the Sun and the only planet known to support life. It has one natural satellite, the Moon.</p>
<ul>
<li>Distance from Sun: 149.6 million km</li>
<li>Orbital Period: 365.25 Earth days</li>
<li>Moons: 1 (The Moon)</li>
</ul>
</article>
<!-- Mars -->
<article class="planet mars">
<h3>Mars</h3>
<p>Mars, the fourth planet from the Sun, is often called the "Red Planet" because of its reddish appearance caused by iron oxide on its surface. It's a prime candidate for future human exploration.</p>
<ul>
<li>Distance from Sun: 227.9 million km</li>
<li>Orbital Period: 687 Earth days</li>
<li>Moons: 2 (Phobos, Deimos)</li>
</ul>
</article>
<!-- Jupiter -->
<article class="planet jupiter">
<h3>Jupiter</h3>
<p>Jupiter is the largest planet in our solar system. It's known for its massive size, Great Red Spot (a giant storm), and many moons, including the four largest: Io, Europa, Ganymede, and Callisto.</p>
<ul>
<li>Distance from Sun: 778.5 million km</li>
<li>Orbital Period: 12 Earth years</li>
<li>Moons: 79 (4 major: Io, Europa, Ganymede, Callisto)</li>
</ul>
</article>
<!-- Saturn -->
<article class="planet saturn">
<h3>Saturn</h3>
<p>Saturn is famous for its stunning ring system, which is made up of ice and rock. It's the second-largest planet in the solar system and has numerous moons, including Titan, its largest.</p>
<ul>
<li>Distance from Sun: 1.43 billion km</li>
<li>Orbital Period: 29 Earth years</li>
<li>Moons: 83 (Titan being the largest)</li>
</ul>
</article>
<!-- Uranus -->
<article class="planet uranus">
<h3>Uranus</h3>
<p>Uranus is unique for its sideways rotation and faint ring system. It's an ice giant with a frigid atmosphere composed mainly of hydrogen, helium, and methane.</p>
<ul>
<li>Distance from Sun: 2.87 billion km</li>
<li>Orbital Period: 84 Earth years</li>
<li>Moons: 27</li>
</ul>
</article>
<!-- Neptune -->
<article class="planet neptune">
<h3>Neptune</h3>
<p>Neptune, the furthest planet from the Sun, is a deep blue ice giant. Its most prominent feature is the Great Dark Spot, a storm system similar to Jupiter's Great Red Spot.</p>
<ul>
<li>Distance from Sun: 4.5 billion km</li>
<li>Orbital Period: 165 Earth years</li>
<li>Moons: 14 (Triton being the largest)</li>
</ul>
</article>
</section>
<!-- Moons Section -->
<section class="moons">
<h2>Fascinating Moons of the Solar System</h2>
<!-- Earth's Moon -->
<article class="moon earth-moon">
<h3>The Moon (Earth)</h3>
<p>The Moon is Earth's only natural satellite and the fifth-largest moon in the solar system. Its phases have been integral to human culture for millennia.</p>
</article>
<!-- Titan (Saturn) -->
<article class="moon titan">
<h3>Titan (Saturn)</h3>
<p>Titan is Saturn's largest moon and has a thick atmosphere and liquid methane lakes. It's one of the most Earth-like worlds in the solar system, despite its frigid temperatures.</p>
</article>
<!-- Europa (Jupiter) -->
<article class="moon europa">
<h3>Europa (Jupiter)</h3>
<p>Europa, one of Jupiter's Galilean moons, is covered in ice. Scientists believe there's a vast ocean beneath its frozen surface, making it a prime candidate for finding extraterrestrial life.</p>
</article>
</section>
<!-- Other Solar System Objects Section -->
<section class="solar-system-objects">
<h2>Other Celestial Objects</h2>
<!-- Asteroid Belt -->
<article class="asteroid-belt">
<h3>The Asteroid Belt</h3>
<p>The asteroid belt lies between Mars and Jupiter and contains thousands of rocky bodies. Ceres, the largest object here, is considered a dwarf planet.</p>
</article>
<!-- Comets -->
<article class="comets">
<h3>Comets</h3>
<p>Comets are icy bodies that originate from the outer solar system. When they approach the Sun, their ice turns to gas, forming a bright tail visible from Earth.</p>
</article>
<!-- Kuiper Belt -->
<article class="kuiper-belt">
<h3>The Kuiper Belt</h3>
<p>The Kuiper Belt is a region beyond Neptune filled with icy bodies and dwarf planets, including Pluto. It's similar to the asteroid belt but far larger and more distant.</p>
</article>
</section>
<!-- Footer Section -->
<footer class="footer">
<p>© 2024 Explore the Solar System. All rights reserved.</p>
</footer>
</body>
</html>
Glam Up My Markup Submission Template
Weβre very excited to see your Space project! Questions? Ask them below.
Good luck and happy coding!
Top comments (13)
Nice! Let's ecsape to Space!
π§βππ
The sky is not the limit here !
lol
Yeah. @thepracticaldev, is pretty awesome. They should keep going.
Submitted mine, a star wars themed guide to Solar System π. First time joining the Dev.to hackathon.
Awesomeeeππ
Using React.js/Next.js with pure CSS is fine, or do we have to use just plain HTML, CSS & JavaScript? (for the CSS Art Challenge)
The CSS Art prompt should not use JavaScript!
Thankyou
You permit external library ???
Just submitted! First time challenger here!
Some comments may only be visible to logged-in visitors. Sign in to view all comments.