<?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 Claire Ristow on Medium]]></title>
        <description><![CDATA[Stories by Claire Ristow on Medium]]></description>
        <link>https://medium.com/@claire.ristow?source=rss-d8f95d8682c5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*arZXdfGzs51TDyKokdeoaQ.jpeg</url>
            <title>Stories by Claire Ristow on Medium</title>
            <link>https://medium.com/@claire.ristow?source=rss-d8f95d8682c5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 19:23:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@claire.ristow/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[How to Test your LocalHost on an iPhone]]></title>
            <link>https://medium.com/@claire.ristow/how-to-test-your-localhost-on-an-iphone-54e7b11439b7?source=rss-d8f95d8682c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/54e7b11439b7</guid>
            <category><![CDATA[localhost]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[iphone]]></category>
            <dc:creator><![CDATA[Claire Ristow]]></dc:creator>
            <pubDate>Mon, 03 Dec 2018 20:53:48 GMT</pubDate>
            <atom:updated>2018-12-03T20:53:48.289Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ByEOPeUXpUTE1I1bK4QjvQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/L5DxWLmywmM?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">freestocks.org</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I had a bug that was only appearing on old iPhones. This made testing really difficult because I couldn’t re-create the issue on my laptop’s localhost. I needed a way to test my localhost on an old iPhone 5. But as amazing as the Google machine can be for answering questions, sometimes the content just isn’t there. After a lot of troubleshooting and asking friends for help, I finally got my localhost to appear on my phone. This article goes through the steps that I took and the problems I encountered along the way.</p><p><strong>Step 1:</strong> Plug the iPhone into your MacBook.</p><p><strong>Step 2:</strong> Connect the iPhone to the same Wi-Fi network that your laptop is on.</p><p><strong>Step 3:</strong> Open Safari on the iPhone. In the search bar, type your computer’s IP address and the port that you’re running on (example: http://10.1.2.345:3002).</p><blockquote>Tip: Find your computer’s IP address under settings&gt;network&gt;wifi.</blockquote><p><strong>Step 4:</strong> Open Safari on your computer to view the inspector by selecting “Develop” in the top menu bar. Select the iPhone that is connected to the laptop. (Tip: You may need to enable the develop menu in safari&gt;preferences&gt;advanced.)</p><p><strong>Step 5:</strong> If it doesn’t work right away, which it probably won’t, you may have some security settings blocking you from viewing on your iPhone. There are a few things it could be:</p><ul><li>On the iPhone, open settings&gt;safari&gt;advanced and make sure the “web inspector” is switched on.</li><li>In the text editor on your laptop, open the makefile for your API server and find the setting called “HOST_CORS_ALLOWED_ORIGINS”, add http://[your-ip-address]:[your-post-number].</li><li>If it still isn’t working, there may be other files in your app that need to be allowed permission to access your IP. For example, the API URL in my .env.developement file needed to be updated to REACT_APP_API_URL=http://10.1.2.345:4000. Keep in mind that security blocks will probably be centered around your servers so play around in there if you continue to experience problems.</li></ul><p>I am by no means an expert in this and I’m sure this is just one method of many. But this worked for me so with any luck at all, it’ll work for you as well. Happy debugging!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54e7b11439b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SVG Scroll Drawing With JavaScript]]></title>
            <link>https://medium.com/@claire.ristow/svg-scroll-drawing-with-javascript-591fe25cbfae?source=rss-d8f95d8682c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/591fe25cbfae</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[beginner-javascript]]></category>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Claire Ristow]]></dc:creator>
            <pubDate>Sun, 26 Aug 2018 17:58:59 GMT</pubDate>
            <atom:updated>2018-08-26T17:58:59.939Z</atom:updated>
            <content:encoded><![CDATA[<p>Who doesn’t like a good SVG animation? SVGs are so nice to work with because they can scale up or down infinitely without getting pixelated. If you’re looking to implement SVG scroll drawing in your current or future projects, this short post will provide 8 easy steps to do just that.</p><p>Follow along with <a href="https://codepen.io/claireristow/pen/MqKdRK">this codepen</a> to see the animation in action.</p><h3>HTML</h3><p><strong>Step 1</strong>: Get your SVG. You can get free SVGs from <a href="https://thenounproject.com/">The Noun Project</a> and <a href="https://fontawesome.com/">Font Awesome</a> or you can make your own in Adobe Illustrator.</p><p><strong>Step 2</strong>: Wrap your SVG in a <em>div</em>.</p><p><strong>Step 3</strong>: Update your SVG path with the following <em>fill, stroke, stroke-width,</em> and<em> id</em> attributes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/0*KDpPTsIorVWmplDN" /></figure><h3>CSS</h3><p><strong>Step 4</strong>: Give your containing <em>div</em> a height so that it is large enough to create a vertical scroll. I did this because my SVG was the only element on the page. If you have lots of other content on the page, this step isn’t necessary, as long as the elements are in the same containing <em>div</em>.</p><p><strong>Step 5</strong>: Apply a fixed position to your SVG element so that as you scroll down the page, the SVG stays put in the viewport.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/0*hIdKwnO_pKhcMDoc" /></figure><h3>JavaScript</h3><p><strong>Step 6</strong>: Get the length of the SVG path. This value is important for the next step.</p><p><strong>Step 7</strong>: Apply <em>strokeDasharray</em> and <em>strokeDashoffset</em> styles to your SVG. These two properties are the key players in animating an SVG. By setting them to the full length of the SVG path, we are ensuring that no dashes are visible on the path as it appears.</p><p><strong>Step 8</strong>: For the final step, add an event listener when the window begins to scroll. In the event listener, offset the dash by the same amount as the percentage scrolled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/0*YaH1iI56ItSbRv8K" /></figure><p>That’s it! When I was learning, <a href="https://css-tricks.com/scroll-drawing/">this post</a> from CSS Tricks really helped me so check it out if you need another explanation.</p><p>SVG animations can really increase the interest on a website. Like anything, they must be used sparingly to avoid confusion or distraction. This applies to SVG scroll drawing in particular. SVG scroll drawing can either take up a small section of the webpage, or the animation can follow the user all the way down the page. When used correctly, this unique animation technique can delight the user, giving them a sense that they have control over the animations. Go ahead, try it out!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=591fe25cbfae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Reasons Why SASS is AWESOME]]></title>
            <link>https://medium.com/@claire.ristow/3-reasons-why-sass-is-awesome-c44c4f165757?source=rss-d8f95d8682c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c44c4f165757</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Claire Ristow]]></dc:creator>
            <pubDate>Sun, 05 Aug 2018 13:11:45 GMT</pubDate>
            <atom:updated>2018-08-05T13:11:45.799Z</atom:updated>
            <content:encoded><![CDATA[<p>SASS is a widely used CSS tool in the web development industry. It is loved by many for its ability to organize code and make it more DRY. Of course I don’t mean dry as in *yawn*,<em> </em>in fact, I hear all the cool devs are using it. No, its many features help to keep developers from repeating themselves (Don’t Repeat Yourself) and to shorten the number of lines in your style sheets.</p><p>If you’re not already using this popular tool, I would recommend you hop on board. Here are just a few reasons why.</p><p><strong>Nesting</strong></p><p>This neat feature checks off both boxes: it creates more organized looking code and it saves space. It may look odd to begin with but you’ll be dazzled with its simplicity in no time!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/0*4K36XAuYX1uDGnu9" /></figure><p>One word of warning with nesting: if you’re designing a responsive website you’ll need to watch out for specificity. In the example above, if you wanted to make a change on the &lt;a&gt; tags in a mobile view, you’ll need to be just as specific as you were in the original styles.</p><p><strong>Partials</strong></p><p>Partials are another great way to make sections of your code easy to find. The idea behind partials is to break up your code into sections based on typography, global styles, headers, footers, etc. Each partial will have its own .scss sheet which are joined together on the main style.scss by using the import function as seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/0*Mo1LG2YvI5i8m3vd" /></figure><p>Just remember to import each partial in the order that it appears on the page. For example, the footer should always be the last to be uploaded. This ensures that the most important styles are loaded first.</p><p><strong>Variables</strong></p><p>Can’t remember the six digit hex codes for the colours on your website? Well, luckily you don’t have to with SASS variables! Variables are established at the beginning of the .scss document. They hold any value such as font size, font family, colour value, etc. It’s not only a great tool for people like me who have a bad memory, but it also saves a ton of hassle when the design colors change halfway through the project. It only needs to be changed at the variable level!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/0*hA7PyzPwcKz43-KA" /></figure><p>Of course there are lots of other fun features in SASS, popular ones being the @mixin and @extend functions, but nesting, partials, and variables are reason enough to join the community of SASSy coders. They’re super easy to use right from the start. But most importantly, think of all the sassy puns in your future…</p><p>If I have at least convinced you to try it out, check out my friend Bill’s article on <a href="https://medium.com/@bc_codes/how-to-setup-scss-pronounced-sass-and-a-bit-of-partials-2a96cebde5e">setting up your SASS files</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c44c4f165757" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>