<?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[Stories by Drew Pratt on Medium]]></title>
        <description><![CDATA[Stories by Drew Pratt on Medium]]></description>
        <link>https://medium.com/@drewpratt?source=rss-2b8916e7f492------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SdBW33ZEvrTrrq0e.</url>
            <title>Stories by Drew Pratt on Medium</title>
            <link>https://medium.com/@drewpratt?source=rss-2b8916e7f492------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:46:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@drewpratt/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Leveling Up]]></title>
            <link>https://medium.com/@drewpratt/leveling-up-b63a94a1ee5?source=rss-2b8916e7f492------2</link>
            <guid isPermaLink="false">https://medium.com/p/b63a94a1ee5</guid>
            <category><![CDATA[code-newbie]]></category>
            <category><![CDATA[level-up]]></category>
            <category><![CDATA[career-change]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Drew Pratt]]></dc:creator>
            <pubDate>Sun, 19 Mar 2017 16:53:14 GMT</pubDate>
            <atom:updated>2017-03-19T16:53:14.992Z</atom:updated>
            <content:encoded><![CDATA[<h4>Learning to love the terminal.</h4><p>I have always sort of known how the command line worked. <em>Sort of</em>. I knew what the c-prompt was. I had used it as a kid to load Invaders on my dads old computer. It was one of those really old ones with a black screen with green text and no mouse, keyboard only. In fact, the keyboard snapped to the monitor and it became a portable self-contained system. I know I just dated myself a bit.</p><p>Good times.</p><p>Another time I used it I was in my late teens or so and my mom asked for help with her windows machine. This was in the 90’s and I rode in to save the day. I assumed I knew what I was doing, googled a few things and used to command line to confidently remove a file. The wrong file. The blue screen of death file. The “I’ll call the repair shop and get a quote” file.</p><p>Good times.</p><p>Its been many years since I used my dads ancient computer for video games, and destroyed my poor mothers computer through unwarranted self confidence about the matter at hand. Since then I had considered learning some kind of programming skill. But I was always much more focused on creating art and playing in a band. All the fun stuff.</p><p>For many years of bouncing from crap job to crap job to crap job, playing in all the bands along the way. Now I’m older and I’ve decided it was time to develop a real skill set and embark on a legitimate career. I chose web development, and revived my passing interest in programming. And now that I’m doing it, I wish I had taken the time way back when.</p><p>I always sort of knew I would have to learn the command line. Sort of. Eventually. But not right now right? I mean, theres so many things I need to learn <em>first</em>.</p><p>So there I am, hesitant to pick up the command line. I understand that computers have come a long way since then, and there are a few safeguards against damaging commands nowadays. Even still, nothing is foolproof to a sufficiently talented fool.</p><p>I wanted to start doing the JavaScript exercises on <a href="http://www.exercism.io/">Exercism</a>, which required that I install things via the command line. Fetch things via the command line. Submit things via the command line. So I finally got over it and decided to start small. I did the command line tutorials on <a href="http://www.codecademy.com/">Codecademy</a>. That set of tutorials did a good job of running me through the basics.</p><p>Not only did it run me through the basics, but it actually got me kind of excited about the idea of using the terminal. I hadn’t realized how useful it could actually be to the average user. I always assumed it to be for super users, top notch people who <em>really</em> knew what they were doing. I spent many hours over the next few days reading all about the terminal. I still regularly wonder “Can I do x in terminal?” and google the hell out of it.</p><p>I started editing my bash profile to include welcome messages and custom commands to save time. Changing the look of the prompt, colors and so on. I started writing functions to combine sets of commands. I was off to the races!</p><p>Now I use command almost every day for at least something. Even if its just to open my current <a href="http://www.exercism.io/">Exercism</a> exercise without having to navigate to the file through the folder system in the finder. I set up a function that automatically changes the directory and opens the file in my editor. It may not be fancy super user level stuff, but then, thats not the point. The point is that its no longer intimidating. I think, perhaps one day, I <em>will</em> be one of those people who <em>really</em> knows what they’re doing.</p><p>So theres that. I learned to use the terminal. But thats not the only thing I’ve leveled up on.</p><p>Theres that moment when I’m struggling to get the data from an API to display correctly in my webpage. All of a sudden it hits me: it wasn’t that long ago that I didn’t understand how APIs worked at all. They were a scary new concept. Intimidating, insurmountable, probably other words that start with ‘i’. Now a simple API isn’t that big of a deal. Retrieving JSON data is, for the most part, pretty easy now, depending on the API of course. I felt like I had made a jump in skill.</p><p>Or when I’m trying to explain something to a friend who doesn’t code and I realize that I can actually articulate, to a fair degree, the process I’m trying to explain. Sometimes they stare at me blankly, unconvinced that anything I just said isn’t just word salad that I made up on the spot. But even if they don’t get it, I feel like I’m getting it. Like I’m understanding the concepts better than I had thought. Like I’m leveling up.</p><p>Similarly, if someone who <em>does</em> code is explaining something to me, I <em>DON’T</em> stare at them blankly, anymore. I actually understand a little about what they are talking about. I still have to go look up words and names of things sometimes. Theres a lot out there to learn and keep track of. But just being able to follow the conversation feels like a another level up than I had been a short while ago.</p><p>Any one of these things might not be life changing, paradigm shifting, or earth shattering by themselves. I know my toolbox is still not full, but I’m adding new tools all the time. Whether its a new piece of software, or a JavaScript method I never knew about before now, or a website I can reference when I don’t know how to do something.</p><p>Knowing that I’m improving and “leveling up”, even if only in tiny increments, is a big help in keeping me motivated. Keeping me learning, advancing. Leveling up doesn’t have to be made by leaps and bounds. I’m perfectly happy climbing the mountain one day at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b63a94a1ee5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Playing Vs. Practice]]></title>
            <link>https://medium.com/@drewpratt/playing-vs-practice-ff944bf9fe5?source=rss-2b8916e7f492------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff944bf9fe5</guid>
            <category><![CDATA[practice]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[playing]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Drew Pratt]]></dc:creator>
            <pubDate>Wed, 01 Feb 2017 03:22:31 GMT</pubDate>
            <atom:updated>2017-02-01T03:22:31.492Z</atom:updated>
            <content:encoded><![CDATA[<p>So I’ll just start by saying that I haven’t really made an effort to find a real answer to this question that I have. Every once in a while I work on a personal project. Really nothing special, just kind of ideas I’m playing with. I often don’t have specific goals when working on it, I’m just kind of playing around.</p><p>I know I should probably be actively studying Javascript, trying to complete an algorithm challenge, or some other coding related exercise. But I just end up screwing around with CSS. Playing with colors, rearranging the elements on the page, making my HTML tags more semantically correct. I’ll start to wonder, why am I spending all this time messing around instead of practicing?</p><p>Then sometimes I think, well, I <em>am </em>in a code editor. Im writing code. Does this count as practice? Just because it isn’t examining the finer points of object orientation or whatever doesn’t mean its not helpful. Right? Web development <em>can</em> be as easy as simple HTML and CSS. So maybe playing around can be considered practice? Without the HTML and CSS theres no point in having Javascript, RIGHT??</p><p>So I’ve never really looked, and now I’m not sure I’m going to look, for an outside answer to this question. Doodling aimlessly still builds drawing skills, noodling around on guitar still builds guitar skills. Its like.. code.. doodling.. yeah. I think I’m just going to continue under the assumption that any time fooling around in a code editor counts and practice.</p><p>Yep!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*OYB0gwqqS25a3yeD44LCZg.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff944bf9fe5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Focus.]]></title>
            <link>https://medium.com/@drewpratt/i-find-that-focus-is-one-of-those-funny-things-that-comes-and-goes-often-on-its-own-888a7f6702be?source=rss-2b8916e7f492------2</link>
            <guid isPermaLink="false">https://medium.com/p/888a7f6702be</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[focus]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Drew Pratt]]></dc:creator>
            <pubDate>Sun, 01 Jan 2017 02:29:40 GMT</pubDate>
            <atom:updated>2017-01-01T02:31:08.273Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2fgStGdolnFg8DPtYWaqQg.jpeg" /><figcaption>I made this just for this post! © Drew Pratt.</figcaption></figure><p>I find that focus is one of those funny things that comes and goes, often on its own. It’s mercurial that way. Or is it? When Im playing guitar, writing songs, doing some kind of drawing or art project, I rarely get distracted. Im actively engaged in what I’m doing because its interesting to me and it can’t really be done while distracted.</p><p>As I go down a path of attempting to teach myself to code I find distractions are readily available. But not always. I discovered that the activity that I’m doing plays a large role in how easily distracted I become. Much like school when I was younger, if a subject wasn’t interesting, I simply couldn’t focus. Much like songwriting, if I’m engaged I can’t be distracted.</p><p>I started on Codecademy and after a few courses switched to Free Code Camp. Most recently I’ve added reading the YDKJS books and watching Lynda.com courses. The biggest factor Ive noticed when doing my coding studies is whether or not I’m in “learning” mode or “building” mode. It’s SO HARD for me to stay focused when I’m in “learning mode”.</p><p>The learning path on Free code camp is broken up into bite sized chunks of exercises. Theres a natural stopping point built in every 5–15 minutes depending on the exercise and its difficulty. I also find that the exercises are not really engaging in and of themselves. It’s so easy to finish an exercise and then check my email real quick. Which leads to checking Facebook real quick. You know, I’ll just read that article real quick then get back to work. Then suddenly its been 45 minutes or more. Why am I watching a YouTube video about the Stoned Ape theory? How did the rabbit hole lead me here?? Apparently I need a nap, I’ll get back to studying when I get up…</p><p>Thats not to say that their system is flawed. I actually have learned quite a bit through Free Code Camp. This is just something I’ve struggled with my entire life through every avenue of learning I’ve been through. If the interest isn’t there, focus simply cannot be forced.</p><p>When I’m working on a project however, while I’m in “building mode”, you can’t pull my attention away with a tractor. I’m completely focused. Completely engaged. Much like crafting a song, trying to get a web project to function properly, to look just so, grabs my attention in a way that grinding through (seemingly) endless exercises never will.</p><p>I’m sure I’m not the only person who has this hurdle to overcome. I know its not specifically an issue with coding, but with learning, and with life in general. I just don’t always have the willpower to focus on things that aren’t very engaging.</p><p>Even while writing this blog post I experienced both ends of the spectrum. Writing the first draft? Near complete engagement. When going back to edit to make it clear and concise? Struggles. Big struggles to stay focused. I’m looking forward to the tipping point at which I’m doing more projects and less bulk learning. Where the learning is supplemental to completing a project, rather than the prerequisite before being able to start one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=888a7f6702be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chrome dev tools console]]></title>
            <link>https://medium.com/@drewpratt/chrome-dev-tools-console-e26f42827d45?source=rss-2b8916e7f492------2</link>
            <guid isPermaLink="false">https://medium.com/p/e26f42827d45</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Drew Pratt]]></dc:creator>
            <pubDate>Sat, 22 Oct 2016 23:53:38 GMT</pubDate>
            <atom:updated>2016-10-22T23:53:38.635Z</atom:updated>
            <content:encoded><![CDATA[<p>TL;DR: console.log() isn’t supported by FreeCodeCamp, I learned to use Chrome dev tools’ console to log to console and view elements of my code.</p><p>Today I learned how to use the console in Chrome dev tools to log details of my project. FreeCodeCamp doesn&#39;t have any support for the console.log() function in its output view. When I wanted to check the output of variables or other elements at some point during a project, I didn’t know what to do. I had used console.log() on Codecademy which did support console.log().</p><p>I was working on an algorithm challenge. I needed to test whether a given string ended with a given sub-string. One requirement was that we couldn&#39;t use the .endWith() method. We had to use the .substring() or .substr() method. I chose .substr(). It made more sense to me.</p><p>There were multiple test cases. Two example cases would be: does “I need a treat” end with “t”? Does “I have a car” end with “hello”? In my example the <strong>string</strong> is “I need a treat” and the <strong>target</strong> is “t”. I created a variable called <strong>test</strong> to hold the .substr() value. Then I needed to create the .substr() value to put into <strong>test</strong>. Then it was just a matter of comparing the <strong>target</strong> value against the <strong>test</strong> value and returning true or false for each example to complete the challenge.</p><p>The problem came with the .substr() parameters. I knew what I WANTED it to do, but I wasn’t sure what it was actually capturing. I knew I would have to experiment a bit, seeing as I had never used it before, and needed to use variables instead of real number values so that the same code would work on multiple cases. I wanted to use console.log() to show what was actually being returned so that I could adjust the parameters accordingly.</p><p>I googled how to use the console.log() on Freecodecamp and why it didn’t work like it did on Codecademy, and what I found was that it wasn’t supported by FCC. I also found that the built in Chrome dev tools window had a console that would log everything.</p><p>I was able to insert a console.log() method into my code and use the dev tools console to see what was being returned by my .substr() parameter variables, and that made it so that I could adjust the parameters to complete the challenge!</p><p>Heres my code:</p><pre>function confirmEnding(str, target) {<br>  var test = str.substr(str.length-target.length, target.length);<br>  console.log(str.length,target.length, test, target);<br>  if (test === target){<br>    return true;<br>  } else {<br>    return false;<br>  }<br>  <br>}</pre><pre>confirmEnding(&quot;Bastian&quot;, &quot;n&quot;);</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e26f42827d45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Update to Personal Portfolio project]]></title>
            <link>https://medium.com/@drewpratt/update-to-personal-portfolio-project-d9f67cc66465?source=rss-2b8916e7f492------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9f67cc66465</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Drew Pratt]]></dc:creator>
            <pubDate>Sun, 09 Oct 2016 16:54:25 GMT</pubDate>
            <atom:updated>2016-10-09T16:54:25.641Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fcodepen.io%2FAndrewPratt%2Ffull%2FEgEKYx%2F&amp;src=https%3A%2F%2Fcodepen.io%2FAndrewPratt%2Fembed%2Fpreview%2FEgEKYx%3Fheight%3D600%26amp%3Bslug-hash%3DEgEKYx%26amp%3Bdefault-tabs%3Dhtml%2Cresult%26amp%3Bhost%3Dhttp%253A%252F%252Fcodepen.io%26amp%3Bembed-version%3D2&amp;type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1796fe8e524320c31d3f86973cf63a4/href">https://medium.com/media/c1796fe8e524320c31d3f86973cf63a4/href</a></iframe><p>I forked my project and made a v1.1.I made some changes that seemed pretty obvious the day AFTER publishing the original to FCC forum for feedback. I haven’t actually received any feedback at this point. But there were glaring errors that I either hadn’t noticed after staring at it for 3+ days, or hadn’t thought to figure out yet. When I woke up the morning after posting it I remembered there were a few small things that I didn&#39;t like. I set about to fixing those, did some more Googling and reading and realized there were GREAT BIG things I hadn’t realized were wrong.</p><p>The most notable error, was that I used the -md- sized grid system. I was doing the project on my laptop (my only computer) and the bootstrap Docs suggest that laptop screens use the -md- sized grid. It never occurred to me to consider that it would look horrible on mobile until I posted an embed of it and saw it resized in the iframe window. When I went back to the BS docs to learn how to add multiple screen sizes, I learned that BS is built mobile first. So that means that by using the -xs- sized grid it will automatically be sized for mobile, and will extrapolate up for larger screen sizes and still look correct. It was simply a matter of replacing all of my -md-’s with -xs-’s. I also learned that there are media query’s that check the screen size and deliver different content based on screen size(viewport) but I haven’t yet gotten into the level of detail.</p><p>Other fixes included deleting old commented out code. Things I commented instead of deleted “just in case” and no longer needed. I uploaded all my images to one service for image hosting instead of having 3 different image sources to keep track of. Removed the section height parameter, making them dynamic instead of fixed. Finally I made changes to the nav bar button spacing so that they didn&#39;t overlap when shrunk to mobile. which they did even after changing my grid size.</p><p>Eventually I intend to clean up the code further, such as shorten my color variable names, and try to find unnecessary code repetition in multiple classes and the like. But for now its finished and will be a milestone project. If and when I redo the Personal Portfolio project I will start from the ground up and build it completely from scratch. I wont feel the need to follow the example as closely, and hopefully will have a bunch of new trick up my sleeve as my coding journey progresses.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9f67cc66465" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My second FreeCodeCamp Project]]></title>
            <link>https://medium.com/@drewpratt/my-second-freecodecamp-project-28b954a12354?source=rss-2b8916e7f492------2</link>
            <guid isPermaLink="false">https://medium.com/p/28b954a12354</guid>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[bootstrap]]></category>
            <dc:creator><![CDATA[Drew Pratt]]></dc:creator>
            <pubDate>Sat, 08 Oct 2016 15:51:00 GMT</pubDate>
            <atom:updated>2016-10-09T01:04:14.606Z</atom:updated>
            <content:encoded><![CDATA[<p>The Personal Portfolio project.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FAndrewPratt%2Fembed%2Fpreview%2FNRXyEP%3Fheight%3D600%26amp%3Bslug-hash%3DNRXyEP%26amp%3Bdefault-tabs%3Dhtml%2Cresult%26amp%3Bhost%3Dhttp%253A%252F%252Fcodepen.io%26amp%3Bembed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2FAndrewPratt%2Ffull%2FNRXyEP%2F&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F845068.NRXyEP.small.98461d8d-faae-4d79-9b6e-54a806c5d510.png&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/284c0d4dce4e395bf646aba512ed352f/href">https://medium.com/media/284c0d4dce4e395bf646aba512ed352f/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fcodepen.io%2FAndrewPratt%2Ffull%2FEgEKYx%2F&amp;src=https%3A%2F%2Fcodepen.io%2FAndrewPratt%2Fembed%2Fpreview%2FEgEKYx%3Fheight%3D600%26amp%3Bslug-hash%3DEgEKYx%26amp%3Bdefault-tabs%3Dhtml%2Cresult%26amp%3Bhost%3Dhttp%253A%252F%252Fcodepen.io%26amp%3Bembed-version%3D2&amp;type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1796fe8e524320c31d3f86973cf63a4/href">https://medium.com/media/c1796fe8e524320c31d3f86973cf63a4/href</a></iframe><p>This one was A LOT more difficult than the Tribute page project. It felt slightly out of place, much too early in the course. Again we were not supposed to look at the code of the example project, had a set of rules to follow, etc.</p><p>The biggest hurdle was to “match the functionality” of the example. Large amounts of the functionality used, were concepts not yet covered by the FCC curriculum. It required the use of Javascript, which is the section immediately following this project. I understand that “Googling” and “vague instructions” are likely to be a part of a real life job environment. At the very least, a note could have been made explaining that the reason this curve ball is being thrown, is to give you a feel for what a real job might be like.</p><p>I did spend a lot of time googling how to do things. probably around 50% of time spent on this project was reading about/looking up stuff that I needed to know that wasn’t covered yet.</p><p>Everything is done in code except for 3 images. The “personal” pic, doubled as the brand icon in the nav header. The “Tribute page” image in the portfolio section, and the placeholder images in the portfolio section.</p><p>For the navigation section header, I tried to use bootstrap to build the header, but for whatever reason, I couldn’t get it to do what I wanted, and just made my own. The one thing I didn’t take the time to figure out, was how to make the nav button that corresponds to the page section stay highlighted when on that section of the page. Getting the page to scroll smoothly as opposed to jumping straight to a section turned out to be really hard to figure out, then really easy to copy and paste a boiler plate Javascript solution.</p><p>The main body was pretty straight forward. Lots of &lt;div&gt;’s breaking the page up onto the bootstrap grid system. Lots of spacing things just right, picking colors, changing colors, picking them again, changing them again.</p><p>So, What are the things I learned from this project?</p><p>Bootsrap grid system: <strong>offsets</strong>. FCC gave the briefest of introductions to the bootstrap grid system. The did not cover column offsets, or that you are not required to use all 12 spaces in a grid in a single row. I learned that from reading the documentation for the bootstrap grid system. Take away is: read the docs. They are often confusing and often assume a certain amount of prior knowledge, but the information is there.</p><p>CSS: <strong>Variables, :root</strong>. Not covered at all by FCC up to this point. This one I found after almost on accident. I thought, everything looks good, but I want to call one CSS class inside another CSS class in order to make color classes that could be called elsewhere. It turns out that you CANNOT call one class inside another class. My Google-fu turned up CSS variables. I replaced all the color hex codes in my CSS with variables, and used “:root{}” to list my color values. After that changing colors or color schemes became much simper. I had all my color codes in one place and could simple swap out a hex code and see that color change across the project rather than hunting down each instance of color and changing it by hand across the document. Take away is: find a way to do it easier.</p><p>CSS: <strong>Transitions</strong>. Its a small thing, but it wasn’t covered, and I didn’t know what the CSS term for it was. It turns out that CSS has both transitions and animations, that are separate concepts that do separate, yet visually similar things. I just wanted my social media icons to slowly change color when the cursor hovered over them. It was in the example, it looked cool, and I wanted to put it in mine. My biggest struggle was googling for CSS animation. Once I found CSS transitions, implementing the color changing icons took only a few minutes. Its straight forward, simple, and a no brainer ONCE you realize what to google for the function you want. Take away is: what you think something is called, might not be what it is called. Sometimes the answer you want is not the answer your’e asking for.</p><p><strong>Accounts:</strong> I also learned that I will ALWAYS be signing up for free accounts for SOMETHING. The tribute project required I sign up for Codepen.io. this project I ‘could have’ gotten away without signing up, but I ended up getting a free account at cloudinary.com. Joining FCC required that I sign up for FCC, FCC chat(Gitter) FCC Forums, Github, and Medium(where we are now). I can only assume this will never end as I learn new languages, online resources, learning channels, new technologies, etc…</p><p><strong>Summary:</strong> It was a fun, and frustrating project. I learned a lot, and a lot more of it will stick better than simply following the course. Figuring things out on your own will always stick better. I wouldn’t have done this project without having gone through the course, and I did apply some of the lessons from FCC directly to this project. So thank you to FCC both on getting me to this project and allowing me to go it alone for a bit!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28b954a12354" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First programming blog post.]]></title>
            <link>https://medium.com/@drewpratt/my-first-programming-blog-post-7f1603ca2de8?source=rss-2b8916e7f492------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f1603ca2de8</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[bootstrap]]></category>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Drew Pratt]]></dc:creator>
            <pubDate>Wed, 05 Oct 2016 03:59:53 GMT</pubDate>
            <atom:updated>2016-10-05T04:00:23.943Z</atom:updated>
            <content:encoded><![CDATA[<p>So I’ve started to learn programming. I’m Learning front end development. As far as I can tell, that mostly consists of HTML, CSS, and Javascript.</p><p>So far I have completed the HTML, CSS, and Javascript tracks on Codecademy. After that I switched to FreeCodeCamp and have been progressing through their front end development track. Up to this point everything I have done has been following instructions and writing example code. For the most part there hasn’t been much to write about until I came upon the first basic project.</p><p>The first project was to create a “tribute” page for someone. There is an example page that I was to more or less recreate, or create something similar. This was the example: <a href="https://codepen.io/FreeCodeCamp/full/NNvBQW/">https://codepen.io/FreeCodeCamp/full/NNvBQW/</a></p><p>This is my project: <a href="https://codepen.io/AndrewPratt/full/VKAoLj/">https://codepen.io/AndrewPratt/full/VKAoLj/</a></p><p>I chose Leonardo Da Vinci. I was not allowed to look at the code for the given example, I had to figure it all out for myself. I could use the Bootstrap framework, and the code should be all HTML (with one CSS exception for setting up the page).</p><p>I struggled to get the setup to match the example at first. I also failed to use almost anything from bootstrap, not being very familiar with it. The challenge ended up requiring the use of elements that hadn’t been covered in the exercises on FCC. I ended up writing a bunch of CSS, which I wasn’t supposed to do. In my mind it wasn’t CSS because I wrote it in the style tags of the HTML file and not in the CSS file. After a few hours of fighting it, and writing everything the hardest possible way, I got a finished project that look how I wanted it to look, and fit the project requirements. SUCCESS!!</p><p>Then I went back to the example one more time to double check against mine. I accidentally hit the button that opened the code for the project. The code I wasn’t supposed to look at. I figured I had finished and it wouldn’t hurt to glance at it.</p><p>Glance I did. Just briefly. I realized that my project faithfully recreated the way that it should be displayed, but that it did not fit the requirements as to how it was coded.</p><p>Once I realized how easy it could be if I had only remembered the “jumbotron” class in bootstrap, I remade the project correctly. Since I had already put in the time on it once, it was SO MUCH quicker this time. All the editing of text and lists was already done. I knew what I wanted and where. So now it is all finished, I kind of wished I had saved that overcomplicated “wrong” version for comparison, but its too late now.</p><p>So thats my first front end coding project. Took about 6 hours, should have taken like, 1.5 (including looking up info and text sources for the project). But that’s how it goes when your’e a beginner. You do it the hard way, you learn, then you do it the smart way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f1603ca2de8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>