<?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 Melissa Thompson on Medium]]></title>
        <description><![CDATA[Stories by Melissa Thompson on Medium]]></description>
        <link>https://medium.com/@mdthompson95?source=rss-80bcc5606113------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-aiPqkq5JkM-3PvD0-XEJg.jpeg</url>
            <title>Stories by Melissa Thompson on Medium</title>
            <link>https://medium.com/@mdthompson95?source=rss-80bcc5606113------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 23:53:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mdthompson95/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[Fluid/Responsive Sizing with View Width and Media Queries]]></title>
            <link>https://medium.com/@mdthompson95/fluid-responsive-type-using-view-width-and-media-queries-ed00358478f1?source=rss-80bcc5606113------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed00358478f1</guid>
            <category><![CDATA[media-queries]]></category>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[Melissa Thompson]]></dc:creator>
            <pubDate>Sun, 05 Aug 2018 22:14:17 GMT</pubDate>
            <atom:updated>2018-08-05T22:17:57.116Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YqhEW5nnpeY3pHtWsuF2LQ.gif" /></figure><p>As a Frontend Design Apprentice at <a href="https://twitter.com/hearsparkbox">Sparkbox</a>, I get to work with awesome people every day who are focused on building the web right. One of those people is <a href="https://twitter.com/zastrow">Phillip Zastrow</a>. He shared this technique with me, and now I get to share it with all of you. Thanks, Z :)</p><h3>Variables</h3><ul><li>Minimum size (px, em, rem)</li><li>Maximum size (px, em, rem)</li><li>Fluid size (vw)</li><li>Fluid start, min-width media query to start fluid sizing (px, em, rem)</li><li>Fluid end, min-width media query to end fluid sizing at maximum size (px, em, rem)</li></ul><h3>Steps</h3><ol><li>Determine minimum and maximum size (this may come from a design, or it could just be arbitrary)</li></ol><blockquote>Minimum size = 1rem</blockquote><blockquote>Maximum size = 3rem</blockquote><p>2. Determine fluid start point (the point where you want the text to start growing)</p><blockquote>Fluid start = 20rem</blockquote><p>3. Divide the minimum size by the fluid start, then multiply by 100vw to find the fluid size (vw)</p><blockquote>Fluid size = (minimum size ÷ fluid start) * 100vw</blockquote><blockquote>Fluid size = (1rem ÷ 20rem) * 100vw</blockquote><blockquote>Fluid size = (0.05rem) * 100vw</blockquote><blockquote>Fluid size = 5vw</blockquote><p>4. Divide the maximum size by the fluid size you found in step 3 and multiple by 100 to find the fluid end point (the point where you want the text to stop growing once it reaches your maximum size)</p><blockquote>Fluid end = (maximum size ÷ fluid size) * 100vw</blockquote><blockquote>Fluid end = (3rem ÷ 5vw) * 100vw</blockquote><blockquote>Fluid end = 60rem</blockquote><h3>Results</h3><p>In CSS…</p><pre>element {<br>  font-size: 1rem; //Predetermined minimum size<br>}</pre><pre>@media (min-width: 20rem //Predetermined fluid start) {<br>  element {<br>    font-size: 5vw; //((1rem / 20rem) * 100) = 5vw<br>  }<br>}</pre><pre>@media (min-width: 60rem //((3 / 5) * 100) = 60rem) {<br>  element {<br>    font-size: 3rem; //Predetermined maximum size<br>  }<br>}</pre><p>Or nested with <a href="https://sass-lang.com/">Sass</a>…</p><pre>element {  <br>  font-size: 1rem; //Predetermined minimum size</pre><pre>  @media (min-width: 20rem //Predetermined fluid start) {<br>    font-size: 5vw; //((1rem / 20rem) * 100) = 5vw<br>  }</pre><pre>  @media (min-width: 60rem //((3 / 5) * 100) = 60rem) {<br>    font-size: 3rem; //Predetermined maximum size<br>  }<br>}</pre><h3>And that’s that!</h3><p>I have an example CodePen below that you can try out plugging your own numbers into. And if you have any questions, <a href="https://twitter.com/mmmthomp">reach out to me on Twitter</a>!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fmdt2%2Fembed%2Fpreview%2FbjrNXq%3Fheight%3D600%26slug-hash%3DbjrNXq%26default-tabs%3Dcss%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io%26embed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2Fmdt2%2Fpen%2FbjrNXq%3Feditors%3D1100&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F459815.bjrNXq.small.fa5ed917-4a64-43d9-9580-eed55fd82459.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/cad096112863365f05881e6961020f5d/href">https://medium.com/media/cad096112863365f05881e6961020f5d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed00358478f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating with a Keyboard: My #100DaysOfCode Journey]]></title>
            <link>https://medium.com/@mdthompson95/creating-with-a-keyboard-my-100daysofcode-journey-44d0f690b1c4?source=rss-80bcc5606113------2</link>
            <guid isPermaLink="false">https://medium.com/p/44d0f690b1c4</guid>
            <category><![CDATA[code-newbie]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[100daysofcode]]></category>
            <dc:creator><![CDATA[Melissa Thompson]]></dc:creator>
            <pubDate>Tue, 09 Jan 2018 17:40:37 GMT</pubDate>
            <atom:updated>2018-01-09T17:41:24.279Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9zJ4sw6mW391Y7d5-UcIIQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/feXpdV001o4?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Anas Alshanti</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>When I was in the fourth grade, I loved playing Neopets. My favorite part was the customization aspect of the forums. You could change the text/background colors and add images. Of course, as a ten year old, I didn’t realize that I was using HTML and inline CSS to do those things, but that was where my passion for coding started.</p><p>I rediscovered that passion during my sophomore year of college. Here I am now, a senior going into my last semester with one round of #100DaysOfCode under my belt. This is my reflection of those 100 days.</p><h3>My Achievements</h3><ul><li>Built <a href="http://melissadthompson.com/">my portfolio site</a></li><li>Created a <a href="https://codepen.io/mdt2/pen/mBeWww">random quote machine</a> (my first AJAX call!)</li><li>Contributed to open source for the first time during Hacktoberfest</li><li>Utilized material design guidelines to create an <a href="https://github.com/mdt2/drawer-library">open source drawer library</a></li><li>Coded a local weather app with geolocation and vanilla JS</li><li>Kicked imposter syndrome’s butt!</li></ul><h3>What I learned</h3><p><strong>Balance </strong>is crucial to meeting goals while staying healthy. I was completing a full time semester at school for the majority of the challenge, working a part-time job, and still trying to have a social life. All of those things on top of prioritizing a healthy diet and five days a week of exercise was a lot to balance. I found what worked for me was completing my hour of coding earlier in the day. My productivity was infinitely higher in the afternoons than when I tried to code an hour before I planned to be asleep.</p><blockquote>“If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.” — David Leinweber</blockquote><p><strong>My natural coding process</strong> includes frustration. At the beginning of this challenge, I felt so clueless. I knew the basics of JavaScript, but hardly felt that I could apply them. The only remedy I found was simply to practice. I completed some of FreeCodeCamp’s basic algorithm exercises and worked through some of JavaScript30 by Wes Bos to start. For each script I wrote, my frustration would be alleviated, and for each new script I approached, different challenges would bring new frustrations. I chose to use that frustration as my motivation. The feeling of accomplishment after solving a frustrating problem is priceless. Recognizing unhealthy frustration and knowing when to take a step back and rest, however, is also priceless.</p><p><strong>Hustle. </strong>This challenge taught me what hustle looks like for me. In order for me to get a job in a field that is relatively unrelated to the degree I’ll receive in May, I have to hustle. This means daily coding, challenging myself to code for more than an hour, taking projects I’m passionate about from idea to MVP to sharable product. It means setting challenging goals for myself and following through to be the best programmer I can be.</p><h3>What’s next?</h3><p>Reflecting on my participation in the challenge has exposed to me how I learn best and the many ways I can improve when I choose to start my second round of the challenge.</p><p><strong>Goals for my temporary break:</strong></p><ul><li>Continue coding daily</li><li>Complete MVP for my health app</li></ul><p><strong>Goals for round two of the challenge:</strong></p><ul><li>Set project goals on day one</li><li>Be more strict about missing days (missed 18 on round 1, I can do better)</li><li>Get comfortable with abstraction to get more things done</li><li>Become part of an in-person community of coders</li><li>Read more books and watch more videos/tutorials to gain context about new concepts</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*zWVjcyu0adCFcP1VIOuRGg.png" /><figcaption>Retrieved from <a href="https://twitter.com/ossia">Quincy Larson</a>. If anyone knows the artist, please comment so I can credit them appropriately.</figcaption></figure><h3>Thanks for reading!</h3><p>This challenge is fantastic for anyone, especially those dealing with imposter syndrome. The #100DaysOfCode community on Twitter is incredibly supportive and this challenge is the best way I’ve found to hold myself accountable as I continue my dev journey.</p><p><a href="https://twitter.com/mmmthomp">Follow me on Twitter</a> to see my progress and watch my second round of #100DaysOfCode.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44d0f690b1c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>