<?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 Heather Pierce on Medium]]></title>
        <description><![CDATA[Stories by Heather Pierce on Medium]]></description>
        <link>https://medium.com/@_heathercodes?source=rss-87fdeb21beae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*wB4zKPIx9MrluyEGT0CmAg.jpeg</url>
            <title>Stories by Heather Pierce on Medium</title>
            <link>https://medium.com/@_heathercodes?source=rss-87fdeb21beae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:20:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@_heathercodes/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[On simple steps to Dockerizing your app]]></title>
            <link>https://medium.com/@_heathercodes/on-simple-steps-to-dockerizing-your-app-b347cbff447f?source=rss-87fdeb21beae------2</link>
            <guid isPermaLink="false">https://medium.com/p/b347cbff447f</guid>
            <category><![CDATA[dockerfiles]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[devops-training]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Heather Pierce]]></dc:creator>
            <pubDate>Thu, 09 Apr 2020 18:52:33 GMT</pubDate>
            <atom:updated>2020-04-09T18:52:33.767Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QtkwFQKxgNKQUqCtcKm5Cg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@knutt?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Knut Troim</a> on <a href="https://unsplash.com/s/photos/ship?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Dockerizing your app for production is quite simple, but it’s surprising how complex tutorials and documentation can make it sound. Read on to discover how simple this process can be.</p><h3>How to Dockerize your App</h3><p>There are two stages to building a Docker image and running it as a Docker container.</p><p>There are two assumptions I’m making in this brief tutorial: one, that we’re Dockerizing our app for production. Two, that this app has both a client and a server folder (i.e. it’s a full-stack application) and both folders also contain their own package.json files.</p><h4>Create a Dockerfile in your app</h4><p>At the root level of your app, create a Dockerfile. Along with a Dockerfile, create a .dockerignore file.</p><h4>Your Dockerfile</h4><p>Let’s break down a simple Dockerfile, which should cover everything you need for a basic app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B83CYWLKpp4kzLmx2FJr4A.png" /></figure><ol><li>Every Dockerfile starts with a FROM statement. This is establishing the baseline image for your app, which in this case is a Node environment. Obviously, for other languages, other baseline images should be used.</li><li>Next, we’ll establish a working directory inside your Image. Your image is completely empty, so we need to set up the folder structure. WORKDIR command will define the working directory.</li><li>Using COPY we will select the items in our app to be copied over to the Docker image. We want to keep things small in our image, so only copy what you need. In this case, our built client package, our server and the top-level package.json should be all we need.</li><li>We RUN our npm i --production command in order to install only our production-ready dependencies.</li><li>An additional step, we’ll cd into our server and install the dependencies there, as the server folder has its own package.json. Additionally, since I wrote my server using Typescript, at this time I’ll compile the code from Typescript to JavaScript.</li><li>We have to EXPOSE our port. This allows us, after we’ve running our container, to access the container.</li><li>Lastly, CMD defines our runtime on execution of running the container. Best practice is to reference your runtime command directly (i.e. use a node command), and not an npm command because it reduces the number of processes running inside the container.</li></ol><p>These are the steps you need to to build your Docker image. It’s best to keep your image as small as possible. Think of every line as a layer in your image. Every layer builds on top of the last one, creating a larger and larger bundle size. Reduce the number of commands needed in order to build your image</p><h4>Run your Container</h4><p>Once your Dockerfile is complete, it’s time to build your image. You can build your image with:</p><blockquote>docker build -t &lt;your app name&gt;:&lt;tag-version&gt; .</blockquote><p>The -t will tag your image. This helps with versioning the images of your app, so every time you build a new image, you can also find the past versions of it easily. Note the period at the end of this command: this means we’re telling Docker that we’re already in the folder we want to build the image from.</p><p>You can see the images that have been build with docker images.</p><p>After building our image, we can run it as a Container by executing the following:</p><blockquote>docker run -p 9000:9000 &lt;your app name&gt;:&lt;tag-version&gt;</blockquote><p>The -p means port. This is the magic that will map the port you established in your Dockerfile to an external port accessible outside of the container. The first port can be any port you’d like, while the second always needs to match what was established in your Dockerfile.</p><p>When this command is run, your Container will be running! Congrats, you’ve just Dockerized your app!</p><h3>Bonus: What’s the difference between a Dockerfile and docker-compose ?</h3><p>They work together actually! You’ll always need a Dockerfile to establish a Docker Image.</p><p>Where a docker-compose file comes in is when you want to manage several containers at the same time. In the above, we used the docker commands to build our image and run our container because we were managing a single container for our service.</p><p>If our application was more complex and we had several containers to manage, we would create a docker-compose.yml file. This file would control the workflows and interactions between our Docker containers. We would use the commands docker-compose up and docker-compose down to activate running the compose file.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b347cbff447f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Pull Request is a Conversation]]></title>
            <link>https://medium.com/@_heathercodes/a-pull-request-is-a-conversation-8ab467c17b6b?source=rss-87fdeb21beae------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ab467c17b6b</guid>
            <category><![CDATA[team-collaboration]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[team-communication]]></category>
            <category><![CDATA[pull-request]]></category>
            <dc:creator><![CDATA[Heather Pierce]]></dc:creator>
            <pubDate>Wed, 08 Apr 2020 01:23:27 GMT</pubDate>
            <atom:updated>2020-04-08T01:23:27.481Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FO_1ajx6-Fa23j1yj3WALw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@nicholasswanson?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Nicholas Swanson</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Pull requests can be such fraught territory. It’s irritating to say, but, especially as a woman working as a software developer, pull requests are often the realm of mansplaining, ego trips, and belittling.</p><p>Somewhat as a reaction to this, I’ll learned to approach every pull request as a conversation. This comes from a larger philosophy: the codebases we build and the software architecture we implement are only small pieces living in a larger ecosystem that will grow and grow, and exist beyond our tenure at a company. Thus, every piece of code we contribute should have a panel discussion and dialogue behind it: you and your fellow developers are curators and before we submit snippet of code into the library of the codebase, we have a discussion about its merits, sustainability, and readability.</p><p>So, let’s turn our pull requests into a conversation.</p><p>Here are three approaches I’ve found work best to start a conversation:</p><h3>Don’t leave your PR description empty</h3><p>There’s nothing worse then a PR notification landing in your inbox, context switching to review it and finding you have no idea what the purpose behind it is. Providing a description gives insight to your changes to your co-workers who probably have little background knowledge as to what you were working on (and we probably can’t read your mind).</p><h4>Highlight your decisions and choices</h4><p>A great way to bypass a ton of back and back in PR comments and doubting comments from some of your less-supportive coworkers is to highlight the choices you made in your PR description.</p><p>If you started trying to implement a feature one way and made a discovery that changed your approach, then tell everyone about it. If you think your co-workers might question why you chose an implementation detail versus another way, then explain it here.</p><p>Essentially, this is your time to explain your decision-making. Not only do you get to practice technical communication, but it also helps to skip some of the nitty-gritty PR comments you may receive and fast tracks your team to getting to a more nuanced and fruitful discussion about your code.</p><h4>Everyone hates testing, but…</h4><p>Particularly when making changes to a feature or shipping a new one, highlighting how you tested your branch in your PR gives your team a chance to identify areas of testing that you may have missed. I find this particularly helpful when starting at a new company and your colleagues have more historical knowledge on the product to suggest more robust testing plans.</p><h3>Comment your own PR</h3><p>This is my favourite part of starting a conversation with your team: Comment on your own PR. This may sound like weird advice, but nothing starts an engaging conversation better.</p><p>If in your description you highlighted an area of code that gave you trouble or changed your approach, help your reviewers out and comment on that section. If there was a section of code you wrote and you’re really not sure is the best approach, comment on it and ask for suggestions. Commenting on sections of your own PR and giving context on them leads to a better conversation about the PR as a whole.</p><h3>Language and tone</h3><p>Lastly, the language we use while reviewing code can be fraught and hard to parse. I find using language in the plural rather than the singular can help communicating constructive criticism: asking for “can <strong><em>we</em></strong> change this to…” instead of “can <strong><em>you</em></strong> change this to…” implicitly communicates that this PR and bit of code is the work of a team versus a dictator ordering a nameless developer around.</p><p>Lastly on tone: keep in mind empathy while reviewing a PR. We can all get tunnel vision while working on a bit of code and you can tell right away in a PR if that’s happened. When critiquing a code snippet, remember that a developer probably tried a lot of approaches ahead of the one they submitted. This will go a long way to encourage healthy communication amongst the team instead of a culture of fear when it comes to pull requests.</p><h3>Start the conversation</h3><p>I hope this helped with generating better discussions and communication in pull requests. Submitting a PR doesn’t need to create fear or doubt. Pull requests should be a time when your team comes together and better code is born from it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ab467c17b6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On keeping calm and debugging]]></title>
            <link>https://medium.com/@_heathercodes/on-keeping-calm-and-debugging-b782e382e0f4?source=rss-87fdeb21beae------2</link>
            <guid isPermaLink="false">https://medium.com/p/b782e382e0f4</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Heather Pierce]]></dc:creator>
            <pubDate>Wed, 16 Nov 2016 04:31:35 GMT</pubDate>
            <atom:updated>2016-11-16T04:31:35.462Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*HAxt6bs9mc37z3h0JmFcJw.gif" /><figcaption>why didn’t I test this earlier?</figcaption></figure><p>We’ve all been there. You’re coding, coding, coding along, in the flow and then you think “yeah, this is great”. You test. It’s a mess. How did it go so wrong? Keep calm and read these basic tips:</p><h4>I hate to say I told you so, but…</h4><p>The first mistake was not testing. Test, test, test at every stage. If you’re prone to forget, set up Gulp to live reload your site and keep the screen visible, unblocked by the text editor so it’s apparent when something goes wrong.</p><h4>CTRL+Z / CMD+Z</h4><p>Simple, but effective. Undo everything until things are functional again. From there, slowly re-implement your code and test at every stage.</p><h4>CSS woes?</h4><p>If CSS has got you down, open up the inspector on the browser. Highlight the first element below the &lt;body&gt; tag and delete it. Highlight the next one and delete that one too. Continue through the entire document until the delete the one element causing the layout grief. If nothing is fixed by the end, instead of deleting entire sections, be more specific and go into the sections or divs and delete the elements within them. This trick is particularly useful in trying to detect what is causing horizontal scroll.</p><h4>CSS is so finicky</h4><p>Did you forget clearfix? Are you familiar with the fact “background-attachment:fixed” does not work on iPhone 5+? Did you know that vh units don’t really work on mobile devices in general? There are a ton of small gotchas that can cause havoc in CSS. Keep a checklist handy as you learn.</p><h4>JavaWhat?</h4><p>Detangling a programming language like JavaScript is like detangling cooked pasta. When approaching a JavaScript puzzle, start at the beginning. Go to the init function, or wherever the end function is called. From there, follow the trail: where does that function lead? What variables are used and where were they established? Write down the path on paper if it helps.</p><h4>Console.log everything</h4><p>Literally. Console.log functions, variables, parameters, arguments. Even if you think it can’t be console.log-ed, try to console.log it and then run through your entire website. What the data reveals will highlight the broken bits.</p><h4>It’s obvious, but Google</h4><p>Learning how to Google properly is a skill in itself. If you’re unfamiliar with what to Google, take a stab at it by mentioning the programming language and stating exactly what the issue is. If you’re way off, try mentioning keywords or changing certain words. Is it on Chrome or on Android the problem appears in? Is it HTML element not appearing or the jQuery method that’s the issue? Through trial and error you should narrow the results to the solution.</p><p>What did I forget? I’m always eager to learn! Please mention in the comments or <a href="https://www.twitter.com/@_heathercodes">tweet at me</a>! Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b782e382e0f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On adapting font colour to the image background]]></title>
            <link>https://medium.com/@_heathercodes/on-adapting-font-colour-to-the-image-background-f1b4b92a7bbd?source=rss-87fdeb21beae------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1b4b92a7bbd</guid>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web-accessibility]]></category>
            <category><![CDATA[jquery]]></category>
            <category><![CDATA[fonts]]></category>
            <dc:creator><![CDATA[Heather Pierce]]></dc:creator>
            <pubDate>Mon, 07 Nov 2016 14:49:52 GMT</pubDate>
            <atom:updated>2016-11-07T16:07:39.730Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XsWvMRbFStbVSvbvfMOInQ.png" /><figcaption>The font is white based on the general colour of the background image</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oz1Pk_na21I5ZMjumBZ1Zg.png" /><figcaption>And the font is black here based on the general colour of this background image</figcaption></figure><p>While coding my first Wordpress theme, I wanted more reactive font colour customization based on the background images I was uploading to the theme. After one painful day of trial and error, I have a solid method of having header text adapt the background image uploaded by the user. It’s useful for accessibility as well. Major credit to <a href="http://ryanchristiani.com/">Ryan Christiani</a> for helping me develop this method (also read <a href="https://letslearnes6.com/">his awesome ES6 book</a>!)</p><ol><li>Download and apply <a href="http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/">Adaptive Backgrounds.js</a><br>Download and link the Adaptive Backgrounds script to your file. This JQuery plugin analyses the dominant background colour of the image you upload and then applies it to the parent element of the image. After linking the script, apply the following code to the element that has the background image applied to it:</li></ol><pre>data-adaptive-background data-ab-css-background</pre><p>When you run the $.adaptiveBackground.run({}) in the document ready, specify the parent, particularly if it’s the body element:</p><pre>$.adaptiveBackground.run({<br> parent:’body’<br> });</pre><p>2. Translate the font colour to respond to background color<br>Since the background colour of every page will change depending on the image uploaded, it’s a bit tricky to get the exact value of the background-color property. Luckily, this awesome <a href="http://codepen.io/davidhalford/pen/ywEva">CodePen by David Halford</a> has some of the code we need. Put this in your script.js file:</p><pre>function getCorrectTextColor(hex){<br> <br> threshold = 130; /* about half of 256. Lower threshold equals more dark text on dark background */<br> <br> hRed = hexToR(hex);<br> hGreen = hexToG(hex);<br> hBlue = hexToB(hex);<br> <br> <br> function hexToR(h) {return parseInt((cutHex(h)).substring(0,2),16)}<br> function hexToG(h) {return parseInt((cutHex(h)).substring(2,4),16)}<br> function hexToB(h) {return parseInt((cutHex(h)).substring(4,6),16)}<br> function cutHex(h) {return (h.charAt(0)==”#”) ? h.substring(1,7):h}</pre><pre>cBrightness = ((hRed * 299) + (hGreen * 587) + (hBlue * 114)) / 1000;<br> if (cBrightness &gt; threshold){return “#000000”;} else { return “#ffffff”;} <br> }</pre><p>This will return the hex value of the background colour… however, the adaptive backgrounds plugin only delivers the background colour in RGB D: so we need some more code</p><p>3. Adapt the RGB background colour to HEX<br>So, let’s set up translation from the RGB background value, delivered to us from the adaptive background plugin, into a HEX code with the following code:</p><pre>function componentToHex {<br> var hex = c.toString(16);<br> return hex.length == 1 ? “0” + hex : hex;<br> }</pre><pre>function rgbToHex(r, g, b) {<br> return “#” + componentToHex(r) + componentToHex(g) + componentToHex(b);<br> }</pre><p>Again, stick this with the above code in your script.js file.</p><p>4. Bringing it together in the Document Ready<br>The document ready (or init function, whichever you prefer), is where the all the code comes together. In the adaptive background $.adaptiveBackground.run({}) object, we’ll create a ‘success’ property which will grab the background color of the parent you established, pass it through the HEX translator and then in the getCorrectTextColor function, and then apply it to the HTML elements you desire:</p><pre>$.adaptiveBackground.run({<br> parent:’body’,<br> success: function($img, data) {<br> // console.log(data);<br> var rgba = data.color.replace(/[rgba\(\)]/gi, ‘’).split(‘,’);<br> rgba = rgba.map(function(n) { return parseInt(n)});<br> $(‘your element here’).css({<br> color: getCorrectTextColor(rgbToHex(rgba[0],rgba[1],rgba[2]))<br> });<br> $(‘your element here’).css({<br> color: getCorrectTextColor(rgbToHex(rgba[0],rgba[1],rgba[2]))<br> });</pre><pre> }<br> });</pre><p>Again, many thanks to <a href="http://ryanchristiani.com/">Ryan Christiani</a> who helped me put this code together. If this helped you, recommend and <a href="https://www.twitter.com/_heathercodes">follow me on Twitter</a> and Ryan at <a href="https://twitter.com/rchristiani?lang=en">@RChristiani</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1b4b92a7bbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On UX, Wireframing and Prototyping (by a complete beginner)]]></title>
            <link>https://medium.com/@_heathercodes/on-ux-wireframing-and-prototyping-by-a-complete-beginner-89733f13d9b8?source=rss-87fdeb21beae------2</link>
            <guid isPermaLink="false">https://medium.com/p/89733f13d9b8</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Heather Pierce]]></dc:creator>
            <pubDate>Mon, 10 Oct 2016 13:34:12 GMT</pubDate>
            <atom:updated>2016-10-10T13:34:12.116Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*DDV9XLQYBbYeKxiG9tKC9g.png" /></figure><p>What exactly is UX? How can one job involve everything from business analysis to visual design? And what is it’s cousin, “UI”? What about “usability”? Aren’t they all same?</p><p>User experience sounds like a simple idea, but UX designers often struggle with defining exactly what their roles encompass. As a front-end developer, this confusion can often result in our own jobs incorporating responsibilities of UX design, including creating wireframes and interpreting prototypes, without ever having this role truly explained.</p><p>So, from one beginner to another, let’s try to demystify UX, Wireframes and Prototypes.</p><h3>UX vs. UI</h3><p>UX is best explained when contrasted with UI</p><p>UI is short for “User Interface”. UI designers are concerned with the aesthetic design of the product. They design the icons, buttons, interactions, and create style guides for the overall appearance of the product. With it’s emphasis on visual elements and graphic design, a UI designer is much more in realm of what is traditionally thought of what a designer is. <br>Think about the Twitter “Like” button redesign: a UI designer designed both how the heart was shaped and the little sparkles that come from it when clicked.</p><p>So what is UX? To begin, according to this <a href="https://www.smashingmagazine.com/2010/10/what-is-user-experience-design-overview-tools-and-resources/">excellent article from Smashing Magazine</a>, UX is not just about “usability”. It’s about <strong>how the user <em>feels </em>while using the product</strong>. Do they feel frustrated? That’s bad UX. But do they feel happy, satisfied or do they even realize they’re engaging with a process? That’s good UX. <br>It’s about making the experience effortless and every interaction the user has the product meaningful. UX designers identify pain points and designs the flow of interactions while using the product.</p><p>So, the TL;DR version:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*XT6K6YmcmVq_U7tStBII4g.jpeg" /><figcaption>oooohh, I get it now</figcaption></figure><p>In the example above, the UI design is elegant, however, the moment the user actually uses the product, they are made painfully aware of how the design works against their goals. While it’s a charming design, once the user manipulates the object, they are frustrated and the goal for which the product was made for — getting ketchup on the plate — is a painful process. This is the opposite of good UX.</p><p>The UX example, on the other hand, showcases ease of use. In re-designing the ketchup bottle, thought as gone into eliminating all pain points — the glass material, the cap on the top of the bottle — and it’s effortless on the consumer’s part to get from A to B. This is good UX.</p><p>So whenever you consider how a user would feel using the end product — frustrated or satisfied — whenever you choose ease of use from point A to B over flashy design, anticipate pain points, or add in accessibility, you are practicing good UX.</p><p><em>More resources:<br></em><a href="http://thenextweb.com/dd/2016/08/11/what-the-hell-is-ux-design/">What is UX design really? from The Next Web</a><br><a href="https://www.smashingmagazine.com/2010/10/what-is-user-experience-design-overview-tools-and-resources/">What is User Experience Design? Overview, Tools and Resources from Smashing Magazine</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D4RmNoNIZYQBHsWbxef4VA.png" /><figcaption>behold my ugliness and rejoice!</figcaption></figure><p>With this is mind, what are some UX tools that front-end devs will have to (and should already) work with?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*nZ9DmKb-aiP771r-P8Fp0A.jpeg" /><figcaption>Nothing better than paper and pen</figcaption></figure><h3>Wireframing</h3><p>Wireframing is probably the tool most are familiar with when they think of UX. Wireframing is simply a very basic guide to laying out the website, using shapes, lines and often, a big black marker to draw out ideas on paper. It can be used as a blueprint or brainstorming about how the content is divided up on the page and how it will be presented, which can be subsequently disregarded or referenced constantly throughout the rest of development.</p><p>If possible, try to wireframe your site prior to writing a single line of code, even the HTML markup. This way, you can anticipate layout choices, particularly when it comes to responsive design. Wireframe proactively instead of coding reactively.</p><p>Wireframing is 2D and can be done using various programs, or with ye olde paper and pen. What is key is that the the wireframe should be chunky to prevent adding specific details in and not very aesthetically pleasing. This isn’t about what the end-product will look like: no colours, details or other visual elements should be involved at this level — these things will be done in the mockup by a designer.</p><p><strong>Tools to use<br></strong>paper and pen 👍<br><a href="https://wireframe.cc/">wireframe.cc</a><br><a href="http://www.mockplus.com/">Mockplus</a> (free for 3 months)</p><h3>Prototypes</h3><p>As the web evolves away from a static state, prototyping has become a crucial element in UX and front end development. After the wireframe and mock-up stages, prototyping will begin. Prototyping tests how the final mockup will come together, determining transitions and animations prior to writing a single line of code. This saves time in development and allows for experimentation previously impossible in situations with tight deadlines.</p><h4>Part 1: Multi-page tools</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rny3ayEfAvTzTZ3MCoCDEw.png" /><figcaption>no code necessary to mimic transitions and interactions in your final product with InVision</figcaption></figure><p>Like wireframes, Prototypes are planning tools but the significant difference is that prototypes are made to simulate interactions. Multi-page tools use PSD or JPG files uploaded to the app to string together screens that simulate on-click transitions between windows on the final product. This mimics how the product flows from screen to screen.</p><p><strong>Tools to use<br></strong><a href="https://marvelapp.com/">Marvel</a><br><a href="https://www.invisionapp.com/">Invision</a> (free for one prototype)</p><h4>Part 2: Layer interaction tools</h4><p>These tools are very similar to multi-page tools, using PSD or JPG files to emulate the final product, but layer interaction tools allow for simulated animations and other finer interactions within the prototype. Layer interaction tools can also allow for icon design, which means they are moreso used by UI designers</p><p><strong>Tools to use<br></strong><a href="https://facebook.github.io/origami/">Origami</a><br><a href="http://www.relativewave.com/form/">Form by Relative Wave</a></p><p>To see the full thought process from wireframe to interactive prototypes, check out this <a href="https://stories.uplabs.com/a-practical-guide-to-convert-your-sketches-to-working-prototypes-5b1a732d1eb5#.d2bpf5iph">awesome guide</a> by a UI/UX designer.</p><p>Thanks for reading! Please like or recommend this article if it was helpful for you and <a href="https://twitter.com/_heathercodes">follow me on Twitter</a></p><p><em>Further Reading</em><br><a href="http://www.webdesignerdepot.com/2016/04/the-beginners-guide-to-ux-prototyping/">The beginner’s guide to UX prototyping from the Web Design Depot</a><br><a href="https://uxmag.com/articles/what-a-prototype-is-and-is-not">What a Prototype Is (And Is Not) by UXMag</a><br><a href="http://10 Tools for Prototyping on a Budget by Prototypr.io">10 Tools for Prototyping on a Budget by Prototypr.io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89733f13d9b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On 10 tips for creating and styling HTML forms]]></title>
            <link>https://medium.com/@_heathercodes/on-10-tips-for-creating-and-styling-html-forms-be5640a7712b?source=rss-87fdeb21beae------2</link>
            <guid isPermaLink="false">https://medium.com/p/be5640a7712b</guid>
            <category><![CDATA[help]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[forms]]></category>
            <dc:creator><![CDATA[Heather Pierce]]></dc:creator>
            <pubDate>Mon, 03 Oct 2016 14:27:06 GMT</pubDate>
            <atom:updated>2016-11-10T18:23:15.444Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*An3D12X8syV92KK-7Z4bPw.png" /></figure><p>Forms are sneaky. You don’t even notice them while browsing the internet, but when it comes to building a site and realizing, “shit, I have to build a form”, it’s all the effort I can manage to just comment out the section with “DO THIS LATER” under the opening &lt;form&gt; tag and forget about it until the very last minute.</p><p>Forms are irritating to build and even more painful to style. Because I loathe them so, I want to share a couple of tips and tricks I found to make this onerous task less tedious:</p><ol><li><em>Use normalize.css</em><br>Quite an obvious tip, but it’s the difference between screaming the monitor when padding won’t add to the submit button and not even noticing that it’s a problem.</li><li><em>Use f</em><a href="http://www.focuspocus.io/"><em>ocuspocus.io</em></a><em> for the action<br></em>Super easy to set up an account, even easier to input into the form.</li><li><em>Know thy attributes<br></em>Whhhhyyyy are there so many attributes for forms? Here’s a quick breakdown of the essential ones:<br><strong>action</strong>: For the &lt;form&gt; tag. Sources the php file or <a href="http://www.focuspocus.io/">focuspocus.io</a> target<br><strong>method</strong>: the way of sending the form information to the server. Either GET or POST<br><strong>class</strong>: forms and inputs can both take classes for css styling<br><strong>name</strong>: a way of referencing the inputs and form when it’s sent to the server. <strong><em>Important</em></strong>! If multiple inputs have the same “name” value, these inputs will be grouped together on the form itself. If the user will be inputting multiple values into the form, the name attribute should contain [ ] at the end to group the multiple values.<br><strong>value</strong>: determines the value of the input when the form is submitted. Not necessary for when the user inputs the information themselves e.g. not required for a text input, but should be required for radio input. For the submit input, the “value” attribute determines what the text on the button will be.<br><strong>id</strong>: important when using the &lt;label&gt; tag (see below).<br><strong>placeholder</strong>: optional, but only for fields the user inputs themselves. This is the text that appears in the text field, but disappears on click.<br><strong>other optional and self-explanatory attributes</strong>: checked, required, maxlength, autocomplete.<br>And forget the rest 🙃<br>(if the name, class and id tags all use the same word, that’s perfectly fine.)</li><li><em>Use &lt;labels&gt;</em><br>You know when text appears before the input that tells you what the form is? No needs to awkwardly style a &lt;p&gt;, simply use a &lt;label&gt; tag ahead of the input. The label tag takes the “for” attribute, which is then linked to the “id” attribute in the associated input. When these two values are the same, clicking on the label will the same as clicking on the input.</li><li><em>You can add &lt;h1&gt;, &lt;a&gt; and &lt;p&gt; tags inside the &lt;form&gt; tag</em><br>Seems surprising to discover this? Not sure why, but it’s like the &lt;form&gt; tag is a barrier between other HTML elements and &lt;input&gt; tags. Not so! You can have other HTML elements inside the &lt;form&gt; tag other than &lt;input&gt;, however, they can’t appear in between &lt;select&gt; and &lt;option&gt; input elements.</li><li><em>Use attribute selectors and classes to style inputs<br></em>The trickiest mental hurtle to overcome with styling inputs is how to tag them in the CSS stylesheet. If there’s only one type of input on the page, you can tag it with an attribute selector. If there’s multiple inputs of the same type, simply give the input a class in order to style it.</li><li><em>CSS appearance property<br></em>Using appearance:none; can remove all the default browser styling from an input. However, support for this property is… <a href="http://caniuse.com/#search=appearance">varied</a>.</li><li><em>Inputs: just like us!</em><br>Inputs like colors, padding, font size, width properties just like any other HTML element.</li><li><em>Using the background property<br></em>This is a pretty handy trick! If your input needs an image or icon inside the input, give your input a background-image with background-report:no-repeat; and position it to where it needs.</li><li><em>Change your input border style<br></em>Using border:none; will remove all the ugly default border on an input. Giving the border a “border-bottom” style can result in a very trendy input look.</li><li><strong>BONUS</strong><em>: CSS outline property, e.g. don’t forget about the focus!<br></em>Don’t forget to tab through or click on your inputs! The default is a blue border box, but they may not mesh well with design of the page. Use the :focus pseudo class to change the appearance.</li></ol><p>Please like and share if this helped you! Follow on Medium or <a href="https://twitter.com/_heathercodes">on Twitter</a>.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be5640a7712b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On enrolling in a coding bootcamp]]></title>
            <link>https://medium.com/@_heathercodes/on-enrolling-in-a-coding-bootcamp-b6c318511c66?source=rss-87fdeb21beae------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6c318511c66</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Heather Pierce]]></dc:creator>
            <pubDate>Sat, 24 Sep 2016 20:12:20 GMT</pubDate>
            <atom:updated>2016-09-25T23:39:38.400Z</atom:updated>
            <content:encoded><![CDATA[<p>I was almost embarrassed to tell my former co-workers what my plans were when I quit my job. This may be my own baggage, but saying to them “I’m going to a coding bootcamp” felt immature, like I was jumping on a band wagon or spending all this money glorified networking. Why spend all this money learning when there are free resources online to learn coding? Aren’t there cheap online courses to take? Could I not just listen to this podcast about coding and get motivated to learn?</p><p>And the answers to all of them are “well, yes”, but also “and I tried those already”. So why am I embarrassed to say that I’m enrolling in a coding bootcamp? It has to do with the perception of “bootcamp = waste of money” and “self taught code = the only sensible way to learn”.</p><p>When I first realized I wanted to code two years ago, I looked up those free online resources and they were an excellent starting point for getting my toes wet in HTML and CSS, discovering that I liked to code and I liked to learn about coding. But throughout my use of these resources, jumping from one to another, there was a familiar refrain: You don’t need coding bootcamps, learning is free, easy, and you will be a master in no time.</p><p>I find this mentality misleading. Sure, there is an element of marketing to this message: these resources want users and this is how to lure them in. But there’s an element of shaming users if they consider paid resources, in particular coding bootcamps — why waste the money when all the knowledge you need is here? But the crucial thing, and why people do choose to do a coding bootcamp, is the differences in how people learn.</p><p>I’ll come right out and admit it: I cannot learn in isolation. I need classmates, I need mentors, I need an active instructor. Coding is not “easy”, it’s tough to wrap your head around these programming concepts, particularly with no background in computers (I am, however, an expert in solving my mother’s various computer crises). I did the self-taught thing: repetition on Code Academy, splurging and viewing Udemy courses, listening to Start Here podcast. These things, while excellent, were not enough because <em>it isn’t how I learn.</em></p><p>So, yes, coding bootcamps are in vogue and everyone wants to learn how to code. But it’s time to stop pretending that taking the self-taught path is easy and should be the only way to learn how to code. It’s the path for some and it works for them, not because they’re incredible savants, but because how they learn mixes nicely with how free or cheap resources teach them.</p><p>Enrolling in a coding bootcamp is not a quick fix path to learning code — both paths, self-taught and bootcamp, are very hard — it’s simply just a signpost that says “this is how I best learn”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6c318511c66" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>