<?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: Lynne Finnigan</title>
    <description>The latest articles on DEV Community by Lynne Finnigan (@lynnewritescode).</description>
    <link>https://dev.to/lynnewritescode</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%2F16446%2Fa71eaf27-a348-49fd-b7b8-4507135547ec.jpg</url>
      <title>DEV Community: Lynne Finnigan</title>
      <link>https://dev.to/lynnewritescode</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lynnewritescode"/>
    <language>en</language>
    <item>
      <title>I'm a frontend developer. Or am I?</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Tue, 29 Jan 2019 21:56:03 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/im-a-frontend-developer-or-am-i-3gkh</link>
      <guid>https://dev.to/lynnewritescode/im-a-frontend-developer-or-am-i-3gkh</guid>
      <description>&lt;p&gt;As a frontend developer, I've always found it difficult to draw the line between what is considered to be frontend and backend development. Apparently I'm not alone in this!&lt;/p&gt;

&lt;p&gt;My first job in a digital agency involved me working with HTML, Sass, and Coffeescript to build websites that match as closely as possible to the designs provided by the design team. In addition to this, I would work with Ruby on Rails, which our custom CMS was built on, to pull through data into the views.&lt;/p&gt;

&lt;p&gt;I had a great mentor in that job, who taught me so much about Sass and code organisation, which I'm still very passionate about today (I can't thank you enough Simon!). As a junior I was thrown in at the deep end, and for me it was the best way to learn.&lt;/p&gt;

&lt;p&gt;In my mind, this was a frontend developer's role, and it felt clearly defined at the time.&lt;/p&gt;

&lt;h3&gt;
  
  
  A new chapter
&lt;/h3&gt;

&lt;p&gt;In 2015, I moved to a different digital agency. The frontend developers wrote HTML, Sass, and some JavaScript, and then passed it all on to the backend developers to hook up to the CMS.&lt;/p&gt;

&lt;p&gt;Things have changed a lot since then, and now our frontends work with the CMS and C# Razor markup, as well as React and Vue when required. But it seems that since frontend frameworks have gained more popularity, the definition of what a frontend developer actually does has become even more blurry.&lt;/p&gt;

&lt;p&gt;Other people can sometimes struggle to know which tasks are frontend and which are backend. Sometimes I feel as though people don't entirely realise the amount of work that is involved in frontend development. &lt;/p&gt;

&lt;p&gt;We're in a sort of hybrid role that works between designers and backend developers to make sure your website looks awesome and performs well.&lt;/p&gt;

&lt;p&gt;It also becomes difficult when recruiting new frontend developers. As a company, we pride ourselves on building websites that match our designs as closely as possible. People will literally tell me if an icon is a few pixels out. And I know what you're thinking, but that's not a bad thing. It has made me better at my job and the smallest changes like that can have a massive effect on the final product. Everyone in the company knows this. It's a team effort and it's constructive. No one takes it personally. Everybody cares deeply about what we're creating.&lt;/p&gt;

&lt;p&gt;The difficulty in recruiting a new frontend is that we need someone who is extremely capable with HTML, Sass, styling, and the design side of things - but also a great JavaScript developer. And it seems that they are more divided than ever these days.&lt;/p&gt;

&lt;p&gt;The questions I have for the dev community are: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does anyone else struggle with this, or is it just me? 😁&lt;/li&gt;
&lt;li&gt;As a frontend developer, what do you consider your role to be? How would you define it?&lt;/li&gt;
&lt;li&gt;Do you feel that the title 'frontend developer' is appropriate for the vast amount of skillsets it covers?&lt;/li&gt;
&lt;li&gt;Have you had similar experiences in terms of recruitment, and finding someone with the same expectations in the role?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I think it's an interesting discussion and I have heard of instances where frontend developers feel under-appreciated because people "don't really know what they do". Also for the sheer amount of skills they are expected to know, in comparison with backend development. &lt;/p&gt;

&lt;p&gt;What are your thoughts on this?&lt;/p&gt;

