<?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 Tom Haxell on Medium]]></title>
        <description><![CDATA[Stories by Tom Haxell on Medium]]></description>
        <link>https://medium.com/@Thaxell?source=rss-5f4ed9b2f7c9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*gJfPIFaz53pxuhM6.jpg</url>
            <title>Stories by Tom Haxell on Medium</title>
            <link>https://medium.com/@Thaxell?source=rss-5f4ed9b2f7c9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 07:22:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Thaxell/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[Content is king.]]></title>
            <link>https://medium.com/@Thaxell/content-is-king-a71827ff7194?source=rss-5f4ed9b2f7c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a71827ff7194</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[content]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[Tom Haxell]]></dc:creator>
            <pubDate>Wed, 16 Dec 2015 16:00:24 GMT</pubDate>
            <atom:updated>2015-12-16T16:00:24.157Z</atom:updated>
            <content:encoded><![CDATA[<p>Time and again clients ask me about SEO or the benefits of having the newest web features. I always stress that above all content is king. You could have the splashiest website and it still wouldn’t generate revenue, or increase your consumer base, because what keeps people coming back is content.</p><p>So if you’re planning on re-designing your site or creating a brand new site always remember that content is the driving force behind your success.</p><p>Here are three content tips to keep in mind:</p><ol><li><strong>The landing page is your elevator pitch.</strong></li></ol><p>You need to grab the user’s attention as soon as they land on the page with concrete, actionable content. Give them clear information with plenty of white space.</p><p><strong>2. Less is more.</strong></p><p>This is not a Dickens novel, it’s your website. People want content that can be easily navigated and digested. Clouding your site with too much text in an effort to outline everything your company excels at leads to users becoming frustrated and leaving.</p><p><strong>3. Why is the most important part.</strong></p><p>If you haven’t watched Simon Sinek’s TED talk on, “How great leaders inspire action” do yourself a favour and <a href="https://www.ted.com/talks/simon_sinek_how_great_leaders_inspire_action?language=en">watch it</a> now. Great stories bring you in with a hook — great websites do this too. What’s the reason you started this business?</p><p>Need some inspiration? Check out these sites:</p><ul><li><a href="http://kekselias.com/">Home</a></li><li><a href="http://alessandroveridiani.com/">Alessandro Veridiani, I am a director of photography.</a></li><li><a href="http://onpower.is/">ON Power</a></li></ul><p>Finally, if you still don’t believe content is king take a moment and consider Reddit. Reddit is not the greatest looking site ever created. It’s plain looking with a nostalgic throwback to Windows 95. While you could argue against the aesthetics of the site, you can’t dismiss the sheer popularity and impact the site has.</p><p>Now go forth and create good content!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a71827ff7194" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Charting a path to C3.js]]></title>
            <link>https://medium.com/@Thaxell/charting-a-path-to-c3-js-badcbc36be41?source=rss-5f4ed9b2f7c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/badcbc36be41</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Tom Haxell]]></dc:creator>
            <pubDate>Thu, 26 Nov 2015 02:19:19 GMT</pubDate>
            <atom:updated>2015-11-26T02:19:19.232Z</atom:updated>
            <content:encoded><![CDATA[<p>First, I apologize for the pun in the title, but I had to go there. If you did not understand the pun, you will by the end of this post.</p><p>What is C3.js?</p><p>C3.js is a reusable chart library that can easily create beautiful looking charts for your data. The library is based on D3.js, which in itself is a complex Javascript library for creating dynamic graphics. D3.js is pretty heavy stuff, but C3.js is its simple and straight-to-the-point cousin. If you have a basic understanding of Javascript you are going to love C3.js.</p><p>How do I use C3.js?</p><p>First, you need to download the C3.js file and the D3.js to your computer. Once that is completed move the C3.css, C3.min.js, and D3.min.js files to your site folder. Next, link the css file in the head of your html file. Then source your javascript tags to the C3.min.js file and the D3.min.js file respectively. At this point you should have something resembling this:</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=”en”&gt;<br>&lt;head&gt;<br>&lt;meta charset=”UTF-8&quot;&gt;<br>&lt;title&gt;C3 Demo&lt;/title&gt;<br>&lt;link href=”c3.css” rel=”stylesheet” type=”text/css”&gt;<br>&lt;/head&gt;<br>&lt;body&gt;</pre><pre>&lt;script&gt;<br>&lt;script src=&quot;d3.min.js&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;<br>&lt;script src=&quot;c3.min.js&quot;&gt;<br>&lt;/script&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>We now need to create a html element to hold our chart. Time to call our friend Mr.Div. We’re not going to call just any div though, we need to ID this div so we can reference it in our Javascript.</p><pre>&lt;div id=&quot;chart1&quot;&gt;&lt;/div?=&gt;</pre><p>Excellent. Now onto the fun stuff. Create a variable with a function, but replace ‘function’ with c3.generate(). Here’s an example:</p><pre>var myChart= c3.generate({</pre><pre>});</pre><p>Now, we need to connect our variable to Mr. Div. We’re going to use ‘bindto’ as the connector. Example:</p><pre>var chart= c3.generate({<br>bindto:&#39;#chart1&#39;,</pre><pre>});</pre><p>Almost there, now we add in our data using an array:</p><pre>var chart= c3.generate({<br>bindto: &#39;#chart1&#39;,<br>data: { columns: [[‘data1’, 30, 200, 100, 400, 150, 250],[‘data2’, 50, 20, 10, 40, 15, 25], [‘data3’, 30, 22, 50, 250, 200, 50]] }</pre><pre>});</pre><p>I’ve put in three data arrays (data1, data2 and data3). Hit save and open the page in your browser. You should have a beautiful chart displaying your data.</p><p>This is only type of chart, there are many others to choose from so I recommend checking out <a href="http://c3js.org/">C3js.org</a> for more information. I hope you enjoyed this quick post about C3.js and my terrible pun.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=badcbc36be41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comments, your friends in the wilderness.]]></title>
            <link>https://medium.com/@Thaxell/comments-your-friends-in-the-wilderness-eaec63f703c4?source=rss-5f4ed9b2f7c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaec63f703c4</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Tom Haxell]]></dc:creator>
            <pubDate>Thu, 26 Nov 2015 02:08:59 GMT</pubDate>
            <atom:updated>2015-11-26T02:08:59.602Z</atom:updated>
            <content:encoded><![CDATA[<p>Comments are your friends. When you have to look back and edit an old project, who will be there? Comments. When your trying to navigate the lines upon lines of code you’ve written to find that exact closing div, who will be there? Comments. I’m going to explain why you should comment your code. It will save you time and give you that happy warm feeling in your stomach. Well, maybe not the happy, warm feeling, but it will save you time.</p><p>First, I use Sublime Text 3 for coding so all of the following tips relate to using that particular type of software.</p><p>So, what is a comment and how do you add them to your HTML or CSS? Comments can be added by writing any length of code and then holding command + question mark keys (on a mac, for windows it’s ctrl + question mark). The line you are on will turn light-grey and be surrounded by &lt;! — to the left and → to the right. BAM! You have yourself a comment.</p><p>Any commented text won’t be displayed in a browser. The benefits of using comments are:</p><ol><li>Highlight your sections to make them more readable.</li><li>Clarify which closing div belongs to what opening div.</li><li>Credit other developers and/or designers that your work was inspired by.</li><li>Providing a base outline for your key design elements, colour, fonts, etc.</li></ol><p>Here’s an explanation of each one:</p><ol><li>You can use comments to separate your html into sections, making it easier to navigate.</li></ol><p>&lt;! — THIS IS THE HEADER →</p><p>&lt;header id=”home”&gt;</p><p>&lt;h1&gt;Hi I’m Tom.&lt;/h1&gt;</p><p>&lt;h2&gt;I’m a Front-End Web Developer.&lt;/h2&gt;</p><p>&lt;/header&gt;</p><p>&lt;! — THIS IS THE CLOSING OF THE HEADER →</p><p>2. As you nest elements it can get confusing to find what closing div belongs to it’s opening tag. Using comments creates readable, clean code:</p><p>&lt;! — THIS IS THE CONTACT SECTION →</p><h3>Drop me a Line</h3><p>&lt;! — THIS IS THE CLOSING DIV OF WRAPPER →</p><p>&lt;/div&gt; &lt;! — THIS IS THE CLOSING DIV OF CONTACT →</p><p>3. If your site has been inspired by other developers and/or you’re using a designers work you should credit them in a comment section.</p><p>&lt;! — CREDITS →</p><p>&lt;! — Waterfall Photograph by JOSE MURILLO. Image from Magdeleine. Source <a href="http://magdeleine.co/photo-by-jose-murillo-n-413/">http://magdeleine.co/photo-by-jose-murillo-n-413/</a> →</p><p>&lt;! — Inspiration from Amanda Milburn Site CHECK IT OUT HERE &gt; <a href="http://amandamilburn.com/">http://amandamilburn.com/</a> →</p><p>&lt;! — END OF CREDITS →</p><p>4. At the start of you css add a comment section outline for your design elements, this will make it easier to refer back to them later.</p><p>/*FONTS AND COLORS FOR THIS PROJECT*/</p><p>HEX #ACBDBA</p><p>HEX #CDDDDD</p><p>HEX #A8E1ED</p><p>HEX #FFC837 color by mikia</p><p>font-family: ‘Josefin Sans’, sans-serif;</p><p>font-family: ‘Noto Sans’, sans-serif;*/</p><p>Those are the comment tips I have for html and css in Sublime Text 3. If you have other tips about comments in code please share them.</p><p>Regards,</p><p>Tom</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eaec63f703c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>