<?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>DEV Community: Jason D'Oyley</title>
    <description>The latest articles on DEV Community by Jason D'Oyley (@jdfdoyley).</description>
    <link>https://dev.to/jdfdoyley</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%2F287305%2Fd692c6ed-ae8d-419a-a383-a1d7a1e9f6e2.jpg</url>
      <title>DEV Community: Jason D'Oyley</title>
      <link>https://dev.to/jdfdoyley</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jdfdoyley"/>
    <language>en</language>
    <item>
      <title>Frontend Mentor - Order Summary Component Solution</title>
      <dc:creator>Jason D'Oyley</dc:creator>
      <pubDate>Sun, 09 Oct 2022 20:53:20 +0000</pubDate>
      <link>https://dev.to/jdfdoyley/frontend-mentor-order-summary-component-solution-b2o</link>
      <guid>https://dev.to/jdfdoyley/frontend-mentor-order-summary-component-solution-b2o</guid>
      <description>&lt;p&gt;This is a solution to the &lt;a href="https://www.frontendmentor.io/challenges/order-summary-component-QlPmajDUj"&gt;Order summary card challenge on Frontend Mentor&lt;/a&gt;. Frontend Mentor challenges help new and experience developers improve their coding skills by building realistic projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
Overview

&lt;ul&gt;
&lt;li&gt;The challenge&lt;/li&gt;
&lt;li&gt;Screenshots&lt;/li&gt;
&lt;li&gt;Links&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
My process

&lt;ul&gt;
&lt;li&gt;Workflow&lt;/li&gt;
&lt;li&gt;Built with&lt;/li&gt;
&lt;li&gt;What I learned&lt;/li&gt;
&lt;li&gt;Continued development&lt;/li&gt;
&lt;li&gt;Useful resources&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Author&lt;/li&gt;
&lt;li&gt;Acknowledgments&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;p&gt;In this challenge I am to build out an order summary component (see screenshots below) and get it look as close to the design as possible.&lt;/p&gt;

&lt;p&gt;I am able to use any tools I would like to help complete this challenge. The reason for doing this challenge was so that I can practice my frontend dev skills. I have been learning HTML, CSS and JavaScript for a while now but I have not created anything without guidance. That's what led me to Frontend Mentor.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Challenge
&lt;/h3&gt;

&lt;p&gt;Users should be able to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;See hover states for interactive elements&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Desktop Design
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jSyPpO1y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k6i9mnaoit8v7nc1z2jr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jSyPpO1y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k6i9mnaoit8v7nc1z2jr.jpg" alt="Desktop design" width="880" height="550"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Desktop Design - Active State
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cQIW6-Pu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hnh5det8e93u50cja9av.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cQIW6-Pu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hnh5det8e93u50cja9av.jpg" alt="Desktop design - active state" width="880" height="550"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;GitHub Repo: &lt;a href="https://github.com/jdfdoyley/order-summary-component"&gt;https://github.com/jdfdoyley/order-summary-component&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Live Site: &lt;a href="https://order-summary-component-ten-ashen.vercel.app/"&gt;https://order-summary-component-ten-ashen.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  My process
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Workflow
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step 1:&lt;/strong&gt; Initialize project directory using Git&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step 2:&lt;/strong&gt; Configure local repository to push to remote repository&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step 3:&lt;/strong&gt; Examine project design and come up with a plan on how to tackle the project&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step 4:&lt;/strong&gt; Start by creating the layout using only HTML&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step 5:&lt;/strong&gt; Start adding styles to the project. Style will be added in the following order using the top-down approach:

&lt;ul&gt;
&lt;li&gt;General content style&lt;/li&gt;
&lt;li&gt;Sectional styles&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step 6:&lt;/strong&gt; Test the completeness of the project agains the design&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Built with
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Semantic HTML5 markup&lt;/li&gt;
&lt;li&gt;CSS custom properties&lt;/li&gt;
&lt;li&gt;8pt-Grid System&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.figma.com/"&gt;Figma&lt;/a&gt; help with design&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What I learned
&lt;/h3&gt;

&lt;p&gt;While building this project I got the opportunity to learn about the following:&lt;/p&gt;

&lt;h4&gt;
  
  
  The 8pt Grid System
&lt;/h4&gt;

&lt;p&gt;The 8-pt grid system is basically using multiples of 8 to define dimensions, padding, and margin of both block and inline elements.&lt;/p&gt;

&lt;h4&gt;
  
  
  The Box Model
&lt;/h4&gt;

&lt;p&gt;The box model is a way to describe an element's dimensions and spacing. This model consist of four (4) parts: the border, the margins, the padding, and  the content.&lt;br&gt;
&lt;strong&gt;Content&lt;/strong&gt;: The content of the box, where text and images appear.&lt;br&gt;
&lt;strong&gt;Border&lt;/strong&gt;: The thickness of the line/stroke that surrounds the padding and the content&lt;br&gt;
&lt;strong&gt;Margins&lt;/strong&gt;: The extra space surrounding the element&lt;br&gt;
&lt;strong&gt;Padding&lt;/strong&gt;: The space around the content; between the content and the content's borders&lt;/p&gt;
&lt;h4&gt;
  
  
  CSS Grid
&lt;/h4&gt;

&lt;p&gt;I learned how to vertically and horizontally center content using &lt;code&gt;place-items&lt;/code&gt;. The code is as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;grid&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="py"&gt;place-items&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;center&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100vh&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Continued development
&lt;/h3&gt;

&lt;p&gt;In future projects, I would like to keep utilizing HTML 5 semantics, Flexbox and Grids. At the moment, I don't feel comfortable using them. I will keep using them until I've gain mastery over deciding when and where to use them. I will accomplish this by doing more and more Frontend Mentor projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  Useful resources
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://spec.fm/specifics/8-pt-grid"&gt;The 8-Point Grid&lt;/a&gt; - This is an amazing article which helped me finally understand the 8-pt grid system. I'd recommend it to anyone still learning this concept.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Author
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Frontend Mentor - &lt;a href="https://www.frontendmentor.io/profile/jdfdoyley"&gt;@jdfdoyley&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Twitter - &lt;a href="https://www.twitter.com/jdfdoyley"&gt;@jdfdoyley&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;LinkedIn- &lt;a href="https://www.linkedin.com/in/jdfdoyley/"&gt;@jdfdoyley&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub- &lt;a href="https://github.com/jdfdoyley"&gt;@jdfdoyley&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Acknowledgments
&lt;/h2&gt;

&lt;p&gt;I would like to thank &lt;a href="https://www.youtube.com/c/MadisonKanna"&gt;Madison Kanna&lt;/a&gt; who has a video on completing this challenge. She helped in filling in the gaps in my knowledge and whenever I was a bit stuck.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>webdev</category>
      <category>html</category>
      <category>css</category>
    </item>
  </channel>
</rss>