</description>
      <category>career</category>
      <category>discuss</category>
      <category>culture</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I'm attending my first dev conference in 2019! Tips?</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Wed, 19 Dec 2018 20:53:44 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/im-attending-my-first-dev-conference-in-2019-tips-238i</link>
      <guid>https://dev.to/lynnewritescode/im-attending-my-first-dev-conference-in-2019-tips-238i</guid>
      <description>&lt;p&gt;I'm excited to be attending my first developer conference in February next year, &lt;a href="https://www.frontenddeveloperlove.com" rel="noopener noreferrer"&gt;Frontend Developer Love 2019&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;I can't wait to go, there are some great speakers at the event.&lt;/p&gt;

&lt;p&gt;As this is my first conference, I'm not sure what to expect. Does anyone have any tips? I'm hoping to get some good photos, take lots of notes, and hopefully write a few blog posts about the experience.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>career</category>
      <category>conferences</category>
      <category>advice</category>
    </item>
    <item>
      <title>5 CSS tips you didn't know you needed</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Wed, 28 Nov 2018 22:53:39 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/5-css-tips-you-didnt-know-you-needed-nb3</link>
      <guid>https://dev.to/lynnewritescode/5-css-tips-you-didnt-know-you-needed-nb3</guid>
      <description>&lt;p&gt;Having worked in web development agencies over the years, I've picked up some tips and tricks along the way. There are some things that I use day to day, that I barely even think about. Some of them are fairly standard, and others are a bit more unusual, but all of the snippets and examples below are things that I've used on client websites.&lt;/p&gt;

&lt;h3&gt;
  
  
  Transitions
&lt;/h3&gt;

&lt;p&gt;By default on all of the websites I build, I always add a CSS transition on the links and buttons for their hover state. It just adds a nice effect on hover, and takes away from that harsh/abrupt change when you interact with a button or link.&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="o"&gt;//&lt;/span&gt; &lt;span class="nt"&gt;Background&lt;/span&gt; &lt;span class="nt"&gt;colour&lt;/span&gt; &lt;span class="nt"&gt;transition&lt;/span&gt;
&lt;span class="nt"&gt;transition&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;background&lt;/span&gt; &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="err"&gt;2&lt;/span&gt;&lt;span class="nt"&gt;s&lt;/span&gt; &lt;span class="nt"&gt;ease-in-out&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a button I'd most likely add the transition for the background colour as shown above, for a link I'd set the transition property to all (&lt;code&gt;transition: all 0.2s ease-in-out&lt;/code&gt;) which could allow me to transition the hover colour and border for example.&lt;/p&gt;

&lt;p&gt;I also never use &lt;code&gt;text-decoration: underline&lt;/code&gt;. You don't have much control using that, whereas you can use a bottom border to get a much nicer effect. Padding allows for better spacing, and you can even transition or animate the border if you'd like.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="nc"&gt;.link&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;border&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="mi"&gt;.2s&lt;/span&gt; &lt;span class="n"&gt;ease-in-out&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;border-bottom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1px&lt;/span&gt; &lt;span class="nb"&gt;solid&lt;/span&gt; &lt;span class="nb"&gt;transparent&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.link&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&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;
  
  
  Background overlay
&lt;/h3&gt;

&lt;p&gt;Say you have some text, positioned absolutely on top of an image. But the background image is too bright, making the text unreadable. You could add another &lt;code&gt;div&lt;/code&gt; in there somewhere to create a dark overlay behind the text, however this is not great and adds an extra empty &lt;code&gt;div&lt;/code&gt; that is not really necessary.&lt;/p&gt;

&lt;p&gt;Pseudo-elements to the rescue! &lt;/p&gt;

