<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Lade Oshodi</title>
    <description>The latest articles on Forem by Lade Oshodi (@ladeoshodi).</description>
    <link>https://forem.com/ladeoshodi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1572299%2F97ede1f0-35dd-493a-a509-d475d34fd2c1.jpg</url>
      <title>Forem: Lade Oshodi</title>
      <link>https://forem.com/ladeoshodi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ladeoshodi"/>
    <language>en</language>
    <item>
      <title>Glam Up My Markup: Winter Solstice</title>
      <dc:creator>Lade Oshodi</dc:creator>
      <pubDate>Fri, 06 Dec 2024 22:56:47 +0000</pubDate>
      <link>https://forem.com/ladeoshodi/glam-up-my-markup-winter-solstice-21e9</link>
      <guid>https://forem.com/ladeoshodi/glam-up-my-markup-winter-solstice-21e9</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/frontend-2024-12-04"&gt;Frontend Challenge - December Edition, Glam Up My Markup: Winter Solstice&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I created an interactive and responsive landing page about the Winter Solstice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy6v4hssokc2zhtgv849i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy6v4hssokc2zhtgv849i.png" alt="Winter Solstice" width="800" height="547"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have a peek at the code: &lt;a href="https://github.com/ladeoshodi/winter-solstice" rel="noopener noreferrer"&gt;Celebrating Winter Solstice&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Live site: &lt;a href="https://ladeoshodi.github.io/winter-solstice/" rel="noopener noreferrer"&gt;Celebrating Winter Solstice&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Journey
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Styling the navbar and footer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I used CSS grid for the overall page and CSS flexbox to lay out the links in the navigation bar. Finally, I used a media query to stack up the navigation links when displayed on smaller screens.&lt;/p&gt;

&lt;p&gt;It was interesting learning the importance of this viewport meta tag to make the page responsive&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1yhcx36e2bf1ew6ascxl.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1yhcx36e2bf1ew6ascxl.gif" alt="Responsive landing page 1" width="500" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Switching between tabs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This second step involved using JavaScript to toggle the display of each section depending on which navigation link was clicked/active. This gives it the interactivity of navigating between different pages&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fozt3z0yhqnlfbpjvthdk.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fozt3z0yhqnlfbpjvthdk.gif" alt="Responsive landing page 2" width="600" height="589"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Making it more beautiful&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For the last step, I assigned various background images to each section to make it more interesting&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmnvwx3s2rp5b8tplf7bj.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmnvwx3s2rp5b8tplf7bj.gif" alt="Responsive landing page 3" width="600" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Attributes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Tree Photo by &lt;a href="https://unsplash.com/@fabulu75?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash" rel="noopener noreferrer"&gt;Fabrice Villard&lt;/a&gt; on &lt;a href="https://unsplash.com/photos/withered-tree-surrounded-with-snow-during-daytime-Du41jIaI5Ww?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash" rel="noopener noreferrer"&gt;Unsplash&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.freepik.com/free-vector/flat-winter-eskimo-illustration_33745102.htm#fromView=search&amp;amp;page=1&amp;amp;position=2&amp;amp;uuid=44d27711-d651-4907-867c-0d67c69c3691" rel="noopener noreferrer"&gt;Snowball Fight Image&lt;/a&gt; by freepik&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.freepik.com/free-vector/flat-winter-people-collection_19838194.htm#fromView=image_search_similar&amp;amp;page=1&amp;amp;position=31&amp;amp;uuid=0f4382f7-6e77-4c84-a1d4-814bfdccf46e" rel="noopener noreferrer"&gt;Winter People Image&lt;/a&gt; by freepik&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.freepik.com/free-vector/virtual-reality-concept_11372779.htm#fromView=image_search_similar&amp;amp;page=1&amp;amp;position=50&amp;amp;uuid=0f4382f7-6e77-4c84-a1d4-814bfdccf46e" rel="noopener noreferrer"&gt;Virtual Reality Image&lt;/a&gt; by freepik&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.freepik.com/free-vector/flat-eskimo-illustration_33810950.htm#fromView=image_search_similar&amp;amp;page=1&amp;amp;position=45&amp;amp;uuid=0f4382f7-6e77-4c84-a1d4-814bfdccf46e" rel="noopener noreferrer"&gt;Woman Eskimo and Dog Image&lt;/a&gt; by freepix&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.freepik.com/free-vector/flat-eskimo-illustration_33810950.htm#fromView=image_search_similar&amp;amp;page=1&amp;amp;position=45&amp;amp;uuid=0f4382f7-6e77-4c84-a1d4-814bfdccf46e" rel="noopener noreferrer"&gt;Winter Eskimo Image&lt;/a&gt; by freepix&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>frontendchallenge</category>
      <category>css</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
