<?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: Hannah</title>
    <description>The latest articles on DEV Community by Hannah (@hannahsaurusrex).</description>
    <link>https://dev.to/hannahsaurusrex</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%2F249934%2F8be26a1a-f982-4172-8999-365a27097efd.jpeg</url>
      <title>DEV Community: Hannah</title>
      <link>https://dev.to/hannahsaurusrex</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hannahsaurusrex"/>
    <language>en</language>
    <item>
      <title>How to Mentor a Junior Developer New to Your Team</title>
      <dc:creator>Hannah</dc:creator>
      <pubDate>Tue, 04 May 2021 23:16:16 +0000</pubDate>
      <link>https://dev.to/hannahsaurusrex/how-to-mentor-a-junior-developer-new-to-your-team-33e3</link>
      <guid>https://dev.to/hannahsaurusrex/how-to-mentor-a-junior-developer-new-to-your-team-33e3</guid>
      <description>&lt;p&gt;I've been at my job for less than a year, and frequently have days where I'm consumed with imposter syndrome. So when my manager asked me to help support a Junior Developer new to our team, I was both flattered and overwhelmed. Thoughts crept up like: "I barely know enough about my &lt;em&gt;own&lt;/em&gt; job, let alone enough to mentor someone else." "I struggle with my own tasks, how will I be able to help this person with theirs?" After the thoughts rooted in fear had their chance to speak, the thoughts of excitement and joy chimed in: "This is an amazing opportunity to cement your own knowledge of our processes and share what you've learned so far." "Remember all the great mentors you've had? Now is your chance to be that person for someone else!".&lt;/p&gt;

&lt;p&gt;My fear and self-doubt were still there, but the joy and excitement I had about being this new employee's mentor far outweighed any of those negative thoughts. &lt;/p&gt;

&lt;p&gt;Below, I will share some strategies I used in helping this new employee get familiar with our systems and processes to conquer their first PR!&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;1. Familiarize yourself with their first task, and expect to pair with them the entire time.&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;In order for me to help this new employee succeed, I needed to be up to speed with the task at hand, the technical requirements, the designer responsible, and any other stakeholders or decision-makers involved. This helped with providing overall context of the task so that my lack of understanding was not a bottleneck in our pairing time together.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;2. Let them drive.&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This employee is very junior. I really didn't know what their level of comfort would be navigating through our codebase, and pushing commits to Github. In order for them to gain more confidence, I had them share their screen the whole time so they could drive. That way, they will become more comfortable with these new-to-them processes.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;3. Explain the why.&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If a newer employee is driving, they can get so focused on where to click, what to click, where to paste that text, etc., that they can forget the why behind what we're doing. I made sure to explain what we were doing in great detail, and provide as much context as possible to help paint a bigger picture for them about &lt;em&gt;why&lt;/em&gt; we were doing something. &lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;4. Tell them when you don't know something.&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;There were a few times during our pairing sessions that I didn't know the answer, or wasn't sure where to find a certain file. I made sure to say to this new employee "Hmm... I don't know where that is, but here is what I'm thinking we might try." It is always reassuring to me to hear another developer say "I don't know, but let's try this." That tells me that it's okay not to know something, and also helps give me clues into how others tackle problems. &lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;5. Make To-Do lists together.&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Having a design mock handy certainly helped guide our pairing sessions; but each morning we met, we outlined what was still outstanding or what needed to be fixed or polished. This gave them a jumping-off point and clear direction when I had to step away for other work commitments. &lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;6. Celebrate every milestone.&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;It can be very overwhelming and scary to start your first developer job. It was important to me that I made sure this employee felt like they were succeeding at every juncture. I made sure they knew how impressed I was with their progress. And when we met hurdles, I reassured them that I too had encountered these same challenges. Every new day, new challenge, and new milestone was a chance to celebrate their great work both on the task, and within our team. &lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;In conclusion&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;These first few weeks helping this new employee feel comfortable in their new role has been so rewarding. I have seen the joy in their face when their code works as expected, and frustration as more changes are added to their PR. But I have tried my best to reassure them along the way that they are doing great work, and that changes are expected, and that we &lt;em&gt;will&lt;/em&gt; merge this PR eventually. 😅&lt;/p&gt;