&lt;p&gt;Using the &lt;code&gt;:before&lt;/code&gt; element means we can also apply it if a certain class is added to the &lt;code&gt;div&lt;/code&gt; for instance. Below is an example of how I would achieve this overlay background:&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/lynnewritescode/embed/aQRPNL?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
The key part in the above code is setting your overlay colour, and opacity level. This can be any colour, I've just used black and white as an example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="c1"&gt;//Black overlay - 0.5 opacity&lt;/span&gt;
&lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="mi"&gt;.5&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;//White overlay - 0.2 opacity&lt;/span&gt;
&lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="mi"&gt;.2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Multi-line underline effect
&lt;/h3&gt;

&lt;p&gt;The pen below is something that may or may not be useful to people, but it is something I was asked to do on a client website. It allows the ability to have a bold underline effect which will span across a sentence to the length of that sentence, even if it's wrapped over multiple lines.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/lynnewritescode/embed/mwqBbX?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
Even if this doesn't apply to your design, or requirements. It can also be used for things such as a link hover effect like the one shown below:&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/lynnewritescode/embed/zMmyJW?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  Sticky elements
&lt;/h3&gt;

&lt;p&gt;Need an element to stick on scroll, but don't want to use JavaScript, or a plugin, or the height of your content is dynamic and likely to change? &lt;code&gt;position: sticky&lt;/code&gt; is your friend.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;webkit-sticky&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sticky&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nl"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This was incredibly handy for me when I had to have a sidebar stick next to an accordion element. Because of the accordion opening and closing, I would have had to calculate the height or use some other complicated method, when &lt;code&gt;position: sticky&lt;/code&gt; just worked straight away. The only thing I've found to look out for is that it doesn't work when the body element is set to &lt;code&gt;overflow: hidden&lt;/code&gt;, and is not supported in IE11 (it just doesn't stick, and Edge is fine).&lt;/p&gt;

&lt;h3&gt;
  
  
  Prevent highlighting
&lt;/h3&gt;

&lt;p&gt;Being able to select text on a website is fairly standard and expected, however I've found occasionally that the user can click multiple times on an element (for example a carousel arrow) and it selects/highlights the element.&lt;/p&gt;

&lt;p&gt;To prevent this, you can use the following snippet:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="nc"&gt;.noselect&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;-webkit-touch-callout&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="cm"&gt;/* iOS Safari */&lt;/span&gt;
    &lt;span class="na"&gt;-webkit-user-select&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="cm"&gt;/* Safari */&lt;/span&gt;
       &lt;span class="na"&gt;-moz-user-select&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="cm"&gt;/* Firefox */&lt;/span&gt;
        &lt;span class="na"&gt;-ms-user-select&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="cm"&gt;/* Internet Explorer/Edge */&lt;/span&gt;
            &lt;span class="na"&gt;user-select&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="cm"&gt;/* Non-prefixed version, currently
                                  supported by Chrome and Opera */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you got this far, thanks for reading! I hope this comes in handy for some people and I hope to do some further posts with some more day to day snippets if that is of interest to anyone.&lt;/p&gt;

&lt;p&gt;Follow me on &lt;a href="http://twitter.com/lynnewritescode" rel="noopener noreferrer"&gt;twitter&lt;/a&gt; and &lt;a href="http://instagram.com/lynnewritescode" rel="noopener noreferrer"&gt;instagram&lt;/a&gt; for more dev related stuff!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>tips</category>
      <category>devtips</category>
    </item>
    <item>
      <title>My SCSS setup within a Vue CLI 3 project</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Sat, 08 Sep 2018 11:15:53 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/my-scss-setup-within-a-vue-cli-3-project-4jan</link>
      <guid>https://dev.to/lynnewritescode/my-scss-setup-within-a-vue-cli-3-project-4jan</guid>
      <description>&lt;p&gt;I never realised that I had lost some of my passion for development until Vue.js came along. I'm still learning, but it has made coding fun again for me. I've played with it on and off for a little while, and now I'm working on building my &lt;a href="http://lynnefinnigan.com" rel="noopener noreferrer"&gt;own website&lt;/a&gt; from scratch again using Vue.&lt;/p&gt;

&lt;p&gt;One of the hardest things to get my head around was the project structure. It's something not very many tutorials cover. Eventually I pieced it together, and came across my next problem. SCSS.&lt;/p&gt;

