<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[the-coder-grrl - Medium]]></title>
        <description><![CDATA[the coding adventures of a frontend developer - Medium]]></description>
        <link>https://medium.com/coder-grrl?source=rss----2ca366d00a73---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>the-coder-grrl - Medium</title>
            <link>https://medium.com/coder-grrl?source=rss----2ca366d00a73---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:05:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/coder-grrl" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The most valuable lesson I learnt from my internship]]></title>
            <link>https://medium.com/coder-grrl/the-most-valuable-lesson-i-learnt-from-my-internship-3730d5616996?source=rss----2ca366d00a73---4</link>
            <guid isPermaLink="false">https://medium.com/p/3730d5616996</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[project-management]]></category>
            <dc:creator><![CDATA[Katie Frances]]></dc:creator>
            <pubDate>Tue, 02 Oct 2018 12:47:08 GMT</pubDate>
            <atom:updated>2018-10-02T12:47:07.573Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nIjfoUR90CUKibydNhq_Bw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/xt9tb6oa42o?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jantine Doornbos</a> on <a href="https://unsplash.com/search/photos/coding?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I finished my amazing internship at <a href="http://www.mentallyfriendly.com/">Mentally Friendly</a> about a month ago, and I was really surprised that the most valuable thing I learnt wasn’t entirely coding related. It was, in fact, project management, and most importantly, the <em>right</em> way to approach a project, no matter whether it be professional or personal.</p><p>Learning how to resist that <em>‘I must jump straight into coding’</em> feeling that I know that everyone has is hard, but learning the right way to do it solves a lot of potential time-wasting and made me realise that planning out a project and knowing exactly how to approach it saves so pain.</p><p>My project was my portfolio, which the peeps at MF awesomely offered to help me out with (can’t thank you guys enough, honestly).</p><p>I first started out with crazy 8’s, which is a great way to break down what features you want without really dwelling too much on it. Basically, you fold a piece of paper in half 8 times &amp; you give yourself 3 minutes to complete it.</p><p>Then you do it again, for the features/wireframes you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BjGZ2GQo4A8t2GA9Cv27bA.jpeg" /><figcaption>My crazy 8’s — The feature one on the top &amp; the wireframe on the bottom. The physical wireframe is built as a result (on the right) Apologies for the blurry image</figcaption></figure><p>Then you make a physical wireframe (my stationary obsessed ass <em>loved</em> this whole thing, btw), which is an amazing way to wireframe, because you can literally move the sections around until you find what you’re looking for, and if not, move it again.</p><p>Once you’re happy with that, then you can start roadmapping out the features and pages you want to build. This is a great way to rule out what you do and don’t want feature-wise before you even think about building it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mRciDkOJqjzQWsD8MO2PFg.jpeg" /><figcaption>My portfolio all roadmapped out with features &amp; mobile wireframes</figcaption></figure><p>The card colours are categorised as (in my understanding):</p><p><strong>Green </strong>— Pages | <strong>Blue</strong> — Features | <strong>Yellow</strong> — Design | <strong>Red</strong> — Questions/Issues</p><p>The next step is to start eliminating those red cards! Which is harder than you think.</p><p>This gave me a great starting point, which, to be honest, I usually have no idea about, and can stress me out because I find myself flying all over the place and starting things without finishing them, which is never a good choice. Not only for your project management, but also for your version control.</p><p>You <em>cannot</em> build a project that’s scattered all over the place; future you will not thank you (I just looked at some old code I wrote and <em>ooh boy</em>). Learning how to manage projects in conjunction with using Git is one of the most valuable things as a developer you’ll ever learn.</p><p>From there it’s about breaking it down even further to weed out the potential future problems before they even become problems!</p><p>Then you can go forth &amp; build!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3730d5616996" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coder-grrl/the-most-valuable-lesson-i-learnt-from-my-internship-3730d5616996">The most valuable lesson I learnt from my internship</a> was originally published in <a href="https://medium.com/coder-grrl">the-coder-grrl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Guide to Customising the Bootstrap 4 Navbar I wish I’d Had 6 Months Ago]]></title>
            <link>https://medium.com/coder-grrl/the-guide-to-customising-the-bootstrap-4-navbar-i-wish-id-had-6-months-ago-7bc6ce0e3c71?source=rss----2ca366d00a73---4</link>
            <guid isPermaLink="false">https://medium.com/p/7bc6ce0e3c71</guid>
            <category><![CDATA[frontend-developer]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[bootstrap]]></category>
            <category><![CDATA[bootstrap-navbar]]></category>
            <dc:creator><![CDATA[Katie Frances]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 08:28:08 GMT</pubDate>
            <atom:updated>2018-08-07T13:21:30.918Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AvW1x-9fIaYCSsa2theRqA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/u2Ru4QBXA5Q?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Pankaj Patel</a> on <a href="https://unsplash.com/search/photos/bootstrap?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>As anyone who’s had any experience with Bootstrap will tell you, the navbar is a <strong><em>huge</em></strong> pain in the ass to style. After a long time of trying to get it to work to my liking, I’ve <em>finally</em> found a balance between custom CSS &amp; Bootstrap boilerplate that works for me, and also learnt the different components that make up the navbar and how to properly style them. I thought this guide might help save other people some pain &amp; time from endless Googling &amp; trawling through Stack Overflow for the solution to the problem, &amp; only finding solutions that either don’t work, or are for deprecated versions of Bootstrap.</p><p><em>At the time of writing this, the current version of Bootstrap is 4.1.</em></p><p>Let’s start off with the basic Bootstrap navbar &amp; explain how it works. The basicnavbar from the Bootstrap site is as follows:</p><p>&lt;nav class=&quot;navbar navbar-expand-lg navbar-light bg-light&quot;&gt;<br> &lt;a class=&quot;navbar-brand&quot; href=&quot;#&quot;&gt;Navbar&lt;/a&gt;<br> &lt;button class=&quot;navbar-toggler&quot; type=&quot;button&quot; data-toggle=&quot;collapse&quot; data-target=&quot;#navbarNav&quot; aria-controls=&quot;navbarNav&quot; aria-expanded=&quot;false&quot; aria-label=&quot;Toggle navigation&quot;&gt;<br> &lt;span class=&quot;navbar-toggler-icon&quot;&gt;&lt;/span&gt;<br> &lt;/button&gt;<br> &lt;div class=&quot;collapse navbar-collapse&quot; id=&quot;navbarNav&quot;&gt;<br> &lt;ul class=&quot;navbar-nav&quot;&gt;<br> &lt;li class=&quot;nav-item active&quot;&gt;<br> &lt;a class=&quot;nav-link&quot; href=&quot;#&quot;&gt;Home &lt;span class=&quot;sr-only&quot;&gt;(current)&lt;/span&gt;&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;li class=&quot;nav-item&quot;&gt;<br> &lt;a class=&quot;nav-link&quot; href=&quot;#&quot;&gt;Features&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;li class=&quot;nav-item&quot;&gt;<br> &lt;a class=&quot;nav-link&quot; href=&quot;#&quot;&gt;Pricing&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;li class=&quot;nav-item&quot;&gt;<br> &lt;a class=&quot;nav-link disabled&quot; href=&quot;#&quot;&gt;Disabled&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;/ul&gt;<br> &lt;/div&gt;<br>&lt;/nav&gt;</p><p>This works totally fine if you don’t need to customise it apart from changing from the default navbar-light to navbar-dark, but however if you want to style it, this is when you start running into problems.</p><p>Bootstrap runs on <a href="https://getbootstrap.com/docs/4.1/layout/overview/">pre-styled elements &amp; classes</a> which you call to auto-style your divs. (eg &lt;div class=&quot;container-fluid&quot;&gt; will give you a full-width container that covers the whole page) So, when you want to override these classes, best practice is to create your own class names rather than overriding the default Bootstrap classes.</p><p>Now, you’ll notice that the nav itself has a few default classes:</p><p>navbar navbar-expand-lg navbar-light bg-light</p><p>When I first started using Bootstrap, this completely overwhelmed me because I thought I’d have to style <em>all</em> these classes, which resulted in a nightmare of CSS classes and just, no.</p><p>A short breakdown of the classes are as follows:</p><ul><li>navbar is the base class where you can style the background colour etc and anything but the collapsable nav-links. I found that styling the nav class and not the navbar class is a much better choice, but I’ll get into that later</li><li>navbar-expand-lg is when the collapsed navbar comes into effect, you can change this to sm md or xs to control this, or you can remove it completely so it’s always collapsed</li><li>navbar-light andbg-light are built in themes, you can also choose navbar-dark and bg-dark . There are also a few <a href="https://getbootstrap.com/docs/4.1/components/navbar/#color-schemes">colour schemes on the site</a>, but I have never found any use for them because they are also uncustomisable (and ugly)</li><li>You can remove most of the classes and just have some basic Bootstrap in there for functionality &amp; responsiveness which is what I do. I do something along the lines of: navbar navbar-expand-md &amp; then I override the nav class itself in my css. You must keep the navbar class in there, or everything will break!</li><li>The key is not to even bother styling the navbar element, don’t try, it won’t work. The only way I found it works is to actually use inline styling to hardcode the background colour, which is <em>really bad practice</em>. Don’t do it.</li></ul><p>Something to remember about the navbar &amp; everything else in Bootstrap, is that you <em>don’t</em> need to use the built in classes all the time, you can in fact use a combination of default Bootstrap &amp; custom classes to create your own content. However, you <em>should</em> still be using the <a href="https://getbootstrap.com/docs/4.1/layout/grid/">Bootstrap grid system</a>, or there’s no point in using Bootstrap itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*Jz08JlWZOc_3PZ2d0OinzQ.png" /><figcaption>Navbar brand class as seen in dev tools</figcaption></figure><p>Inside the navbar div, first you have a navbar-brand link for the site title and/or a logo, (this is not required, you can remove it if you want to, but it will also be collapsed along with the rest of the links), &amp; the actual collapsed navbar-toggler button (this is important, do <strong><em>not</em></strong> delete this unless you want to lose all responsive functionality) can be styled, but be careful. I’ve broken many a navbar this way.</p><p>If you’re using git (and you really should be) make sure you commit before you break it.</p><p>The button html is as follows:</p><p>&lt;button class=&quot;navbar-toggler&quot; type=&quot;button&quot; data-toggle=&quot;collapse&quot; data-target=&quot;#navbarNav&quot; aria-controls=&quot;navbarNav&quot; aria-expanded=&quot;false&quot; aria-label=&quot;Toggle navigation&quot;&gt;<br> &lt;span class=&quot;navbar-toggler-icon&quot;&gt; &lt;!-- this is where the button renders in the navbar --&gt; &lt;/span&gt;<br> &lt;/button&gt;</p><p>A few things to note, as I said <em>don’t change anything in here</em>. The only thing I changed was the actual icon itself, you can put a <a href="https://fontawesome.com/">Font Awesome</a> icon in between the &lt;span class=&quot;navbar-toggler-icon&quot;&gt; icon goes here! &lt;/span&gt; if you want to change the default icon. You can also change the collapsed nav to display inline, but that’s a whole different tutorial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*RpwAZLUwcLX_a170EGRcdw.png" /><figcaption>Navbar collapse class as shown in chrome dev tools</figcaption></figure><p>The next part of the navbar is the &lt;div class=&quot;collapse navbar-collapse&quot; id=&quot;navbarNav&quot;&gt; which is a div with the id of navbarNav and the class of navbar-collapse that contains the links, and collapses when the navbar does.</p><p>The links in the navbar are defined inside the ul classnavbar-nav using the li nav-item class for the list items, and the a link class nav-link like this:</p><p>&lt;li class=&quot;nav-item&quot;&gt; &lt;a class=&quot;nav-link&quot; href=&quot;#&quot;&gt;Link&lt;/a&gt; &lt;/li&gt;</p><p>Go ahead and remove the disabled link if you want to, I honestly don’t know why you’d ever have a disabled link ever, but apparently Bootstrap does. The nav-item active class can be removed if you want, however it’ll only apply to the first link item, unless you use Javascript to change the event.</p><p>Now we know how it all works, let’s get along to styling!</p><h3>The difference between navbar and nav</h3><p>The crux of the Bootstrap nav is knowing the difference between nav and navbar. Basically the navbar class sits <em>inside</em> the nav (nav class=”navbar”) and once you understand that, then you can style them.</p><p>I’ve been working on my portfolio, as it’s going to be hosted on a Github.io page, it can only be static, unfortunately, so I’m using Bootstrap &amp; JS to create a one page scroller.</p><h3>My HTML</h3><p>My nav class looks like this:</p><p>&lt;nav class=”navbar navbar-expand-md fixed-top”&gt;<br> &lt;a class=”navbar-brand” href=”#”&gt;Navbar w/ text&lt;/a&gt;<br> &lt;button class=”navbar-toggler” type=”button” data-toggle=”collapse” data-target=”#navbarText” aria-controls=”navbarText” aria-expanded=”false” aria-label=”Toggle navigation”&gt;<br> &lt;span class=”navbar-toggler-icon”&gt;&lt;i class=”fas fa-bars hamburger”&gt;&lt;/i&gt;&lt;/span&gt;<br> &lt;/button&gt;<br> &lt;div class=”collapse navbar-collapse” id=”navbarText”&gt;<br> &lt;ul class=”navbar-nav mr-auto nav”&gt;<br> &lt;li class=”nav-item”&gt;<br> &lt;a class=”nav-link” href=”#section1&quot;&gt;Home&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;li class=”nav-item”&gt;<br> &lt;a class=”nav-link” href=”#section2&quot;&gt;About&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;li class=”nav-item”&gt;<br> &lt;a class=”nav-link” href=”#section2&quot;&gt;Projects&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;li class=”nav-item”&gt;<br> &lt;a class=”nav-link” href=”#section4&quot;&gt;Education&lt;/a&gt;<br> &lt;/li&gt;<br> &lt;/ul&gt; <br> &lt;/div&gt;<br> &lt;/nav&gt;</p><p>You can style the navbar<a href="https://getbootstrap.com/docs/4.0/components/navbar/#placement">positioning</a> via the nav classes, I’ve used sticky-top to keep my navbar fixed to the top as I scroll down the page. and I’ve also set my navbar to collapse at the md breakpoint.</p><p>Note that I have inserted a custom Font Awesome icon here: &lt;span class=”navbar-toggler-icon”&gt;&lt;i class=”fas fa-bars hamburger”&gt;&lt;/i&gt;&lt;/span&gt;</p><p>Surprisingly there’s not much styling to be done after that. Once you know what you can style, then the rest is fairly easy!</p><h3>My CSS</h3><p>The base navbar styling applies to the main navbar, but <em>not </em>the nav itself. The navbar is inherited from the nav class. This is where it gets confusing!</p><p>In this case, they are inheriting the link colour from the main page links. You can apply styling to it, but bear in mind that the font styles etc will only be applied to the navbar-brand part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*BuzC28BNS1WBGApdcCJFEQ.png" /></figure><p>.navbar {<br> background: #0C120C // sets background to black<br>}</p><p>// navbar-brand inherits the main link colour (the purple) and applies the #333 hover:</p><p>.navbar a:hover {<br> color: #333 // applies to all hovered links on nav<br>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*xhi0_CdcWTJqle0PX913mw.png" /><figcaption>When you put a background on the nav and the navbar it breaks</figcaption></figure><p>The nav links are applied to the ul inside the navbar-collapse div which means that they are <em>different</em> from the navbar links:</p><p>.nav a {<br> color: #fff; // applies to all of the ul links<br>}</p><p>Styling for the icon. Icons are used via the &lt;i&gt; tag and can be styled via font classes:</p><p>.hamburger {<br> font-size: 20px;<br> color: #fff;<br>}</p><h3>So to break it down:</h3><ul><li>All link/text styling inside the <strong>navbar</strong> class <em>only applies</em> to the <strong>navbar-brand</strong> class! Other styling such as background colours etc will apply to the whole <strong>navbar</strong></li><li>All the <strong>links</strong> inside the &lt;ul class=”navbar-nav mr-auto nav”&gt; are <em>styled by the</em><strong> </strong><strong>nav </strong><em>element itself</em>, trying to change these on the navbar <em>will not work!</em></li></ul><p>I’m using the nav class to apply styling to the links, this only applies to the nav-item nav-links because the navbar-brand is outside of the navbar-nav ul links.</p><p>Now this is something that to be honest I should have known already, but all those Bootstrap classes can be <em>so</em> confusing and you don’t even realise at first that you don’t <em>need</em> all of them, and that you <em>can</em> in fact change it without breaking it (who would have thought?)</p><p>Learning this has saved my life, and so much time, because let’s be honest, the navbar is the worst thing about Bootstrap, and I hope I’ve saved you some pain!</p><h3>Hope that helped and happy Bootstrapping!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bc6ce0e3c71" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coder-grrl/the-guide-to-customising-the-bootstrap-4-navbar-i-wish-id-had-6-months-ago-7bc6ce0e3c71">The Guide to Customising the Bootstrap 4 Navbar I wish I’d Had 6 Months Ago</a> was originally published in <a href="https://medium.com/coder-grrl">the-coder-grrl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Steps]]></title>
            <link>https://medium.com/coder-grrl/first-steps-28ae9605152a?source=rss----2ca366d00a73---4</link>
            <guid isPermaLink="false">https://medium.com/p/28ae9605152a</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming-languages]]></category>
            <dc:creator><![CDATA[Katie Frances]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 04:16:05 GMT</pubDate>
            <atom:updated>2018-02-20T06:02:04.476Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kRaZA3ZkIdj8XIsjt0K-7Q.jpeg" /><figcaption>Awesome Terminalness</figcaption></figure><p>Yesterday I started an amazing coding Bootstrap at Sydney’s <a href="https://coderacademy.edu.au/">Coder Academy</a>. I am so excited already to be learning! I’ve already taught myself a lot of stuff, but it’s so much better in a classroom environment learning with other people. Especially learning at the same time and being relatively on the same level as every one else.</p><p>Today we learned about Terminal, it’s commands and basic usage. We’ve started on installing Ruby, RVM &amp; Git and learnt how to change the version of Ruby depending on project the version the project requires.</p><p>Super exciting and really tickles my nerd brain! Stay tuned for updates!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28ae9605152a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coder-grrl/first-steps-28ae9605152a">First Steps</a> was originally published in <a href="https://medium.com/coder-grrl">the-coder-grrl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The End of an Era]]></title>
            <link>https://medium.com/coder-grrl/the-end-of-an-era-8f6b1415bce8?source=rss----2ca366d00a73---4</link>
            <guid isPermaLink="false">https://medium.com/p/8f6b1415bce8</guid>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[back-end-developer]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Katie Frances]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 01:34:29 GMT</pubDate>
            <atom:updated>2018-08-07T01:34:29.396Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s been a really fast 5 months, I can’t believe it’s over. I learnt so much and met so many awesome people and I’ll miss it a lot. However, I start my internship next week, which is super exciting (and terrifying) but I’m really looking forward to learning from other developers &amp; working in a professional environment.</p><p>My internship got pushed back a week, which has been really good for me actually because it’s given me time to work on my portfolio and catch up on some coding. It’s a really strange &amp; awesome feeling to be going into a field that I love, and not waking up every morning dreading a job I hate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rCK2dH2o7u4qvE_rYdJlBg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/4T5MTKMrjZg?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Markus Spiske</a> on <a href="https://unsplash.com/search/photos/code?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Coding &amp; technology for me have always been something I’ve been passionate about. From when I had my first subdomain in 1998 to when I started fiddling around with myspace (who wrote the code for that honestly, was it you, Tom? I’m blaming Tom) &amp; to Tumblr, which opened me up to server side rendering, which I didn’t even know at the time. Suffice to say, coming from a design background; frontend has always been my comfort zone.</p><p>I’m looking forward to what the future holds and I can’t wait to jump into it feet first!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f6b1415bce8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coder-grrl/the-end-of-an-era-8f6b1415bce8">The End of an Era</a> was originally published in <a href="https://medium.com/coder-grrl">the-coder-grrl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting your Rails Environment Up & Running]]></title>
            <link>https://medium.com/coder-grrl/getting-your-rails-environment-up-running-39520e3842b0?source=rss----2ca366d00a73---4</link>
            <guid isPermaLink="false">https://medium.com/p/39520e3842b0</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Katie Frances]]></dc:creator>
            <pubDate>Wed, 11 Apr 2018 01:17:28 GMT</pubDate>
            <atom:updated>2018-04-11T01:17:27.507Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*juZZe0SbI8E_QPd74Ax9uA.jpeg" /></figure><p>First things first, you’ll need to open up your terminal, I use <a href="https://www.iterm2.com/">iTerm2</a>, it’s a much better terminal program &amp; it’s very easily customisable with frameworks like<a href="http://ohmyz.sh/"> Oh My Zsh</a> &amp; <a href="https://github.com/bhilburn/powerlevel9k">Powerline9k</a>, that’s for another post, but it’s not required for this tutorial.</p><p>This post is Mac OSX/Linux specific, so I’m not covering Windows here. Before you install Ruby, you may need to update/install extra components for XCode. You can check if you have it installed by running the following command:</p><pre>xcode-select -p</pre><p>If you see this:</p><pre>xcode-select: error: unable to get active developer directory...</pre><p>You’ll need to install further XCode components, a detailed tutorial of how to do this is <a href="http://railsapps.github.io/xcode-command-line-tools.html">here</a>.</p><h3>Step 1</h3><p>If you’ve got XCode installed, you’re good to go.</p><p>Mac OSX comes with Ruby pre-installed, but we’re going to update it, because most likely your version is out of date. To check the version we type into our console:</p><pre>ruby -v</pre><p>The command should return something like:</p><pre>ruby 2.5.0p0</pre><p>At the time of writing this, the latest version is 2.5. To update Ruby, you’ll need to type:</p><pre>curl -L https://get.rvm.io | bash -s stable</pre><p>You’ll want to update to the latest version of Ruby. You can check the current version <a href="https://www.ruby-lang.org/en/downloads/">here</a>, and update in your command line with the following command:</p><pre>rvm install ruby-2.5.0</pre><p>RVM stands for Ruby Version Manager, which means we can specify if we want to use a specific Ruby version. Sometimes you’ll be working on an app with an older version of Ruby and you’ll need to specify this to work on it and not break it.</p><p>Once you’ve got XCode &amp; Ruby installed &amp; updated, you’ll need to get your Ruby on Rails developer environment setup.</p><p>Now it’s time to get to installing Rails!</p><h3>Introduction to Rails</h3><blockquote>Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller framework, providing default structures for a database, a web service, and web pages. — Wikipedia</blockquote><p>Rails provides a lot of pre-configured stuff, or as my lecturer says “rails gives us this for free/out of the box” which means that you need to write a lot less code because Rails will generate a model, view &amp; controller for you with a single command.</p><p>I’d highly recommend learning as much Ruby as you can before starting rails, because it can be extremely overwhelming to dive straight into Rails without knowing it. To be honest, I did this and realised that, one I didn’t know how to fix errors that came up, nor did I know how to customise anything because I didn’t know Ruby nor Rails.</p><h3>Installation Part 1</h3><p>Because we have Ruby installed, we can now use a Ruby gem to install Rails. A gem is like a plugin for Rails with little built in features that we can use to enhance our applications. More about gems can be found <a href="http://guides.rubygems.org/">here</a>.</p><p>We’re going to need to install the package manager Homebrew to install Rails first.</p><p><strong>Installing Homebrew</strong></p><p>In web development you’ll come across Homebrew a lot. It’s a good idea to install it regardless.</p><p>We’ll run this command to install it:</p><pre>/usr/bin/ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;</pre><p>Assuming the installation was successful, let’s verify it worked:</p><pre>brew -v</pre><p>You should see something like:</p><pre>Homebrew 1.5.11</pre><p>For more information about Homebrew, visit their <a href="https://brew.sh/">site</a>.</p><h3>Installation Part 2</h3><p>To install Rails, we’ll run this command:</p><pre>gem install rails</pre><p>You should see something like this:</p><pre>Done installing documentation for activesupport, actionview, actionpack, activemodel, arel, activerecord, activejob, actionmailer, actioncable, mimemagic, marcel, activestorage, railties, rails after 32 seconds<br>14 gems installed</pre><p>If not it’ll give you a big red error. If you get something like that, you’ll need to do a google, or <a href="https://stackoverflow.com/">consult the oracle</a> for help.</p><p>After you’ve done that, we’re done! That’s it, pretty easy huh?</p><p>Just to confirm Rails has successfully installed, we’ll run the following command:</p><pre>rails -v</pre><p>You should see something like:</p><pre>Rails 5.2.0</pre><p>Yay Rails is installed and ready to go!</p><p>Enjoy!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39520e3842b0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coder-grrl/getting-your-rails-environment-up-running-39520e3842b0">Getting your Rails Environment Up &amp; Running</a> was originally published in <a href="https://medium.com/coder-grrl">the-coder-grrl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby Arrays & Hashes]]></title>
            <link>https://medium.com/coder-grrl/ruby-arrays-hashes-d89fbe7fd724?source=rss----2ca366d00a73---4</link>
            <guid isPermaLink="false">https://medium.com/p/d89fbe7fd724</guid>
            <category><![CDATA[ruby-on-rails-development]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coder-academy]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[Katie Frances]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 06:12:28 GMT</pubDate>
            <atom:updated>2018-04-11T01:18:08.210Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q3U5iyMhNVSSF58KqCLjdQ.jpeg" /></figure><p>Today we learnt about hashes &amp; arrays &amp; playing with them! It certainly helped to have prior knowledge of arrays in JavaScript before I started!</p><p>I wrote this code this afternoon as practice for hashes &amp; arrays. In this example I’ve used Arrays within the main person hash:</p><pre>person = {</pre><pre>details: [</pre><pre>{ name: &quot;Katie&quot;, age: 32 },</pre><pre>{ name: &quot;John&quot;, age: 21}</pre><pre>],</pre><pre>jobs: [</pre><pre>{ job: &quot;Programmer&quot;, salary: 100000000 },</pre><pre>{ job: &quot;Office Worker&quot;, salary: 20000 }</pre><pre>] }</pre><pre>puts &quot;#{person[:details][0][:name]}&#39;s job is: #{person[:jobs][0][:job]}, her age is #{person[:details][0][:age]} &amp; her salary is: #{person[:jobs][0][:salary].to_s}&quot;</pre><pre>puts &quot;#{person[:details][1][:name]}&#39;s job is: #{person[:jobs][1][:job]}, his age is #{person[:details][1][:age]} &amp; his salary is #{person[:jobs][1][:salary].to_s}&quot;</pre><pre># Outputs Person 1 as:<br># Katie&#39;s job is: Programmer, her age is 32 &amp; her salary is: 100000</pre><p>What I’ve done here is create a hash named person, inside that hash are two arrays; details &amp; jobs.</p><p>Inside those arrays are hashes which provide key pairs with different values. I am accessing the different values by using array indexing &amp; symbols.</p><p>I’m pretty proud of myself &amp; tomorrow I’m going to make it more interactive with user input!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d89fbe7fd724" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coder-grrl/ruby-arrays-hashes-d89fbe7fd724">Ruby Arrays &amp; Hashes</a> was originally published in <a href="https://medium.com/coder-grrl">the-coder-grrl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>