&lt;p&gt;I hope you have found these tips helpful. Let me know in the comments below: What is something that a coworker has done to help you feel comfortable in a new role?&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Sidebar layout using Grid &amp; TailwindCSS</title>
      <dc:creator>Hannah</dc:creator>
      <pubDate>Wed, 27 Jan 2021 02:01:49 +0000</pubDate>
      <link>https://dev.to/hannahsaurusrex/sidebar-layout-using-grid-tailwindcss-m6d</link>
      <guid>https://dev.to/hannahsaurusrex/sidebar-layout-using-grid-tailwindcss-m6d</guid>
      <description>&lt;h2&gt;
  
  
  Implementing Tailwind into your &lt;a href="https://www.codepen.io" rel="noopener noreferrer"&gt;Codepen&lt;/a&gt; project
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;In the CSS window, click on the gear icon.&lt;/li&gt;
&lt;li&gt;In the "Add External Stylesheets" section, search for "tailwind" and select "tailwindcss" from the dropdown menu.&lt;/li&gt;
&lt;li&gt;Hit "Save &amp;amp; Close"&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Building the grid
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;In the html section, start with a &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; tag and build out some base styles&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;section class="w-full max-w-6xl mx-auto px-4 m-4 border-2 border-red-600"&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;taking a mobile-first approach, establish this &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; as a full-width element with the tailwind class &lt;code&gt;w-full&lt;/code&gt;, and a max-width of 72rem, or &lt;code&gt;max-w-6xl&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;Next, let's add some margin and padding to get this area some breathing room.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mx-auto&lt;/code&gt; sets the margin left &amp;amp; right to auto, which helps center this section on the page; while m-4 sets the margin on all sides to 4rem, or 16px. &lt;code&gt;px-4&lt;/code&gt; sets the padding left &amp;amp; right to 4rem, or 16px.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;border-2&lt;/code&gt; class adds a border around the element with a width of 2px. The &lt;code&gt;border-red-600&lt;/code&gt; class adds a red color to the existing border. These two border classes are for demonstration purposes, so you can easily see where the &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; tag ends, and the following tags begin.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Inside the section tag, we will need a &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; to establish our grid property.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;div class="grid md:grid-cols-12 gap-5 p-4 m-2"&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;code&gt;grid&lt;/code&gt; is shorthand for &lt;code&gt;display:grid&lt;/code&gt;. This will establish our &lt;code&gt;div&lt;/code&gt; as a grid element so we have a main section that will take up the majority of the space, and a sidebar element next to it. &lt;code&gt;md:grid-cols-12&lt;/code&gt; says that on medium size screens (screens with a minimum width of 768px) the div will span 12 grid columns. &lt;code&gt;gap-5&lt;/code&gt; acts as our &lt;code&gt;grid-gap&lt;/code&gt; and will add a grid-gap of 1.25rem, or 16px. &lt;code&gt;p-4&lt;/code&gt; and &lt;code&gt;m-2&lt;/code&gt; set the padding and margin to 1rem and 0.5rem, respectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adding properties inside the Grid element
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Now that our grid layout has been established, we need our &lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;aside&amp;gt;&lt;/code&gt; tags.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;main class="md:col-span-9 p-4 border-2 border-green-600"&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Similar to earlier when we established the &lt;code&gt;div&lt;/code&gt; element as a 12 column grid, adding &lt;code&gt;md:col-span-9&lt;/code&gt; will tell this &lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; element to span the width of 9 of our available 12 columns on medium size screens. &lt;code&gt;p-4&lt;/code&gt; adds 1rem of padding in the element. And like before, the border elements are just for fun. &lt;/p&gt;

