<?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 Jeff Brown on Medium]]></title>
        <description><![CDATA[Stories by Jeff Brown on Medium]]></description>
        <link>https://medium.com/@jeffbrowndev?source=rss-4afe47f092cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zV7Gbj7ijah9fXFCuaQAWA.jpeg</url>
            <title>Stories by Jeff Brown on Medium</title>
            <link>https://medium.com/@jeffbrowndev?source=rss-4afe47f092cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:20:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeffbrowndev/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[8 Easy Win Web Design Tips]]></title>
            <link>https://medium.com/@jeffbrowndev/8-easy-win-web-design-tips-3f884cf111a5?source=rss-4afe47f092cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f884cf111a5</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Jeff Brown]]></dc:creator>
            <pubDate>Sun, 26 Aug 2018 06:28:41 GMT</pubDate>
            <atom:updated>2018-08-26T06:28:41.132Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1aLu20aptPeUTDg_E8KtmA.jpeg" /></figure><p><strong>When picking a color palette, less is more.</strong></p><p>As a general rule, I’ll use no more than three colors. Sometimes only two if necessary. The idea is to create a “theme”, or a group of colors that create some sort of <em>feel </em>or <em>emotion</em>. Too many colors and a theme can quickly become lost or confusing to look at. To start, try sticking with a primary color, a secondary color, and an accent color. Only add to the palette if you believe it has a positive contribution to the theme.</p><p>In order to understand how colors harmonize, it wouldn’t be a bad idea to learn some simple color theory. The basics quick to learn and easy to understand. Learn a thing or two here: <a href="https://bit.ly/2om2lHZ">https://bit.ly/2om2lHZ</a></p><p><strong>Instead of black text on white, try a dark grey.</strong></p><p>In general, too much contrast can make text unpleasant to read. Using a lighter shade of black can make text easier on the eyes and more legible. In fact, Medium.com used this technique on the text you’re currently reading. Inspect element. I dare ya.</p><p><strong>Let your margins breathe a little.</strong></p><p>Often referred to as white space, margins provide visual breathing room for the eyes. It’s important to focus on where your content <em>isn’t</em>. You’d be surprised how much a little space can instantly create a more sophisticated and elegant design. It can also help to organize content without the use of borders or separators, as well as draw attention to important content that would otherwise be lost in a compact layout.</p><p><strong>Be consistent with spacing.</strong></p><p>As obvious as this one seems, sometimes CSS doesn’t give us the results we expect. Certain HTML elements have default padding and margins, which can make it quite difficult to calculate our spacing accurately.</p><p>As an additional tip, using a CSS reset will remove all default padding and margins from HTML elements. This will give you the results you expect without having to factor in these defaults. There is a cornucopia of CSS resets around the internet, so feel free to check them out. For now, you can easily remove default margins and padding with some simple CSS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6MxabNvhcAc7SVd_h0TCeg.png" /></figure><p><strong>Try using gradients.</strong></p><p>On top of gradients being <em>super </em>trendy right now, they are great at adding depth to your design and can invoke certain emotions depending on the colors used. Gradients can also help mimic colors seen in the real world, adding a sense of lighting and shadows.</p><p>Here is a great tool for creating CSS gradients: <a href="https://cssgradient.io/">https://cssgradient.io/</a></p><p><strong>Use font size &amp; font weight to establish hierarchy.</strong></p><p>This one might seem obvious to some, but it’s too important to not mention. Text hierarchy is not just an opinion, but a long time industry standard. Typically we want to keep headers larger than our body copy, but font weight can have a similar effect, whether combined with font size or not.</p><p><strong>Don’t get too crazy with the CAPS.</strong></p><p>I am guilty of this one sometimes. I can agree that caps can look great with certain font faces (some of them are <strong>only </strong>caps), especially with large headers or small bolded fonts mixed with letter spacing. When overused, text quickly starts to look clunky. While using all caps can help to establish hierarchy, it can also accidentally create a sense of unwanted urgency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zuqk8roj9iVnOo69gDwmFQ.png" /><figcaption>Snuck in a gradient. Anyone notice?</figcaption></figure><p><strong>Spend more time on the mockups.</strong></p><p>This could be the most important advice here. Good design requires good preparation. It will also require a fair bit of experimentation. You can save hours of headache while testing designs and solving problems in the mockup stage. It’s much easier to manipulate your ideas in your software than it is with CSS, and it is much less devastating to scrap an idea and start from scratch.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f884cf111a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding ES6 Arrow Functions]]></title>
            <link>https://medium.com/@jeffbrowndev/understanding-es6-arrow-functions-2ea8cdbcde33?source=rss-4afe47f092cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ea8cdbcde33</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[es6]]></category>
            <dc:creator><![CDATA[Jeff Brown]]></dc:creator>
            <pubDate>Mon, 02 Jul 2018 06:53:01 GMT</pubDate>
            <atom:updated>2018-07-02T07:00:54.758Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*koeXg4YjgSoFWITNLZkzpw.jpeg" /></figure><h3>Introduction</h3><p>Imagine a world without functions. Grim, isn’t it? Programming would be nothing but a world of rotting data, waiting for a moment to be utilized. Functions are <em>literally </em>the only thing moving data throughout our applications, so it’s fair to say as developers it’s important to stay up to date on modern techniques, while keeping function skills sharp.</p><p>Arrow functions were introduced with ES6 as a new way to write JavaScript functions. The syntax is simple and concise, and in most situations requires less typing than traditional functions. Arrow functions also simplify function scope with their unique relationship with the ‘<em>this</em>’ keyword. I’ll explain all of this below with a few simple examples. I encourage everyone to also read the comments in the code snippets, as they provide additional information.</p><h3>Syntax &amp; Declarations</h3><p>Arrow functions provide us with a more concise and terse syntax, as well as some additional functionality (no pun intended). The first main difference is how you write a function declaration. With an arrow function, we cannot name the function itself, but is instead stored in a variable, like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*06599YEjwkLpJ3TNypgqGg.png" /></figure><p>I know, it looks a little strange. As we get a little further, you’ll start to understand every component of the arrow syntax. The biggest difference you’ll notice is the fat arrow =&gt;</p><h3>Passing Arguments</h3><p>If we want to pass in arguments, it works exactly like you’d expect it to, except for a few small differences. When there are no arguments, arrow functions still require an empty set of parenthesis. This is also true for having 2 or more arguments. But, if there is only one, we are able to omit the parenthesis altogether, although it’s not required:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EDXBAl4mPvmXpOpHJmOZFA.png" /></figure><h3>Anonymous Functions</h3><p>We can also use the arrow syntax for anonymous functions, such as functions attached to variables, array methods or event listeners. To anyone who hasn’t heard of an anonymous function, it’s essentially a function without a name, and cannot be accessed <em>outside </em>of the variable it’s attached to. In the example below, notice that we still omit the function keyword, add a fat arrow, and all the same rules apply for parenthesis as before:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YWVRpphsDHw7fgldpMeUWg.png" /></figure><h3>Implicit Returns</h3><p>This is where were start to see more functionality. Arrow functions allow us to use <em>implicit </em>returns, meaning we don’t have to use the return keyword when returning a single statement. In the past, we would <em>explicitly</em> return data using the return keyword, but with the arrow function, it’s assumed. Again, this only works when you are returning a single statement. In addition, we can omit the curly braces surrounding our function. Here’s what it looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f6YlCEsVqfRzEPFAH8AT1g.png" /></figure><p>Starting to look pretty clean, eh? Functions become easier to read and maintain, and we get away with writing far less code. Although I prefer this syntax, many developers might prefer the parenthesis and curly braces for readability. It’s totally optional.</p><h3>Understanding “this”</h3><p>Arrow functions aren’t all about making our functions pretty. Unlike traditional functions, the arrow syntax does not bind itself to ‘<em>this</em>’. It will always retain the ‘<em>this</em>’ value of it’s outer scope. This can be fairly handy, especially while nesting functions. If we nest an arrow function inside a normal function, the ‘<em>this</em>’ keyword will always refer to the normal function. We no longer have to rebind the value of ‘<em>this</em>’ while nesting. In the global scope, the ‘<em>this</em>’ keyword is bound to Window by default.</p><p>This example will <strong>not </strong>work correctly:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5u2iHK9RKSxUmTxD3Qm11A.png" /></figure><p>Since the arrow function doesn’t bind ‘<em>this</em>’ to the menu, the code will not work. Also, because ‘<em>this</em>’ is still bound to the Window object, this code will not throw an error, but instead will add the class of ‘open’ to the Window. This would be a perfect example of when the arrow function isn’t necessary. We should use the more traditional function syntax instead, like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uA11dXa0WtR7VRz1wuItg.png" /></figure><p>The traditional syntax is the best choice here, as it makes our code more manageable and reusable in the long run, and solves our scoping issue with ‘<em>this</em>’.</p><p>So, what about nesting functions? Using both syntaxes can be the perfect choice for certain situations. For example, say we wanted to write a function that adds a class to a page element on click, then removes that class after 3 seconds. We would <strong>not </strong>want to try something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vSmNzzqWHlteaQvJ2TWoMA.png" /></figure><p>If we were to use an arrow function inside the setTimeout instead, we could preserve the value of ‘this’, and access the popup variable <em>inside </em>of the setTimeout:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AviKM85WQNzWY-utVzzvVw.png" /></figure><p>There are obviously many ways to write a function like the example above, but I’m hoping by now we can understand arrow functions and their relationship with ‘this’.</p><h3>Conclusion</h3><p>It’s clear that arrow syntax has its place in functional programming, and although it helps our code to be clear and concise, it’s not always necessary. Since most of the examples here were extremely trivial and lacked context, I recommend everyone to integrate these new ideas into a project of their own and practice them in a real world application.</p><p>To summarize, we really only covered two basic ideas:</p><ul><li>Arrow syntax provides a clean and concise way to write functions</li><li>Arrow functions do <strong>not </strong>bind themselves to ‘<em>this</em>’</li></ul><p>Thank you so much for reading, please leave a comment below or hit the clappy hands if you liked what you read. Farewell and happy coding!</p><p><a href="http://www.jeffbrowndev.com/">Portfolio</a> // <a href="https://twitter.com/jeffbrowndev">Twitter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ea8cdbcde33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My journey into web development]]></title>
            <link>https://medium.com/@jeffbrowndev/my-journey-into-web-development-7620eb68a86d?source=rss-4afe47f092cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/7620eb68a86d</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Jeff Brown]]></dc:creator>
            <pubDate>Wed, 27 Jun 2018 05:53:39 GMT</pubDate>
            <atom:updated>2018-06-27T06:35:26.836Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pzUhL5WpOeViwICDDgiLUA.jpeg" /></figure><p>When I was younger, the thought of myself growing up to be a web developer or even a computer enthusiast would be nothing short of a laughable moment. For much of my teenage years, I spent my time playing music and dressing like someone straight out of Woodstock. Computers didn’t interest me. I was earthy. I was simple.</p><p>Back then, music was my life. I was fully invested, to the point where I struggled with school and any other important life focus (hygiene, to name a good one). I played in several bands all the way through high school and into my 20’s. I honestly thought this is what I would do for the rest of my life. It was all I was good at doing, and came to me so naturally and organically that it never felt like hard work and practicing was a joy. I loved the theory and science behind music and wanted to learn it all. I just couldn’t stop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gTvTym6iPhiqmimqUF6-bw.jpeg" /></figure><p>So how does a technically challenged, smelly, daisy pickin’ hippie become a web developer? I’ll go ahead and tell you. Strangely enough, the chain of events leading to my life now all started when my wife convinced me to stop smoking cigarettes when I was 22. Best decision I’ve ever made, for multiple reasons. Thank you dear.</p><p>Yeah, I smoked. I played in a band. Everyone smoked, back then at least. My wife did <em>not </em>smoke. You can see where this became an issue for her. Long story short, she thought it was gross, bribed me to quit smoking (for a brand new Tama Bubinga Starclasssic snare drum I’ve been DYING for), and I managed to quit (got the snare, still use it!). It wasn’t easy but I’m proud to say I haven’t touched a cigarette in over 8 years. It was hard to tell at the time, but life and work was pretty stressful, and cigarettes really took the edge off. After quitting, I had to scratch the itch somehow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ADncSXHKO1iIvsdJ5jChtQ.jpeg" /></figure><p>This is where I found my next interest. I’ve casually played video games my whole life, but it quickly went from curiosity to obsession in a matter of weeks. I found myself getting really bored, as if that 5 minute cigarette per hour kept me temporarily entertained. Somehow video games filled that void. And you know what? They still do.</p><p>I suppose I’m that kind of person that can’t just dabble around a hobby. If I’m gonna do it, I’m <em>really </em>gonna do it. I’m too curious to miss any details. If you can’t know everything, then what’s the point, right? At least this is how I think. Can’t say it’s a rule to live by, but it works great for me. Ultimately this took my newfound love for gaming to the next level, when a friend of mine suggested I build a gaming computer. You know, the ultimate gaming experience. My thought at the time was ‘wait, isn’t that for super nerds?’. The answer to that is yes, yes it is. But little did I know, I was a super nerd disguised as a dirty forest dwelling hippie. I just didn’t realize it quite yet.</p><p>Of course, me being me, I had to explore the world of PC gaming. It gave me a chance to further explore my hobby in a new and exciting way. It was expensive, but I said fuck it, let’s build this thing. I found a copy of PC Gamer magazine with an article on building custom computers, bought the parts online, and slapped that sucker together in a night. It was beautiful.</p><p>Staring at the guts of my new build, I couldn’t help but wonder how it all worked. It was fascinating. I would often just stare through the glass window on my PC case and watch the fans spin under blue LED lights. Of course, gaming on this thing was an absolute joy. Money well spent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pt4-W-_0Wm3OpDdnw0JV6w.jpeg" /></figure><p><strong>Ok, so here is where things really take off.</strong></p><p>I was most likely sitting at my desk with my giant headphones on, blasting zombies with a 12 gauge and watching their heads explode into bits, when the thought finally struck me. <strong><em>How the hell does this work? Who on earth makes video games for a living? Is it easy to do? Could I do it?</em></strong></p><p>At the time I really didn’t know anything about programming, let alone anything technical or involving computers. My curiosity led to many nights of extensive googling and scraping the internet for information on game development. Not only was this subject completely new to me, but I was immediately overwhelmed with the complexity of it all, and it took me a long while to finally find the courage to buy a book and start learning something. I decided to start with C#, a programming language that lands somewhere in the middle for game developers. C++ was for the pros, and Java was outdated. C# felt like the right choice at the time. After writing my first “Hello World” application I was hooked. I thought “wait, so, I write this, and then, the computer does <em>this</em>? That’s incredible!”.</p><p>Months into learning and writing some simple console programs, I started to realize that not only does programming offer the ability to build amazing things, but offers the opportunity to be <em>creative </em>and <em>unique</em>, the exact same qualities that established my love for music and songwriting. Code soon became the next best thing to ever happen me. I was absolutely immersed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2U80elFMBRz_WiiBTdrLcw.jpeg" /></figure><p>Funny thing is, I never actually got far enough into C# to actually build a video game. Well, nothing worth mentioning. I spent a lot of time writing algorithms and really nerding out on syntax. I think made a few small games that ran in the console, nothing significant. I could comfortably say I knew the language quite well, but never found enough time to make anything useful. I would often browse job sites for listings on C# developers, in case maybe this could ever turn into a career, only to find most of the time I was <strong>way </strong>under qualified. There was just too much to learn, I couldn’t afford go to college, and part of me was getting very impatient. I wanted to get good. But it wasn’t rolling along as quickly as I’d hoped.</p><p>This is where I started to rethink the whole programming thing. I’m 26 years old. My wife is pregnant. We live with room mates. I just don’t have the time that I used to. I really didn’t know what to do. What bothered me the most was I felt like I didn’t explore every possible nook and cranny of programming, and it was excruciating. I felt like a failure. Sure, I could have quit my job, spent tens of thousands of dollars on school and gotten a computer science degree, but, you gotta remember, I had a baby on the way, school was NOT my strong suit, and the money just wasn’t there. At the time is didn’t seem like a practical solution, so I took a step back from programming.</p><p><strong>This is where web development found <em>me</em>.</strong></p><p>During this time I was working full time as a private music instructor. I would teach roughly 50–60 students a week. With a baby on the way and paying rent it was not a bad career choice and it paid the bills just fine. One day after work, I headed out towards my car in the parking lot. I was stopped by one of the parents waiting in his car for his kid to finish up lessons. His kid had been taking lessons for many years, so we would talk quite often. I’m 93% sure his name was Rob. Somewhere during the conversation we started to talk about programming and our mutual experiences with it. He knew a lot about the industry and asked me what my plans were. I gave him the skinny.</p><p>When we finished talking, he reached into his back pocket, pulled out a pen and a business card, and proceeded to write something down. He hands it to me and says “here, give this a try”. As I glanced down and tried to decipher what seemed to be a website address, I thanked him and continued towards my car. I don’t know why but I didn’t think too much of it at the time. I’d already spent hundreds of hours teaching myself to code online, so another online resource just didn’t seem like a big deal. I shoved the business card into my wallet and forgot about it for a few weeks. I wish I had been more grateful.</p><p>To be clear, I had never <em>completely </em>given up on programming. I knew that someday I’d find the time to give it another shot. I would still read articles and discuss ideas with some programmers I knew, but could never manage to regain the momentum I once had.</p><p>At some point during the weeks following my conversation with Rob, I stumbled upon the business card in my wallet. The address written on the backside was “freecodecamp.org”. Without much thought I decided to casually investigate. This website was a full blown <em>web development</em> curriculum, a completely foreign side to programming I hadn’t considered. I’d heard about HTML, CSS, and JavaScript, but it never struck my interest, mainly because web technologies weren’t the best way to build a video game. Yet at this point, my goals as a programmer had completely shifted. I no longer wanted to make games. I wanted a sustainable career and a brighter future for my family.</p><p>I took a moment to browse through the freeCodeCamp curriculum. It was immense. Every lesson was taught in-browser. They used real world examples. There were countless exercises, projects, certifications, you name it. Best of all, there was a <em>community</em>. I suddenly didn’t feel so alone as a programmer, and I thought to myself, “where the hell are these resources for C# programmers?”. I already knew. They simply didn’t exist. I started to do more research on web development resources and sure enough, they were <em>everywhere</em>. Code Academy, Udemy, Plural Sight, to name a few. At this point I couldn’t help myself, and I began coding again. At first I didn’t really think about if I’d like it or not. I didn’t really care, I just wanted to write code. I’d found a practical solution to my unique situation. Or just maybe, it had found me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r8MHwUslYAX_liKOtzuf-A.jpeg" /></figure><p>Within a week or two, I’d already built my first website. Naturally, it was hideous, but web development had already won me over. It gave me the instant satisfaction that C#’s mundane black and white terminal never could. I could visualize something, write some code, and see the results right away. It just felt good. To any C# programmers out there, I don’t mean to rip on your language, in fact I know now that it’s extremely useful in server side programming and I do plan to revisit it someday soon. It just wasn’t my style.</p><p>Soon enough I began reaching out to local businesses and offering my services, and the momentum grew from there. Years later, I’m now working from home as a freelance web developer. I absolutely love what I do. I’ve built up a portfolio I’m proud of and continue to learn every single day. I don’t believe my origin story to be a profound one or even interesting to read about, but these experiences helped to shape the person I am today. I feel very fortunate and equally proud. I guess that sometimes the right mix of passion and patience can help you find your place on earth, even if it’s not what you expected. Cheesy, but relevant.</p><p>Sadly, I haven’t seen Rob since that day we spoke in the parking lot. I suppose they must have stopped taking lessons there. He deserves to know that his small gesture made a significant impact on my life and the future of my family. I hope that one day I’ll run into him so I can tell him this mediocre story.</p><p><a href="http://www.jeffbrowndev.com/">My Portfolio</a> // <a href="https://twitter.com/jeffbrowndev">Twitter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7620eb68a86d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>