&lt;p&gt;I couldn't find a lot of information on how people usually handle their use of global styles, and also styles within each component. I had an idea of how I wanted to do it, but no idea how to actually achieve it. If you're in a similar situation, I hope this article helps in some way.&lt;/p&gt;

&lt;p&gt;So here's how I create a Vue CLI 3 app from scratch...&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating the app
&lt;/h2&gt;

&lt;p&gt;Assuming you have Vue CLI 3 installed, run the following command in the terminal to launch the Vue Project Manager in your browser.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;vue&lt;/span&gt; &lt;span class="nx"&gt;ui&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you don't have it installed yet, here is the &lt;a href="https://cli.vuejs.org/guide/installation.html" rel="noopener noreferrer"&gt;documentation&lt;/a&gt; you need.&lt;/p&gt;

&lt;p&gt;To create an app, simply click the &lt;strong&gt;create&lt;/strong&gt; button at the top of the screen in the Vue Project Manager. This will then take you through various steps which you would normally have to do in the terminal, and allow you to save your settings as a preset. Handy!&lt;/p&gt;

&lt;p&gt;For my projects I tend to choose the following options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Package manager: Yarn&lt;/li&gt;
&lt;li&gt;Preset: Manual (for the first project)&lt;/li&gt;
&lt;li&gt;Features: Babel, Router, CSS Pre-processors, Linter/Formatter&lt;/li&gt;
&lt;li&gt;History mode: on&lt;/li&gt;
&lt;li&gt;Pre-processor: SCSS/SASS&lt;/li&gt;
&lt;li&gt;Linter/Formatter: ESLint + Prettier (Lint on save)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then click &lt;strong&gt;Create Project&lt;/strong&gt; and it will create your app. You should now have a basic Vue.js project. You can run this by going to the tasks tab in the Vue Project Manager and clicking on &lt;strong&gt;serve&lt;/strong&gt; to launch your site locally.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting up our styles
&lt;/h2&gt;

&lt;p&gt;First of all, create a folder within the src folder named &lt;strong&gt;styles&lt;/strong&gt;. This is where we will store all of our SCSS for the app. In this folder, create a file that will be used for your global styles e.g. &lt;strong&gt;global.scss&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the Vue Project Manager, go to the &lt;strong&gt;Plugins&lt;/strong&gt; tab and click on the &lt;strong&gt;Add plugin&lt;/strong&gt; button. We want to install a plugin called &lt;strong&gt;vue-cli-plugin-style-resources-loader&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Once this has installed, it will add a file to the root of your project called &lt;strong&gt;vue.config.js&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Go to &lt;strong&gt;vue.config.js&lt;/strong&gt; and add the following code, replacing the stylesheet name/path with whatever you have named your scss file for your global styles.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;path&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;path&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nx"&gt;module&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;exports&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;pluginOptions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;style-resources-loader&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;preProcessor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scss&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;patterns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;__dirname&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;./src/styles/global.scss&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
    &lt;span class="p"&gt;}&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;p&gt;Now, all of the styles from global.scss will be available across the project and within components. Normally my SCSS file structure looks something like this to begin with:&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/http%3A%2F%2Flynnefinnigan.com%2Fstatic%2Fimg%2Fstyles.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/http%3A%2F%2Flynnefinnigan.com%2Fstatic%2Fimg%2Fstyles.png" alt="Image of scss file structure" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have basic rich text styles within _base.scss, and variables, typography, etc are all stored in their respective folders as partials. These are then imported into the global stylesheet like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"setup/normalize.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"setup/typography.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"setup/variables.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"setup/mixins.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"basics/base.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"basics/layout.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"basics/links.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"basics/buttons.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I also have a folder within the styles directory for &lt;strong&gt;components&lt;/strong&gt;. Each component I create in Vue will have it's own scss partial. A useful feature of Vue.js is that you can add styles within the Vue component file, and these can be &lt;strong&gt;scoped&lt;/strong&gt; so that they will only render if that specific component is rendered on the page.&lt;/p&gt;

