برای چالش بعدی Frontend: Space Edition به ما بپیوندید 👾🪐👽
ما به تازگی یک چالش Frontend جدید راه اندازی کردیم!
در حال دویدن 15 سپتامبر، Frontend Challenge: Space Edition دارای دو فرمان خواهد بود: هنر CSS و Glam Up My Markup.
موضوع ما برای این نسخه از چند پست عالی که اخیراً در DEV دیدهایم الهام گرفته شده است (@cookiemonsterdev @madsstoumann 👀) بنابراین امیدواریم بتوانیم خط خلاقیت آنها را ادامه دهیم و با همه شما به اعماق کهکشانها شیرجه بزنیم!
مثل همیشه، در هر درخواست یک برنده وجود خواهد داشت. این دو شانس برای برنده شدن حق افتخار است، یک هدیه از فروشگاه DEV و یک نشان انحصاری DEV. به یاد داشته باشید: نشان ها می توانند در نمایه شما جمع شوند تا چندین برد را به نمایش بگذارند! اما البته، این در مورد مقصد برنده (مریخ؟) نیست – بلکه در مورد سفر (کشتی موشکی) است!
امیدواریم این فرصتی باشد تا خود را به چالش بکشید و از آن لذت ببرید. برای یادگیری نحوه شرکت به ادامه مطلب بروید!
درخواست می کند
CSS Art: Space
وقتی صحبت از فضا می شود، آنچه را که به ذهنتان می رسد، ترسیم کنید. آیا این فیلم مورد علاقه شماست؟ چرخه اخبار فعلی؟ یا تخیل شما چیزی کاملاً خارج از این دنیا را برمی انگیزد؟ هر چه هست، لطفاً آن را از طریق هنر CSS با ما به اشتراک بگذارید!
در اینجا الگوی ارسال برای هر کسی است که میخواهد مستقیماً وارد شود، اما لطفاً قبل از ارسال، همه قوانین چالش را در صفحه چالش رسمی مرور کنید.
الگوی ارسال هنر CSS
Glam Up My Markup: منظومه شمسی
از CSS و جاوا اسکریپت برای ایجاد نشانه گذاری HTML شروع زیر برای منظومه شمسی از نظر بصری خیره کننده، تعاملی و آموزشی استفاده کنید. ما یک الگوی اساسی ارائه کردهایم که سیارات، قمرها و سایر اجرام آسمانی منظومه شمسی را به همراه برخی حقایق در مورد هر کدام فهرست میکند. از آنجایی که الگو شامل هیچ عنصر طراحی یا تعاملی نیست، باید خلاقیت به خرج دهید تا آن را از نظر بصری جذاب و جذاب کنید.
ارسال شما باید تجربه کاربر را با طراحی سرگرم کننده و پویا بهبود بخشد، اما همچنین باید در دسترس و آسان برای استفاده باشد. شما باید از تغییر مستقیم خود HTML خودداری کنید، مگر اینکه از طریق جاوا اسکریپت باشد. ارسال نهایی شما باید سبک و ماهیت را متعادل کند. برای اطمینان از ارائه و عملکرد مناسب، می توانید کد پایه دیگ بخار، مانند متا تگ ها و ساختار را اضافه کنید.
<!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
ما از دیدن پروژه فضایی شما بسیار هیجان زده هستیم! سوالات؟ از آنها در زیر بپرسید.
موفق باشید و کد نویسی شاد!