<?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 Sanket Chaudhari on Medium]]></title>
        <description><![CDATA[Stories by Sanket Chaudhari on Medium]]></description>
        <link>https://medium.com/@sanketchaudhari?source=rss-be45f6eea3aa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*p_5VHyn8Iui68x_XioAXVg.png</url>
            <title>Stories by Sanket Chaudhari on Medium</title>
            <link>https://medium.com/@sanketchaudhari?source=rss-be45f6eea3aa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 23:06:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sanketchaudhari/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 we think and learn : our brain’s two modes of thinking]]></title>
            <link>https://sanketchaudhari.medium.com/how-we-think-and-learn-our-brains-two-modes-of-thinking-860355983fff?source=rss-be45f6eea3aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/860355983fff</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[thinking]]></category>
            <category><![CDATA[self-awareness]]></category>
            <dc:creator><![CDATA[Sanket Chaudhari]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 16:28:13 GMT</pubDate>
            <atom:updated>2018-08-14T00:58:16.006Z</atom:updated>
            <content:encoded><![CDATA[<h4>When trying to learn new things, it helps to understand how our brain works.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d3sLYqGEVSmQ6jLPFjdF9A.jpeg" /></figure><p>In the course <a href="https://www.coursera.org/learn/learning-how-to-learn">Learning How To Learn</a>, one of the most popular MOOCs on <a href="https://www.coursera.org/">Coursera</a>, <a href="https://www.coursera.org/instructor/barboakley">Dr. Barbara Oakley</a> posits that the brain has two fundamental modes of thinking by which it operates — the <strong><em>focused</em></strong> and the <strong><em>diffused</em></strong> modes.</p><h3><strong>Focused mode of thinking</strong></h3><p>The focused mode of thinking is when you concentrate intently on something you are trying to learn, solve or understand. It can be a problem or a concept which is completely new to you or one which you are familiar with.</p><p>It is also employed when your brain already has an ingrained mental path — familiar thought patterns like adding two numbers or even a few advance ideas like decision making or quantum theory — it can refer to, to understand or solve a given problem.</p><p>When you try to solve a familiar mathematical problem or try to get your head around a new concept in quantum mechanics or deliberately practice a chord progression in music — you are trying to tap into the brain’s focused mode of thinking.</p><p>Learning in the focused mode is what most people understand when they think of the term ‘learning’. That is not entirely true though.</p><p>As it turns out, the focused mode of thinking is very useful to the brain when laying a foundation for new knowledge or utilising familiar mental patterns to use to solve or understand concepts, but what about the patterns it has never ‘seen’ before? How can your brain think of ideas it has never thought before? And that is where the other mode of thinking — the diffused mode — comes into the picture.</p><h3><strong>Diffused mode of thinking</strong></h3><p>The diffused mode of thinking springs into action when our brain is in a relaxed state — when you aren’t consciously thinking of the problem you are trying to get our head around. As it turns out, even when you step back from a problem and not think about it consciously, at an unconscious level, it keeps running in the back of your mind as you go about doing other tasks.</p><p>In this relaxed state, your brain is free to wander around, explore and make new potential connections between ideas and concepts that already exist within it — and eureka!, out comes a seemingly novel solution to your problem.</p><p>Ever wondered why all your best ideas come to you when you are in a shower or taking a stroll? Ever got up from sleep and suddenly understood a complex topic you were struggling with for quite some time? Well, now you know!</p><p>As it turns out, <strong><em>exercise</em></strong> is a wonderful way to switch your mind into the diffused mode of thinking. And so is <strong><em>sleep</em></strong>. In fact, exercise and sleep help the brain develop new neural pathways which help you understand and retain information effectively.</p><h3><strong>Why you need both</strong></h3><p>Research in neuroscience suggests that at any given point in time, your brain can be in one of these two modes but never both. In that sense, the two modes complement each other.</p><p>For effective learning to occur, your brain needs to constantly be able to go back and forth between these two modes — grappling with and trying to understand or solve a problem or a concept in the focus mode while also stepping back from it for some time, to let the brain relax and assimilate these seemingly complex ideas and form new connections between related concepts in the background to help you see the problem from a big picture perspective. You can then switch back to the focused mode — where you can then pick from these newly formed connections and build on top of them.</p><p>Surrealist painters like Salvador Dali and great inventors like Thomas Alva Edison are said to have developed routines around this concept — which usually consisted of planned naps intertwined with their focused work sessions — which helped them ‘<em>travel</em>’ between the two thinking modes to come up with some of the greatest works of all times.</p><p>In light of this knowledge, it becomes very important for us to understand that taking regular breaks between focused learning sessions and allowing our brains to relax is a vital part of trying to reach into the depths of our mind to come up with creative ideas.</p><p>Fascinating, isn’t it?</p><h4>More where this came from</h4><p>This story is published in <a href="http://blog.usejournal.com/">Noteworthy</a>, where thousands come every day to learn about the people &amp; ideas shaping the products we love.</p><p>Follow our publication to see more product &amp; design stories featured by the <a href="https://usejournal.com/?utm_source=usejournal.com&amp;utm_medium=blog&amp;utm_campaign=guest_post">Journal</a> team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=860355983fff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Year 2016 in review and the path ahead]]></title>
            <link>https://sanketchaudhari.medium.com/year-2016-in-review-and-the-path-ahead-91f895c4262d?source=rss-be45f6eea3aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/91f895c4262d</guid>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[year-in-review]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[goals]]></category>
            <dc:creator><![CDATA[Sanket Chaudhari]]></dc:creator>
            <pubDate>Thu, 26 Jan 2017 16:33:49 GMT</pubDate>
            <atom:updated>2017-01-27T04:41:43.013Z</atom:updated>
            <content:encoded><![CDATA[<p>A look back into the year that was 2016 and my plans to make 2017 a year to remember.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qz4XYyQg31D9FbAR0Uz2xQ.jpeg" /><figcaption>Remember to ask me why I chose this as the hero image! (Courtesy — Unsplash)</figcaption></figure><p>A little late to join the party, but this article finally manages to get out of my drafts.</p><p>Contrary to the general notion going around that 2016 was bad (if not the worst)— I think mine was pretty kind to me. It was an eventful one — a year full of new beginnings. At the end, it left me better aware of myself as a person and gave a sense of positive direction — some momentum which I carry with me into the new year. So yes, it was good.</p><h3>A year that was 2016</h3><p>As we move into 2017, I thought it would be a good idea for me to look back on a few positives from the previous year (and hopefully build on those in the coming year!).</p><h4>Travel diaries</h4><p>For me, 2016 would be the year, which I would look back to and remember for the sheer number of experiences I had as I travelled across parts of Northern India — mostly solo — on my bike. A year when I <em>really </em>started to get a hang of what travel meant to me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OexAoiT9GKtvWqhjiw3GDA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gsHUGCfEMT7rJ0HoIjPL1A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OfxSD516Suf7dr1iWZ7kZg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*OUfJBlEQu7Fsu1MWH0phjQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ofZG8CrQYavorhfZwrhnAw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*D7XmA65pOUZfI5m34CrYvg.jpeg" /></figure><p>Most of my trips being solo, meant that I got an opportunity to interact with travellers from all over the world — getting to know their reasons for travel, their experiences, ideologies and about their lives in general. It made me realize how, despite all the distance and boundaries, we have so much in common with each other — as a human.</p><blockquote>“Travel makes one modest. You see what a tiny place you occupy in the world.”</blockquote><blockquote>— <a href="https://www.goodreads.com/author/show/1461.Gustave_Flaubert">Gustave Flaubert</a></blockquote><p>Having experienced it first hand myself now, I cannot agree enough with the author. Travelling in 2016 left me a better version of myself. I grew as an individual — had experiences that changed the way I look at the world around me. And for that, it shall forever be remembered.</p><h4>Work became play!</h4><p>I joined <a href="https://blog.uncommon.is/">Uncommon</a> (my current workplace) as a UI Designer in the August of 2015. Like many others in my field, I did not have a formal education in design — but relied mostly on my <em>passion — </em>a<em> </em>dream to become a full-time designer. The first few months were tough, to say the least — for me as well as my colleagues (who were also my mentors) who were entrusted with the task of getting me up to speed with the quality of work that was expected of me.</p><p>While I spent the major part of the second half of 2015 struggling to cope up with the ‘pressure’ (most of which was self-inflicted) — almost giving up on this ‘dream’ — 2016 saw me finally getting a hang of things. 5 months into the job — my ‘colleagues’ were now my friends and owing to their patience in helping me out at the beginning of my design career — I realized I was getting better. As the year progressed, I was entrusted with some amazing projects — ones which I would be proud to have on my portfolio — and the designer within me grew in confidence.</p><p>2016 — the year when <em>work became play</em>!</p><h4>And more…</h4><p>Apart from these, I also started getting my feet wet in the world of Front-End Web Development (I can now call myself an Amatuer Front End Web Developer), took to learning a musical instrument (the piano) after over 10 long years and also managed to hit the gym seriously for over 3 months in a row (I eventually lost track and quit though)!</p><blockquote>One hell of a year!</blockquote><h3>Enters 2017…</h3><p>Like many around me, I too have taken up New Years’ Resolutions in the past — only to lose my way (read <em>motivation</em>) midway and eventually fail at keeping them. The problem — as I think of it now — with my resolutions in the past could be that they were pretty vague. When I said — “I want to eat healthy” or “I want to stay fit” — there was no mention of how healthy was <em>healthy</em> supposed to be or what did I mean when I said fit (was it me being able to run a marathon or sporting 6-pack abs).</p><p>Now while I do have some <em>broad themes</em> around which I would like to build my new year, I understand that my goals (I won’t call them <em>resolutions</em> anymore) need a certain degree of <em>brevity</em> associated to them in order to help me stay accountable and motivated throughout the year. It would help me track my progress — and hopefully keep me motivated as I go about achieving micro-victories in the larger scheme of things.</p><p>(DISCLAIMER : <em>The whole ‘brevity’ business is still a work in progress! I am yet to figure how I can be more specific with setting my goals.</em>)</p><p>Building on the momentum I gained from 2016, here are my plans for the upcoming year :</p><h4>Towards ‘experiential travel’</h4><p>If there was just <strong>one</strong> takeaway from my travel diaries in 2016, it was this</p><blockquote>“Travelling is not over-rated!”</blockquote><p>My weekend-getaways in 2016 made a lasting impression on my mind — and this year I decided to give myself an <em>upgrade</em>. As opposed to ‘escapes’, my travels in 2017 would be aimed towards ‘experiences’ — which means long-term stays (a couple of weeks or more) at places over shorter ones. Instead of constantly hopping from one place to the next, I would like to give myself enough time to be able to engage with local communities and hopefully immerse myself in their cultures and heritage. I’ll be exploring my opportunities around volunteering-based travelling (and hopefully be able to find a way to address my finances!)</p><p>I realize that the whole thing seems like a really long shot from where I am right now — but as <a href="https://www.goodreads.com/author/quotes/566.Paulo_Coelho">Paulo Coelho</a> very rightly puts it in <a href="https://www.goodreads.com/book/show/437151.The_Alchemist"><em>The Alchemist</em></a> :</p><blockquote>“It’s the possibility of having a dream come true that makes life interesting.”</blockquote><h4>Giving back to the ‘communities’</h4><p>2017 <strong>has<em> </em></strong><em>(I can’t emphasize it enough!)</em><strong><em> </em></strong>to be the year when I start generating <em>content</em> as opposed to just shamelessly consuming it.</p><p>As a self-learner, I rely very heavily on blogs, video-tutorials and podcasts for almost all my inspiration and learnings. And it is only because of the amazing communities that exist on the internet that I am able to go about my work as comfortably as I do.</p><p>“Can’t seem to understand how to make the code work?” — head over to Stackoverflow. “Need some design inspiration?” —browse through Dribbble. “Want to learn to code?” — let FreeCodeCamp help you out.</p><p>For almost <strong>everything</strong> that I want to learn or know — an online community for exists — a group of amazing people always standing by my side, helping me out with the most trivial of things.</p><blockquote>This year, I want to try and be one of those.</blockquote><p>Now, I don’t say I would start generating content which people would find value in, right away. But I am sure, as I go about creating it, gathering feedback and acting upon it, things should change. The idea really is to just start off and make things work out on the fly.</p><p>This calls for me to set some specific goals this year :</p><ol><li>Read atleast 12 <em>non-fiction</em> books — level up my knowledge.</li><li>Publish a total of atleast 52 articles on Medium or on my personal blog (when I have one) — and eventually start contributing to the communities I mentioned in a meaningful way.</li></ol><h4>Try going location independent</h4><p>I want to make 2017 the year I try going location independent (and hopefully make it!).</p><p>I am fascinated by this idea of not being tied to a particular place to make a living. The internet has brought about new opportunities and a shift in the way we look at ‘work’ in general. Stories of folks, who have shown that you can combine a career with the freedom of choosing where you work from on your own schedule, never fail to capture my imagination. A high-speed internet connection, a laptop and a determination to make it work are all you need.</p><p>I don’t know if it would work for me or not, but I’ll never know if I don’t give it a shot.</p><h4>Living with less</h4><p>Less is more <em>they</em> say. This year, in a bid to experience it for myself, I recently started with #<a href="https://www.instagram.com/p/BPRf7r3j1Mq/">theWhiteSpaceProject</a> (I wrote about it <a href="https://medium.com/@sanketchaudhari/towards-a-meaningful-life-465160693e85">here</a>) in a bid to move towards a meaningful — a more deliberate life (I’ll share experiences and learnings from the same in my future articles).</p><blockquote>“But you did not mention anything about taking care of your health?!”</blockquote><blockquote>Oh yes. That makes it to the list by default.</blockquote><h3>On a concluding note..</h3><p>2017 holds a lot of promise — if I put in the required effort and if everything goes right (My life gives a chuckle as I write this!).</p><p>Enough talk. Lets get to work and make ‘dreams’ happen!</p><blockquote>Wish me luck!</blockquote><p><em>If you liked the article, please don’t hesitate to press the ❤ and share some love! Also, following me — to read about my experiences as I go about trying to live my ‘dreams’ — wouldn’t hurt ;)</em></p><p><em>What do you think about the article? I’d be grateful if you could give me some feedback on how I could have made this piece better in the comments below!</em></p><p><em>Cheers!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91f895c4262d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Towards a ‘meaningful’ life.]]></title>
            <link>https://sanketchaudhari.medium.com/towards-a-meaningful-life-465160693e85?source=rss-be45f6eea3aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/465160693e85</guid>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[minimalism]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Sanket Chaudhari]]></dc:creator>
            <pubDate>Wed, 11 Jan 2017 15:11:19 GMT</pubDate>
            <atom:updated>2017-01-14T17:52:18.970Z</atom:updated>
            <content:encoded><![CDATA[<h4>Laying out a plan of action for my experiments in trying to live with less stuff and more purpose.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bf2rgiTmDFxFH2A06KYMSA.jpeg" /><figcaption>Image credits : Unsplash — <a href="http://twitter.com/benchaccounting">@benchaccounting</a></figcaption></figure><blockquote>“Less Is More”</blockquote><p>The philosophy has been making rounds in my head for quite some time now. A few years ago, while I was in college, I happened to stumble upon ‘The Minimalists’ blog and I got hooked to this whole idea of living with less stuff and having more time and energy to focus on things that really matter. But I missed an important point — taking action.</p><blockquote>“Inspiration is a spark. It is nothing unless we use it to build a fire.”</blockquote><blockquote><strong>- </strong><a href="https://twitter.com/vtugaleva"><strong>Vironika Tugaleva</strong></a></blockquote><p>Recently, I happened to watch ‘Minimalism : A Documentary About The Important Things’ by <a href="http://theminimalists.com/">The Minimalists</a> (I’d recommend everyone to watch it) and it all came back — all the excitement, the energy and I knew I had to give this way of life a try.</p><h3>The ‘Gameplan’</h3><p>Before all the excitement ceased, I had to chart out a plan of action. And that is exactly what I have come up with.</p><p><a href="https://twitter.com/joshuamillburn">Joshua Fields Millburn</a> and <a href="https://twitter.com/RyanNicodemus">Ryan Nicodemus</a> — the guys who run ‘The Minimalists’ blog, at the beginning of every month challenge their readers to what they call — ‘<a href="http://www.theminimalists.com/game/"><strong>The 30-Day Minimalism Game</strong></a>’. The rules of the game are ‘simple’ :</p><blockquote>Find a friend or family member: someone who’s willing to get rid of their excess stuff. This month, each of you must get rid of one thing on the first day. On the second, two things. Three items on the third. So forth, and so on. Anything can go! Clothes, furniture, electronics, tools, decorations, etc. Donate, sell, or trash. Whatever you do, each material possession must be out of your house — and out of your life — by midnight each day.</blockquote><p><em>Woah! I thought you said simple! </em>With those rules, there is no chance I’ll make it to the end — I know I’ll bail out within a couple of weeks. So, to ease myself into ‘my attempt at a new way of living’ and have a fair shot at completing the challenge, I have modified the rules to suit myself <em>(because hey! I can!).</em></p><p>In my version — starting tomorrow — it is going to be <strong>one item per day</strong> for the next 30 days. Instead of getting rid of the item ‘out of the house’ — I’ll be dumping it in a cardboard box, to be donated/sold at the end of the 30 days. I am not sure if I can find a friend or a family member to join me in this experiment at this point (though I’d really love to have company), so I won’t be worrying too much about that one.</p><blockquote>Get rid of one item per day for the next 30 days!</blockquote><p>Got it!</p><p>With the rules all set, I can’t wait to start — but wait! Why am I doing all this in the first place? That’s a good question to begin with. After all, without a solid ‘Why’ to fuel it, my experiment would end up in the trash in no time.</p><h3>My big why</h3><p>To be honest, I feel I’ve got way more stuff than I think I can live with. Unused clothes, random possessions lying around just gathering dust and taking up space— I want to see how my life changes when I am surrounded only by stuff that adds value to my life. More than that though, I really want to be friends with ‘letting go’.</p><p><a href="http://www.theminimalists.com/">The Minimalists</a> have sold me an idea — an idea that works for them — the philosophy that ‘Less Is More’ and I want to give it try. After all, what is life but one big experiment in time?</p><blockquote>“What is life but one big experiment in time?”</blockquote><p>I’ll take credit for that quote (yes, you guessed it right —<em> because hey! I can!</em>).</p><p>For now, I’ll keep it to my material possessions — because it is easy — later (or now, I don’t know), as I advance deeper into the philosophy, I’d want to expand its application to other aspects of my life.</p><p>Enough of this rambling now — its time for some action and I’ll keep you posted on how it goes.</p><p>Cheers!</p><p><em>Press the ❤ to share some love and let me know you back me on this one.</em></p><p><em>Inspired to join me on this venture? Let me know in the comments!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=465160693e85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I built my first HTML/CSS/JS project.]]></title>
            <link>https://sanketchaudhari.medium.com/how-i-built-my-first-html-css-js-project-95baaa9c7f2d?source=rss-be45f6eea3aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/95baaa9c7f2d</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[100daysofcode]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Sanket Chaudhari]]></dc:creator>
            <pubDate>Sat, 07 Jan 2017 19:26:53 GMT</pubDate>
            <atom:updated>2017-01-08T04:14:57.002Z</atom:updated>
            <content:encoded><![CDATA[<p>As a part of my <a href="https://medium.freecodecamp.com/start-2017-with-the-100daysofcode-improved-and-updated-18ce604b237b"><em>#100DaysOfCode</em> challenge</a>, I completed my Random Quote Machine challenge on <a href="https://www.freecodecamp.com/">Freecodecamp</a> today. It is the first time in my life that I have used these three technologies — HTML/CSS/JS together and have made them work. And it feels great. It inspired me to share how I went about the project and hopefully get some constructive feedback.</p><h3>The Design</h3><p>I am a UI Designer by profession — so the first thing I had in my mind when I took up this project was that my ‘quote machine’ should look good (if not great!). I fired up <a href="https://www.sketchapp.com/">Sketch</a> — and after hours of iterations — zeroed in on a design that I thought was minimal and clean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oi_j4-SlsrmOBKfYq1df8A.png" /><figcaption>Sanket’s Random Quote Machine</figcaption></figure><h3>The ‘Algorithm’</h3><p>Once the design was finalized, I moved on to figuring out an algorithm to make it work. This being a simple project — that wasn’t much of a task. All that was required by Freecodecamp for this project to be acceptable was that I had to satisfy a few user stories they had come up with. In this case the stories went :</p><ol><li><em>I</em><strong><em> </em></strong><em>can click a button to show me a new random quote.</em></li><li><em>I can press a button to tweet out a quote.</em></li></ol><p>Fairly simple and straightforward.</p><p>So the algorithms to satisfy these stories went something like these :</p><p><strong><em>User Story 1 -</em></strong></p><ol><li>The user clicks on a ‘random quote’ button</li><li>An API call is made. In my case I used an API from <a href="http://quotesondesign.com/">http://quotesondesign.com/</a>.</li><li>The call returns a JSON object which contains the required quote and author name.</li><li>Fetch the required elements from the JSON object and display them on the page.</li></ol><p><strong><em>User Story 2 -</em></strong></p><ol><li>The user clicks on ‘share on twitter’ button</li><li>Fetch the quote and author name from the DOM</li><li>Attach them to the end of a Tweet Intent URL (<a href="https://twitter.com/intent/tweet?text=">https://twitter.com/intent/tweet?text=</a>) and make a call to Twitter API.</li><li>Post the tweet. Done!</li></ol><h3><strong>The Code</strong></h3><p>Now was the time to actually go ahead and build something. <em>Making it work.</em></p><p>I have some (but not much) experience in HTML/CSS but have never been able to get my head around JS. Learning JS is fun and amazing with all the DIY tutorials — but when it comes to implementing some custom code, my mind always goes blank. This had to change. I decided to take it nice and slow. Also, this project being pretty straightforward helped.</p><p>In addition to this — I had to make sure my page looked exactly as I had envisioned it in my design — else this project was going to be a failure (personally). Here’s the thing — as a designer I feel really bad when I design some nice stuff and the developer messes it up. This was one reason I took up coding — to be able to implement what I design, the way I design it.</p><p>So, about 6 hours of coding, two cups of coffee and a few hundred tabs of stack-overflow opened parallely on my Chrome bar later, I came up with a basic implementation on Codepen.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fsanket-chaudhari%2Fembed%2Fpreview%2FQdwXjm%3Fheight%3D600%26amp%3Bslug-hash%3DQdwXjm%26amp%3Bdefault-tabs%3Dcss%2Cresult%26amp%3Bhost%3Dhttp%253A%252F%252Fcodepen.io%26amp%3Bembed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2Fsanket-chaudhari%2Ffull%2FQdwXjm%2F&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F674981.QdwXjm.small.c947dbbd-1dfb-45a5-a323-3f4eda11e889.png&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/3bda6770e15bb2de290f029b1620e4bb/href">https://medium.com/media/3bda6770e15bb2de290f029b1620e4bb/href</a></iframe><p>On the way, I also got help from the awesome community at Freecodecamp when I was stuck with some browser related issues (subject for an another post).</p><p>Now, this code isn’t perfect. But it works. And that’s fine for now. On a personal front — my ability to handle HTML/CSS/JS together and to be able to implement what I designed is what I consider a victory!</p><h3>The road ahead</h3><p>What I saw as an easy and straightforward project to start with, opened my eyes to countless gaps in my knowledge of the three technologies. There were a lot of things I was happy that I knew and could implement without a thought, but at the same time I realised there were more that I did not know about (or atleast I thought I knew).</p><p>The project, though finished (as per Freecodecamp requirements) is still pretty unpolished (in my head). A few areas in the implementation where I can improve upon — and I shall do it as and when I learn about them — would be :</p><ul><li><strong>Semantic HTML Code</strong></li></ul><p>The HTML code needs to make sense. Right now, even though it works just fine, it would hardly make any sense for some one else who would look at it for the first time. The HTML structure can use some improvisation. Also, the classes are vaguely named.</p><ul><li><strong>Refactor the CSS</strong></li></ul><p>If you go through the CSS, you’d notice a lot of code duplication — that needs to change. Also, I personally am a Sass fan — even if I don’t know much about it, it just makes the code more efficient is what I feel. Hence, ‘<em>Sassifying’</em> the CSS code is on my to-do list.</p><p>Also, right now, there are too many CSS properties that are hard-coded — and hence the design ‘breaks’ when the browser window is scaled below a certain threshold. For me to make this page Responsive (which again is on my to-do) I’ll need to learn get rid of those hard-coded values and replace them with relative ones.</p><ul><li><strong>CSS Animations</strong></li></ul><p>The page right now just goes about doing what it is supposed to do — in a very blank way. It could use some <em>life</em>. I think animations (if done correctly) are a great way to enhance the experience of a web page — and with CSS animations it is not a tedious task anymore.</p><ul><li><strong>The other stuff</strong></li></ul><p>Apart from these, I have some ideas about some other general stuff like — loaders, color transitions, tags and filters to make my Random Quote Machine a delight to use.</p><p>All in all, it was a great experience being finally able to implement a simple working project. My confidence has got some much needed boost and I am more inspired than ever to build more stuff (my head is full of ideas already!).</p><p>I’d appreciate it if you could take some time and give me feedback on my code/design in the comments — what you think of it and how I can make it better.</p><p>Cheers!</p><p><em>PS : Take up the </em><strong><em>#100DaysOfCode</em></strong><em> challenge! You can read about it here : </em><a href="https://medium.freecodecamp.com/start-2017-with-the-100daysofcode-improved-and-updated-18ce604b237b#.ezhyumt3q"><em>https://medium.freecodecamp.com/start-2017-with-the-100daysofcode-improved-and-updated-18ce604b237b</em></a></p><p><em>Join in folks! :)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95baaa9c7f2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>