<?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 Harsh Arora on Medium]]></title>
        <description><![CDATA[Stories by Harsh Arora on Medium]]></description>
        <link>https://medium.com/@harsh.arora?source=rss-baf3d4e0326------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fsUHwq-YS7lBVwE2cZPCQQ.jpeg</url>
            <title>Stories by Harsh Arora on Medium</title>
            <link>https://medium.com/@harsh.arora?source=rss-baf3d4e0326------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:49:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harsh.arora/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 reverse a string in JavaScript?]]></title>
            <link>https://medium.com/@harsh.arora/how-do-i-reverse-i-string-in-javascript-949ca60ea1b3?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/949ca60ea1b3</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[emoji]]></category>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[es6]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Sat, 17 Feb 2018 08:39:26 GMT</pubDate>
            <atom:updated>2018-08-22T10:21:09.207Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1b441ee27a3cc33b8f3f58aa112e5e5b/href">https://medium.com/media/1b441ee27a3cc33b8f3f58aa112e5e5b/href</a></iframe><p>With the above code everything was working fine and I was happy in my world.</p><p>Then entered emojis and everything was fucked.</p><p>Let’s try with this</p><p>a = “😁 😂 🤣 😃 😄 😅 😆 😉 😊 😋 😎 😍 😘 😗&quot;</p><p>reverse(a) = “�� �� �� �� �� �� �� �� �� �� �� �� �� ��”</p><p>Sweet, isn’t it?</p><p>So, I stumbled upon this <a href="https://hackernoon.com/how-i-made-a-talking-emoji-using-regular-emojis-and-javascript-fe20e62ba10">https://hackernoon.com/how-i-made-a-talking-emoji-using-regular-emojis-and-javascript-fe20e62ba10</a> and figured out a way.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6492026fc50d222171406cbf842f6fa6/href">https://medium.com/media/6492026fc50d222171406cbf842f6fa6/href</a></iframe><p>And I guess my life’s kinda sorted now.</p><p>Do let me know what you think of this approach.</p><p><strong>Edit: No, it’s not sorted with emojis such as “</strong>👨‍👩‍👧‍👦”. <br>Wait for an update.</p><p>— Update</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9ca769c0851acc054ba54b2be602163b/href">https://medium.com/media/9ca769c0851acc054ba54b2be602163b/href</a></iframe><p>Do let me know if this is breaking anywhere.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=949ca60ea1b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I got my first side project in React up and running?]]></title>
            <link>https://medium.com/@harsh.arora/how-i-got-my-first-side-project-in-react-up-and-running-296825c99fbd?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/296825c99fbd</guid>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[new-year]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-hosting]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Sun, 31 Dec 2017 10:31:47 GMT</pubDate>
            <atom:updated>2017-12-31T10:31:47.532Z</atom:updated>
            <content:encoded><![CDATA[<h3>Idea</h3><p>Before anything, <a href="http://easygreet.co/ny/Harsh-Arora">heres the link to my project</a>. I just wanted to create a tool for people to wish anyone for any upcoming festival. I wanted to do this for <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwijj_atgLTYAhXMOo8KHblkCsAQFggnMAA&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FDiwali&amp;usg=AOvVaw18gRTIVc9v6lWmfFlZ6-X2">Diwali</a> but thanks to <a href="https://waitbutwhy.com/2013/10/why-procrastinators-procrastinate.html">procrastination</a> I was to complete it just in time for New Years.</p><h3>Start</h3><p>I created my first react project in 2016 and it was one of the <a href="https://www.andrewhfarmer.com/starter-project/">boilerplate that I used</a> . A lot has changed since then and the tool that come in handy is <a href="https://github.com/facebookincubator/create-react-app"><em>create-react-app</em></a><em>.</em></p><h3>Routing</h3><p>For routing, I used <a href="https://reacttraining.com/react-router/web">React Router</a>.</p><pre>npm install --save react-router-dom</pre><p>After installing, my App.js file looked something like this:</p><pre>import React, { Component } from &#39;react&#39;;</pre><pre>import { BrowserRouter as Router,</pre><pre>Link,</pre><pre>Switch,</pre><pre>Route } from &#39;react-router-dom&#39;;</pre><pre>import NewYear from &#39;./containers/NewYear&#39;;</pre><pre>import NotFound from &#39;./containers/404&#39;;</pre><pre>class App extends Component {</pre><pre>render() {</pre><pre>  return (</pre><pre>    &lt;Router&gt;</pre><pre>      &lt;div&gt;</pre><pre>        &lt;Switch&gt;</pre><pre>          &lt;Route exact={true} path={`/`} component={NewYear}/&gt;</pre><pre>          &lt;Route path={`/ny/:from?`} component={NewYear}/&gt;</pre><pre>          &lt;Route component={NotFound} /&gt;</pre><pre>        &lt;/Switch&gt;</pre><pre>      &lt;/div&gt;</pre><pre>    &lt;/Router&gt;<br>   );<br> }<br>}</pre><pre>export default App;</pre><p>Things to notice:</p><ul><li>Adding ? makes the parameter optional just like here:</li></ul><pre>&lt;Route path={`/ny/:from?`} component={NewYear}/&gt;</pre><ul><li>Add exact={true} when you want url to be an exact match</li><li>For 404 pages, make a file like I did and just add it like this.</li></ul><pre>&lt;Route component={NotFound} /&gt;</pre><h3>Styling</h3><p>Since I was comfortable with working with sass I wanted to use it. For that I used <a href="https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc">npm-sass-chokidar</a>. It’s very well explained in the link and I followed all the steps mentioned.</p><h3>Hosting</h3><p>After googling for a bit, initially I chose to go with <a href="https://www.digitalocean.com/">DigitalOcean</a>. It was a different world altogether with droplets and all. I was looking for a something that will be easy and quick. I dropped the idea of using DO (though it was good) and went ahead with <strong>Surge</strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FiZp1ycGmDJ3BS%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fhail-gif-iZp1ycGmDJ3BS&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FiZp1ycGmDJ3BS%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="250" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2777e1f7b3958390b5ddada68751574/href">https://medium.com/media/f2777e1f7b3958390b5ddada68751574/href</a></iframe><p>It was just an easy tool for me to get my project up and running.</p><p>Installation was very simple —</p><pre>npm install --global surge<br>surge</pre><p>After the account was created, here’s how I went ahead with publishing</p><pre>npm run build<br>mv build/index.html build/200.html<br>surge</pre><p>Make sure your path is of build folder and you’re live.</p><p>Though its a very simple project, but it took me 5 months of procrastination to complete it.</p><p>Few links just in case I wasn’t clear:</p><ol><li>For a quick <a href="https://github.com/facebookincubator/create-react-app">react project</a></li><li>For adding support to sass <a href="https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc">here’s the link</a></li><li>For adding <a href="https://reacttraining.com/react-router/web/guides/philosophy">routes</a></li><li>For <a href="https://surge.sh/">publishing/hosting</a></li></ol><h3>These two articles helped me a lot 👇👇👇</h3><p><a href="https://medium.com/@Connorelsea/using-sass-with-create-react-app-7125d6913760">https://medium.com/@Connorelsea/using-sass-with-create-react-app-7125d6913760</a></p><p><a href="https://medium.freecodecamp.org/surge-vs-github-pages-deploying-a-create-react-app-project-c0ecbf317089">Surge VS GitHub Pages: How to deploy a create-react-app project</a></p><h3>Wishing you all a <a href="http://easygreet.co/">Happy New Year</a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=296825c99fbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This is how I will become a millionaire and so can you — Part 1]]></title>
            <link>https://medium.com/@harsh.arora/this-is-how-i-became-a-millionaire-and-so-can-you-part-1-532ab3edf4f1?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/532ab3edf4f1</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[millennials]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[ideas]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Mon, 25 Sep 2017 12:43:18 GMT</pubDate>
            <atom:updated>2017-09-25T12:43:44.634Z</atom:updated>
            <content:encoded><![CDATA[<p>Well, now that I have your attention, go work hard and make sure you don’t procrastinate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=532ab3edf4f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thought of the day
Chat Bots are nothing but automatic answering machine and/or Interactive voice…]]></title>
            <link>https://medium.com/@harsh.arora/thought-of-the-day-chat-bots-are-nothing-but-automatic-answering-machine-and-or-interactive-voice-a6753f47ee34?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6753f47ee34</guid>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Tue, 31 Jan 2017 10:51:54 GMT</pubDate>
            <atom:updated>2017-01-31T10:51:54.678Z</atom:updated>
            <content:encoded><![CDATA[<p>Thought of the day<br>Chat Bots are nothing but automatic answering machine and/or Interactive voice response.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6753f47ee34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why do we love?]]></title>
            <link>https://medium.com/@harsh.arora/why-do-we-love-e10603a589f1?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/e10603a589f1</guid>
            <category><![CDATA[love]]></category>
            <category><![CDATA[stories]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Tue, 03 May 2016 18:58:03 GMT</pubDate>
            <atom:updated>2016-05-03T18:58:03.624Z</atom:updated>
            <content:encoded><![CDATA[<p>I just wanna share this short story.</p><p>Person A meets person B.</p><p>A was a carefree person whereas B cared a lot in general.</p><p>A fell for B.</p><p>A wasn’t B types.</p><p>A’s fucked!</p><p>I am A.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e10603a589f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I am here.]]></title>
            <link>https://medium.com/@harsh.arora/i-am-here-bb7ede80c54d?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb7ede80c54d</guid>
            <category><![CDATA[thoughts]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Fri, 15 Apr 2016 19:11:05 GMT</pubDate>
            <atom:updated>2016-04-15T19:11:05.508Z</atom:updated>
            <content:encoded><![CDATA[<p>I am here.</p><p>I am for you.</p><p>I am because of you.</p><p>I don’t need anyone else.</p><p>I just need you.</p><p>This is for you <em>Life</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb7ede80c54d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why should I follow Material Design?]]></title>
            <link>https://medium.com/@harsh.arora/why-should-i-follow-material-design-28181b53acb2?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/28181b53acb2</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[material-design]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Sat, 02 Jan 2016 11:33:01 GMT</pubDate>
            <atom:updated>2016-01-02T11:33:01.728Z</atom:updated>
            <content:encoded><![CDATA[<p>Lately, I have come across with everyone’s obsession with material theme/design. I just don’t understand why should I follow it? When did creativity had a set pattern?</p><p>Can anyone please explain it to me?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28181b53acb2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why is everyone following a pattern?]]></title>
            <link>https://medium.com/@harsh.arora/why-is-everyone-following-a-pattern-349ca7926233?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/349ca7926233</guid>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Thu, 19 Nov 2015 19:34:46 GMT</pubDate>
            <atom:updated>2015-11-19T19:39:40.596Z</atom:updated>
            <content:encoded><![CDATA[<p>I just don’t understand why is everyone following a pattern? Wherever I look, I see patterns. Do people fear trying new things or there aren’t any left?</p><p>I was just browsing through various startups, and everyone of them was following almost similar pattern:</p><ul><li>SEO ✔</li><li>BACKLINKS ✔</li><li>MATERIAL WEBSITE DESIGN ✔</li><li>HYBRID APP ✔</li><li>MEETINGS/TIE-UP WITH OTHER STARTUPS ✔</li><li>DISCOUNTS ✔</li><li>GOOGLE ANALYTICS ✔</li><li>FACEBOOK PAGE + TWITTER HANDLE + INSTAGRAM PROFILE + TUMBLR + GOD-KNOWS-WHAT ✔</li><li>GOOGLE ADS + FACEBOOKS ADS ✔</li><li>FONT AWESOME ICONS ✔</li></ul><p>Are we too afraid to try new things? Why do we have to follow a pattern?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=349ca7926233" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What do I want from my life and when?]]></title>
            <link>https://medium.com/@harsh.arora/what-do-i-want-from-my-life-and-when-8e9746839493?source=rss-baf3d4e0326------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e9746839493</guid>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[aim]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Harsh Arora]]></dc:creator>
            <pubDate>Sat, 14 Nov 2015 16:45:32 GMT</pubDate>
            <atom:updated>2015-11-14T16:45:32.008Z</atom:updated>
            <content:encoded><![CDATA[<p>What do I want from my life and when?</p><p>Whatever I wish for and now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e9746839493" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>