&lt;p&gt;Now that we're all set up, adding styles to a component is easy. Here is how it would look in my component &lt;strong&gt;Example.vue&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight vue"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;I am a component!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Example&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;style&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"scss"&lt;/span&gt; &lt;span class="na"&gt;scoped&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s2"&gt;"../styles/components/example.scss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;style&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;Inside the &lt;strong&gt;_example.scss&lt;/strong&gt; file you would have access to all the variables/typography/mixins and anything else you have added in your global styles. You could also write it out inside the style tag like this, with &lt;strong&gt;$c-title&lt;/strong&gt; being our global variable name for the title colour:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight vue"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;style&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"scss"&lt;/span&gt; &lt;span class="na"&gt;scoped&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;h1&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nv"&gt;$c-title&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;style&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;However, I prefer to keep all of the styles in one place overall (the styles folder &amp;amp; sub folders), with the file names named the same as the component itself. This makes it easier to find and for other people to work with.&lt;/p&gt;

&lt;p&gt;This has been a long(ish) article, so if you've made it this far, thanks for reading! I hope this helps in some way. Have fun with your Vue projects and create something awesome!&lt;/p&gt;

</description>
      <category>vue</category>
      <category>tutorial</category>
      <category>devtips</category>
      <category>scss</category>
    </item>
    <item>
      <title>How do you gain a deep understanding of your code?</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Sat, 09 Jun 2018 10:53:24 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/how-do-you-gain-a-deep-understanding-of-your-code-4obn</link>
      <guid>https://dev.to/lynnewritescode/how-do-you-gain-a-deep-understanding-of-your-code-4obn</guid>
      <description>&lt;p&gt;Everyone has different ways of learning, and I've read a few interesting articles on here about it. Some people are very visual learners, some like to sketch things out, read articles, or watch videos. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My question is: if you have a topic you want to learn, and you want to know everything there is to know about it, and gain a deep knowledge and understanding of it, where do you start? What is your process?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I find that some articles I'm reading are relatively opinionated, or not written with beginners in mind. They can sometimes skip over the structure/architecture of a project and why it is this way. Video tutorials are good but make me follow an example project, which I can't always apply to my own work.&lt;/p&gt;

&lt;p&gt;I suspect it really is just 'trial and error' and building up that understanding over time. But I'm just curious. I'm fascinated by people who can tell me how and why things work, when often I feel like I just 'know enough to do the job'. &lt;/p&gt;

&lt;p&gt;It's hard to explain but it's not so much about writing the code, or the syntax. It's the overall concept of how things tie together and why things are done in a certain way.&lt;/p&gt;

</description>
      <category>learning</category>
      <category>development</category>
      <category>devdiscuss</category>
      <category>tips</category>
    </item>
    <item>
      <title>6 Reasons to use Vue.js</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Sun, 15 Apr 2018 12:30:41 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/6-reasons-to-use-vuejs-1p6c</link>
      <guid>https://dev.to/lynnewritescode/6-reasons-to-use-vuejs-1p6c</guid>
      <description>&lt;p&gt;&lt;em&gt;Cover image by Clément H on &lt;a href="https://unsplash.com/photos/95YRwf6CNw8" rel="noopener noreferrer"&gt;Unsplash&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I recently started working with Vue.js, and so far it has been one of the most enjoyable frameworks to learn. It’s very easy to set up and you can build something simple very quickly. I have had a so much fun with it recently, and felt the need to write this post and share some of the reasons I think people should give it a try!&lt;/p&gt;

&lt;h3&gt;
  
  
  Simplicity
&lt;/h3&gt;

&lt;p&gt;Adding Vue to an existing web project is relatively simple. You can start coding very quickly without having to know anything about JSX, ES2015, or build systems to get started. As long as you are familiar with HTML and JavaScript, you can read their guide and build something basic within a day, which is a big advantage in a fast-paced development team where you may have to pick up something quickly.&lt;/p&gt;