&lt;p&gt;Inside of the &lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; tag I also added a headline, subhead, and paragraph of text. Go ahead and add those now.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;h1 class="text-3xl"&amp;gt;Headline&amp;lt;/h1&amp;gt;
&amp;lt;h3 class="text-xl"&amp;gt;Subheadline&amp;lt;/h3&amp;gt;
&amp;lt;p&amp;gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum voluptas saepe sit qui, veniam, distinctio quos suscipit provident dolorum tempore officia eaque, delectus reiciendis. Ad odio quam ullam nostrum nisi.&amp;lt;/p&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;code&gt;text-3xl&lt;/code&gt; and &lt;code&gt;text-xl&lt;/code&gt; set the font-size of these header tags as 1.875rem and 1.25rem respectively.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;After the closing &lt;code&gt;&amp;lt;/main&amp;gt;&lt;/code&gt; tag, add an &lt;code&gt;&amp;lt;aside&amp;gt;&lt;/code&gt; html element.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;aside class="md:col-span-3 md:pt-0 p-2 border-2 border-blue-600"&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;On medium screens, this section will span 3 of our available 12 columns using &lt;code&gt;md:col-span-3&lt;/code&gt;, have a padding-top of 0px on medium screens, padding of 0.5rem on all sides, and as before, the borders are for fun!&lt;/p&gt;

&lt;p&gt;Add a &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag with some placeholder text inside of the &lt;code&gt;&amp;lt;aside&amp;gt;&lt;/code&gt; element and these two elements should live side-by-side on medium size screens and larger, and should stack, with the &lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; area above the &lt;code&gt;&amp;lt;aside&amp;gt;&lt;/code&gt; area on smaller screens.&lt;/p&gt;

&lt;h2&gt;
  
  
  Viewing our finished product
&lt;/h2&gt;

&lt;p&gt;Let's take a look here, &lt;a href="https://codepen.io/hannah-saurusrex/pen/wvzVjwV" rel="noopener noreferrer"&gt;at this codepen example.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fdpt4wfl5lvexjub0wrzs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fdpt4wfl5lvexjub0wrzs.png" alt="Screen Shot 2021-01-26 at 6.58.37 PM"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Notice how the css column of our Codepen project is empty? -- we wrote all of our css using Tailwind classes inside of our html elements!&lt;/p&gt;

&lt;p&gt;I like to think of Tailwind as writing a short-hand css. Tailwind assumes knowledge of css, so I suggest learning css first and slowly incorporating Tailwind into your projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Resources I find helpful
&lt;/h2&gt;

&lt;p&gt;Two Tailwind resources I love to use are the &lt;a href="https://tailwindcss.com/docs" rel="noopener noreferrer"&gt;TailwindCSS docs&lt;/a&gt; and &lt;a href="https://nerdcave.com/tailwind-cheat-sheet" rel="noopener noreferrer"&gt;this TailwindCSS Cheat Sheet&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are interested in becoming more familiar with CSS Grid, I suggest &lt;a href="https://cssgrid.io/" rel="noopener noreferrer"&gt;Wes Bos' &lt;strong&gt;FREE&lt;/strong&gt; css grid course.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Thank you!
&lt;/h2&gt;

&lt;p&gt;Thank you so much for reading. Let me know if you have any questions, suggestions or comments. &lt;/p&gt;

&lt;p&gt;You can find me on Twitter &lt;a href="https://twitter.com/hannahrosecodes" rel="noopener noreferrer"&gt;@hannahrosecodes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>tailwindcss</category>
      <category>grid</category>
    </item>
    <item>
      <title>JavaScript &amp; Ruby Project Ideas</title>
      <dc:creator>Hannah</dc:creator>
      <pubDate>Thu, 12 Mar 2020 16:02:59 +0000</pubDate>
      <link>https://dev.to/hannahsaurusrex/javascript-ruby-project-ideas-1dp9</link>
      <guid>https://dev.to/hannahsaurusrex/javascript-ruby-project-ideas-1dp9</guid>
      <description>&lt;p&gt;I am a self-taught JavaScript developer, and my friend just graduated from a bootcamp. We want to collaborate on a project together, but i'm not sure what we should build.&lt;/p&gt;

&lt;p&gt;Do you have any ideas of a project we can build that uses Ruby on Rails for the backend, and JavaScript for the frontend?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
  </channel>
</rss>