&lt;h3&gt;
  
  
  Flexibility
&lt;/h3&gt;

&lt;p&gt;With Vue, you can write an app very quickly and run it straight from the browser, or you can build a complex application using ES6, JSX, components, routing, bundling etc if you want to. &lt;/p&gt;

&lt;p&gt;It can handle the many different ways in which you might want to use it. It is also flexible enough that it accommodates for different ways of writing your code, for example, you can write a template in HTML, or in Javascript, or you can use JSX. &lt;/p&gt;

&lt;p&gt;It gives you the freedom to structure your application in a way that suits you, there is no ‘right’ way.&lt;/p&gt;

&lt;h3&gt;
  
  
  Comprehensive documentation
&lt;/h3&gt;

&lt;p&gt;The Vue documentation is very detailed, easy to understand, and includes various code examples. It also has a good, growing community of developers that can offer help when needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can be used for simple and complex applications
&lt;/h3&gt;

&lt;p&gt;For larger, more complex applications you can use Vuex for state management and routing. A key difference between using Vuex and using Redux/Flux with React for example, is that Vue’s companion libraries are officially supported and kept up to date with the core library. Redux and Flux came from the React community and is not tied to React.&lt;/p&gt;

&lt;h3&gt;
  
  
  Transition effects
&lt;/h3&gt;

&lt;p&gt;During the transition process, Vue adds and removes classes on components/elements. It has 6 different classes which you can then customise in Sass to handle timing, and the start/ end styles of the transition. &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/http%3A%2F%2Fwww.lynnefinnigan.com%2Fblog%2Fwp-content%2Fuploads%2F2018%2F04%2Ftransition-1024x512.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/http%3A%2F%2Fwww.lynnefinnigan.com%2Fblog%2Fwp-content%2Fuploads%2F2018%2F04%2Ftransition-1024x512.png" title="Vue transition diagram from Vue.js documentation" alt="Vue transition diagram from Vue.js documentation" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  It is fun!
&lt;/h3&gt;

&lt;p&gt;I have personally had so much fun learning to use Vue. Coding can be frustrating at times, but with Vue whenever I learn how to do something new it is exciting. They have made learning a JavaScript framework incredibly enjoyable and rewarding.&lt;/p&gt;

&lt;h3&gt;
  
  
  Summary (TL;DR)
&lt;/h3&gt;

&lt;p&gt;In summary, here are some of the advantages of using Vue.js:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is a stable progressive framework&lt;/li&gt;
&lt;li&gt;Easy to learn and understand&lt;/li&gt;
&lt;li&gt;Simple and flexible&lt;/li&gt;
&lt;li&gt;Uses MVVM architecture&lt;/li&gt;
&lt;li&gt;Comprehensive documentation available&lt;/li&gt;
&lt;li&gt;Focus on organisation / project architecture&lt;/li&gt;
&lt;li&gt;Can be used for simple and complex applications&lt;/li&gt;
&lt;li&gt;State management is simple and intuitive&lt;/li&gt;
&lt;li&gt;Provides a number of ways to use transition effects&lt;/li&gt;
&lt;li&gt;It is a lightweight framework in comparison to React or Angular (around 20-30kb in size) &lt;/li&gt;
&lt;li&gt;It is fun!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Originally posted on &lt;a href="http://www.lynnefinnigan.com/blog/" rel="noopener noreferrer"&gt;http://www.lynnefinnigan.com/blog/&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




</description>
      <category>vue</category>
      <category>javascript</category>
      <category>coding</category>
      <category>technology</category>
    </item>
    <item>
      <title>Colour coding with SCSS each loops</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Mon, 13 Nov 2017 23:14:13 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/colour-coding-with-scss-each-loops-31k</link>
      <guid>https://dev.to/lynnewritescode/colour-coding-with-scss-each-loops-31k</guid>
      <description>&lt;p&gt;Often my job requires me to create modules that a user can add and customise from a CMS. In many cases, they like to have control over the background colour of the module to fit with their brand colour palette.&lt;/p&gt;

&lt;p&gt;I wanted to share the way in which I generally write this in SCSS, as some people might find it useful.&lt;/p&gt;

&lt;p&gt;Here is an example of the html for the module they can add. They can select the background colour in the CMS and it comes through as a class name on the module, e.g. "green".&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;section&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"module green"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Content goes here&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the SCSS file we can create a list of the colours called &lt;code&gt;$brand-colors&lt;/code&gt;. Inside each bracket we have a string (the colour class name from the CMS), and the hex value or colour variable name, separated by a comma. You can add as many values as you like in here, but for this example I'll stick with two.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="nv"&gt;$brand-colors&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"red"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="nv"&gt;$c-red&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"green"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mh"&gt;#008000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"blue"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="mh"&gt;#0000ff&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nc"&gt;.module&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;@each&lt;/span&gt; &lt;span class="nv"&gt;$color&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;$brand-colors&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nc"&gt;.&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="nf"&gt;nth&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$color&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;nth&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$color&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&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;p&gt;We can then declare an each loop, nested inside the styles for the module, which loops through each &lt;code&gt;$color&lt;/code&gt; inside our list of &lt;code&gt;$brand-colors&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The first part of this - &lt;code&gt;&amp;amp;.#{nth($color,1)}&lt;/code&gt; - is referencing the first value inside our brackets within the &lt;code&gt;$brand-colors&lt;/code&gt; list. So for this example, if we were to write this out the normal way, it would look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="nc"&gt;.module&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nc"&gt;.red&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;
  &lt;span class="k"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nc"&gt;.green&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;
  &lt;span class="k"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nc"&gt;.blue&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;p&gt;The next part - &lt;code&gt;background-color: nth($color,2);&lt;/code&gt; is referencing the matching variable or hex code within each set of brackets. Note that this doesn't need to be wrapped in &lt;code&gt;#{}&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;With an each loop like this, you can save a lot of time and many, many lines of code. It might seem like overkill for 2 or 3 colours, but this way also makes it easy to scale up if they decide they want more colours added in the future. The example I've used is for colour coding, but this can be used in various different ways, with different values/options.&lt;/p&gt;

&lt;p&gt;I hope this is helpful in some way! Feel free to share ideas of how you might use this in a project.&lt;/p&gt;

&lt;p&gt;For more reading: &lt;a href="http://thesassway.com/intermediate/if-for-each-while" rel="noopener noreferrer"&gt;http://thesassway.com/intermediate/if-for-each-while&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>learning</category>
      <category>tutorials</category>
      <category>scss</category>
    </item>
    <item>
      <title>Advice on training junior developers</title>
      <dc:creator>Lynne Finnigan</dc:creator>
      <pubDate>Sat, 16 Sep 2017 13:10:09 +0000</pubDate>
      <link>https://dev.to/lynnewritescode/advice-on-training-junior-developers</link>
      <guid>https://dev.to/lynnewritescode/advice-on-training-junior-developers</guid>
      <description>&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;I work as a front-end developer, and have recently found myself in the position of mentoring and training a new junior front-end developer.&lt;/p&gt;

&lt;p&gt;I'm relatively good at dealing with people on a personal level, but in terms of training and teaching good coding practices, I haven't really had to do this kind of thing before.&lt;/p&gt;

&lt;p&gt;I thought it would be an interesting discussion in the Dev community, to find out what other people's experiences are with this kind of thing. As a developer, taking on a role that involves managing another person can be daunting. At the moment I find that I just want to be as helpful as possible. How do you start to transfer knowledge and experience that you've gained over years?&lt;/p&gt;

&lt;p&gt;Here are a few questions that I'm curious to know:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is the best piece of advice you were given as a junior developer?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Have you ever had a 'mentor' of some kind?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do you have any preferred methods of teaching development work to another person?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Discuss!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>management</category>
      <category>learning</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
