<?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 CodeMyJourney on Medium]]></title>
        <description><![CDATA[Stories by CodeMyJourney on Medium]]></description>
        <link>https://medium.com/@codemyjourney?source=rss-5a6a67c972e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AAAj9-KUBNgaBsCiPHoU9Q.jpeg</url>
            <title>Stories by CodeMyJourney on Medium</title>
            <link>https://medium.com/@codemyjourney?source=rss-5a6a67c972e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 17:16:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@codemyjourney/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[Why do you need to learn to code?]]></title>
            <link>https://medium.com/@codemyjourney/why-do-you-need-to-learn-to-code-c2d62bd140a0?source=rss-5a6a67c972e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2d62bd140a0</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[computer-science-student]]></category>
            <category><![CDATA[why-programming]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[CodeMyJourney]]></dc:creator>
            <pubDate>Wed, 08 Sep 2021 19:52:46 GMT</pubDate>
            <atom:updated>2021-09-08T19:52:46.001Z</atom:updated>
            <content:encoded><![CDATA[<p>Coding is such a valuable skill because its impact extends far beyond simply creating software and websites. We all have different backgrounds and that makes us unique and full of great ideas on how to make a world a better place.</p><p>For example, once a group of software engineers in Boston during a snowstorm realized they could use coding to make the city safe. They discovered a problem that firefighters were wasting time trying to find fire hydrants buried in the snow. The software engineers then created a program that identified the location of every fire hydrant in the city. Then they <a href="http://www.motherjones.com/media/2014/06/computer-science-programming-code-diversity-sexism-education">created a website called Adopt-a-Hydrant</a>. Now, on the website, residents of Boston can volunteer to shovel out a nearby hydrant when it snows, improving the neighborhood’s safety in the event of a fire.</p><p>Isn’t it exciting enough?</p><h3>You should be a math genius…</h3><p>I guess, the biggest misconception around coding is that you need to be a math genius. There are many areas where math skills are not required. You’ll usually do just fine with basic algebra unless you work on special projects which require sophisticated algorithms and advanced math. Instead, it would be really important for every programmer to have good problem-solving skills, logic, and a lot of patience.</p><h3>Do you think your computer is smart?</h3><p>The computer cannot do anything without instructions. It isn’t smart but can execute instructions carefully, very fast, and without getting bored. For instance: given the task of adding up all numbers from 1 to 1 million, a human probably wouldn’t make it past 100 without making some mistake and getting bored with it. A computer happily performs this task in a couple of milliseconds. So, coding is a way to give detailed instructions to the computer, telling it what to do.</p><figure><img alt="old computers" src="https://cdn-images-1.medium.com/max/1024/0*2uPKyjNxGNhhaoFR" /><figcaption>Photo by <a href="https://unsplash.com/@wizzyfx?utm_source=medium&amp;utm_medium=referral">Ugi K.</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>What’s next?</h3><p>Programming is a new skill for most people and our brain needs time to comprehend new information. But if you’re determined to learn, there is no better time than now. Don’t let your doubts stop you from achieving your dreams. Consistency is extremely important when you start learning new things. Try to practice for 30 minutes a day, and the progress will not wait long. You can start with something small, but have a bigger idea of where you want to get. Think about how you are going to build your dream project and what features you’ll have.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2d62bd140a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Build a Simple and Interactive Bar Chart With React.js and CSS-in-JS]]></title>
            <link>https://medium.com/swlh/how-to-build-a-simple-and-interactive-bar-chart-with-react-js-and-css-in-js-6d48f0924d25?source=rss-5a6a67c972e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d48f0924d25</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[css-in-js]]></category>
            <category><![CDATA[styled-components]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[CodeMyJourney]]></dc:creator>
            <pubDate>Thu, 12 Nov 2020 21:38:05 GMT</pubDate>
            <atom:updated>2020-11-14T06:12:46.703Z</atom:updated>
            <content:encoded><![CDATA[<p>I used this bar chart for one of my projects where I had to create a chart preview on the main page. This tutorial is more about what you can do with styled-components rather than math calculations and algorithms.</p><p>Let’s have a look at what we are about to create and then move to the coding part. For this project I am going to use React.js and styled-components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GQMzvqTLIihdLX2VZ3e68Q.png" /><figcaption>Dynamic Bar Chart with React.js and CSS in JS</figcaption></figure><h4><strong>What our bar chart is about</strong></h4><p>The Chart consists of columns of a different height and different gradient colors.</p><p><em>Similarities:</em>The width of columns is the same and spacing is made of the distance left between them.<br>It’s easy to achieve dynamic spacing using a css property <a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">“flexbox”</a>(justify-content: space-between) and the same width using a constant value.</p><p><em>Differences:</em><br>Each column has a different height and the number representing the distance.<br>Each number should correspond to the height of the column and its color to the gradient.</p><h4><strong>1. Creating Chart Data</strong></h4><p>Let’s create an array of data with sample values we are going to display in a chart. Normally, you would load this data from elsewhere. For the sake of our example, static data will suffice.</p><pre>const __DATA__ = [<br>  { distance: 13, colors: [&quot;#ffd847&quot;, &quot;#e0a106&quot;] },<br>  { distance: 20, colors: [&quot;#ff47ab&quot;, &quot;#e0064e&quot;] },<br>  { distance: 16, colors: [&quot;#add9c0&quot;, &quot;#1da890&quot;] },<br>  { distance: 30, colors: [&quot;#cbd9ad&quot;, &quot;#7ca81d&quot;] },<br>  { distance: 22, colors: [&quot;#d9c1ad&quot;, &quot;#714511&quot;] },<br>];</pre><p>The data array contains objects with key-value pairs of distance and colors.<br>Because we’re using a gradient to make the chart look nicer, we have two colors in the colors array, where the first color is lighter and the second one is darker.</p><h4>2. C<strong>reate a CSS-in-JS component for a bar chart</strong></h4><p>First, let’s create a Chart component for the values we make constant for each bar, such as width.</p><pre>export const Chart = css`<br>  margin-top: 10px;<br>  width: 56px;<br>  &amp;:hover {<br>    opacity: 0.8;<br>  }<br>  <a href="http://twitter.com/media">@media</a> (max-width: 420px) {<br>    width: 34px;<br>  }<br>`;</pre><h4>3. Use the Chart component inside our dynamically generated component MakeBar</h4><pre>export const MakeBar = styled.div`<br>  height: ${(props) =&gt; props.height}%;<br>  background-image: linear-gradient(<br>    to bottom,<br>    ${(props) =&gt; props.colors[0]},<br>    ${(props) =&gt; props.colors[1]}<br>  );<br>  ${Chart};<br>`;</pre><p>It takes height and color as props. Height is used to determine the height of the bar, and color is an array with lighter and darker colors to calculate css linear gradient.</p><p>We’re almost done with styled-components, following the same pattern we should make a component for the number preview.</p><h4>4. Create a Number preview component</h4><pre>export const Number = styled.span`<br>  font-size: 1.5rem;<br>  text-align: center;<br>  color: ${(props) =&gt; props.color};<br>`;</pre><p>This component takes a color parameter and returns a colored span.</p><p>Finally we piece everything together and render our chart.</p><pre>&lt;MainContainer&gt;<br>  {__DATA__.map(({ distance, colors }, i) =&gt; {<br>    return (<br>      &lt;BarChartContainer key={i}&gt;<br>        &lt;Number color={colors[1]}&gt;{distance} km&lt;/Number&gt;<br>        &lt;MakeBar height={distance * 2} colors={colors} /&gt;<br>      &lt;/BarChartContainer&gt;<br>    );<br>  })}<br>&lt;/MainContainer&gt;;</pre><p>This is the final result of the Dynamically Rendered Bar Chart. If you want to achieve even a more dynamic chart, you can add some math to it. For instance, you can calculate the maximum distance value presented in the data array and then calculate each column height based on the maximum value.</p><p>Here is a CodeSandbox with chart we’ve just built.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodesandbox.io%2Fembed%2Fcool-waterfall-b9xi9%3Fautoresize%3D1%26fontsize%3D14%26hidenavigation%3D1%26theme%3Ddark&amp;display_name=CodeSandbox&amp;url=https%3A%2F%2Fcodesandbox.io%2Fs%2Fcool-waterfall-b9xi9%3Fautoresize%3D1%26fontsize%3D14%26hidenavigation%3D1%26theme%3Ddark&amp;image=https%3A%2F%2Fcodesandbox.io%2Fapi%2Fv1%2Fsandboxes%2Fb9xi9%2Fscreenshot.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codesandbox" width="1000" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5160f668aa51e3fd2d5b66bf805375f/href">https://medium.com/media/f5160f668aa51e3fd2d5b66bf805375f/href</a></iframe><p>Thank you for taking your time reading the post. I really hope you learned something new and liked the project.</p><p><strong>Let’s Get in Touch:</strong></p><p><em>Instagram:</em> <a href="https://www.instagram.com/codemyjourney/">@codemyjourney</a></p><p><em>GitHub</em>: <a href="https://github.com/codemyjourney">@codemyjourney</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d48f0924d25" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/how-to-build-a-simple-and-interactive-bar-chart-with-react-js-and-css-in-js-6d48f0924d25">How to Build a Simple and Interactive Bar Chart With React.js and CSS-in-JS</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why There Should be More Women in Tech?]]></title>
            <link>https://medium.com/@codemyjourney/why-there-should-be-more-women-in-tech-914c9b06ac9b?source=rss-5a6a67c972e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/914c9b06ac9b</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[sharing-stories]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[CodeMyJourney]]></dc:creator>
            <pubDate>Tue, 29 Sep 2020 14:40:08 GMT</pubDate>
            <atom:updated>2020-10-02T15:44:53.235Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="somebody is typing on the laptop" src="https://cdn-images-1.medium.com/max/1024/0*EvfAiceJDDAYgLs3" /><figcaption>Photo by <a href="https://unsplash.com/@wocintechchat?utm_source=medium&amp;utm_medium=referral">Christina @ wocintechchat.com</a></figcaption></figure><p>Not a long time ago, I created a sort of interrogation on my Instagram page, where I encouraged everyone to speak up. Men and women were reaching out with their great ideas on why we should make this significant change. After all, I was not surprised by consciousness, but involvement, interest and support I have received.</p><p>I am not going to make a tedious introduction, assuming, that people who are reading this blog post are familiar with the gender gap in the Tech World.</p><p>I would like to quote several of the fantastic people sharing their ideas about why there should be more Women in Tech!</p><blockquote><strong>@</strong><a href="https://www.instagram.com/theitgirlgram/"><strong>theitgirlgram</strong></a><strong> </strong>“Women should be in Tech because working with technology requires so much from you. For example, being a creative problem solver, communicating complex topics in simple forms, negotiating and influencing people, encouraging teammates and bringing people together, and a genuine curiosity and love for how technology can make the world a better place. All of those things are things that women already excel at! All women can be #ITGirls!”</blockquote><blockquote><strong>@</strong><a href="https://www.instagram.com/wolf.coding/"><strong>coding_mirza</strong></a><strong> </strong>“More women should be in Tech because the industry has a lot to offer them many opportunities. I have seen women have great problem-solving skills which men tend to have. Second, the tech industry is evolving and requires more workforce if we estimate by 2030 more than 4 million programmers will be required by the industry in the world. Not all men are ready to come to the industry, so it’s a great opportunity for women to excel in this field and they can easily work remotely as well in the industry.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01xgHBbAcauPk9jB4_mzsg.jpeg" /><figcaption>Photo by Author.</figcaption></figure><p><strong>@</strong><a href="https://www.instagram.com/gettingcomputey/"><strong>gettingcomputey</strong></a><strong> </strong>“Because nothing about code designates gender. Anybody can contribute looks to society, but it’s ideas that move the world. Women were the first pioneers of this industry, and for there to be any question about whether they belong in it is ridiculous.”</p><blockquote><strong>@</strong><a href="https://www.instagram.com/healthylivinalex/"><strong>healthylivinalex</strong></a><strong> </strong>More women should be interested in tech because it’s an awesome, diverse field! There’s a slew of<strong> </strong>different roles and angles to work in tech from. The jobs also provide flexibility, competitive salaries and potential opportunities to travel! Whether you’re creative and enjoy designing, data-focused and enjoy backend development or want to be part of the teams that create hardware we all use, there’s a place in tech for you.</blockquote><blockquote><strong>@</strong><a href="https://www.instagram.com/ashveenaankammah/"><strong>ashveenaankammah</strong></a><strong> “</strong>Women remain brazenly still under-represented, if not unrepresented in the corporate structure, especially in the C-suite network. Having more women integrating the Tech world now only levels the playing field, but also contributes towards normalizing the levitation of women in C-suite positions, since women are usually overlooked due to their lack of “technical and tech-savvy-ness.” If more women take a seat at the table the inclusion of our perspective will be considered, magnified and normalized — Hence created a healthier ecosystem for both men and women to co-exist in the Corporate world.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xh0afyiTizqB4RA6yPR93g.jpeg" /><figcaption>Photo by Author.</figcaption></figure><p><strong>@</strong><a href="https://www.instagram.com/dashadobszai/"><strong>dashadobszai</strong></a><strong> </strong>“Because that’s the present and the future. This kind of job for those who want to travel the world or have a family, work from home or the island. IT gives freedom, constant growth and it’s well paid.”</p><blockquote><strong>@</strong><a href="https://www.instagram.com/im_skeptic/"><strong>im_skeptic</strong></a><strong> </strong>“Well, what I think is “There is no such field like women related field or men related field should exist in future because these things making a stereotypical work culture”. Women are capable of doing tech and others but after seeing gender-related fields they stop actively participating in it. Also, if this happens equality start to prevail.”</blockquote><blockquote><strong>@</strong><a href="https://www.instagram.com/shadencodes/"><strong>shadencodes</strong></a><strong> </strong>“Women are smart, organized and creative. They can be ideal leaders!”</blockquote><blockquote><strong>@</strong><a href="https://www.instagram.com/programmaticallybrunette/"><strong>programmaticallybrunette</strong></a><strong> </strong>“The world is changing, we are in a technological revolution. Every industry is transforming to include tech into it → ad-tech, fin-tech, med-tech, etc. So getting into tech is a smart move. Also, I love several aspects of programming — how it combines logic + creativity, and being able to turn a concept into a reality and put it out into the world for others to use.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yZxBQKDCVxtPtFHU" /><figcaption>Photo by <a href="https://unsplash.com/@photoshobby?utm_source=medium&amp;utm_medium=referral">Photos Hobby</a></figcaption></figure><blockquote><strong>@</strong><a href="https://www.instagram.com/codeinparadise/"><strong>codeinparadise</strong></a><strong> </strong>“We need to destroy the stigma that tech is only for nerds who started coding in their childhood. I feel that many women are not even aware of the opportunities the tech field offers because they already think it’s not for them without even trying .”</blockquote><blockquote><strong>@</strong><a href="https://www.instagram.com/itsm.lady_old/"><strong>itsm.lady_old</strong></a><strong> </strong>“Tech is an incredible adventure in a world of possibilities and technology. Here every day is a discovery and a new invention. There are many smart people and interesting acquaintances. The IT field is so diverse that it offers many choices and development options. It is prestigious to work in IT sphere. It is a fairy tale. It is a pleasure to read it every day.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gTUcHtrSVbDD_FJj" /><figcaption>Photo by <a href="https://unsplash.com/@amyhirschi?utm_source=medium&amp;utm_medium=referral">Amy Hirschi</a></figcaption></figure><blockquote><strong>@</strong><a href="https://www.instagram.com/mytechxperience/"><strong>mytechxperience</strong></a><strong> </strong>“Women are capable of the same things or even more things than men! We have many qualities to be great at tech fields! We are excellent leaders, we are passionate, disciplined and we like to work hard to get things done! All of these qualities fit great in tech jobs!”</blockquote><blockquote><strong>@</strong><a href="https://www.instagram.com/kennethreynolds78/"><strong>kennethreynolds78</strong></a><strong> </strong>Tech affects all of us so, we desperately need a woman’s perspective when planning, designing and developing products and apps in order to not be skewed or exclusionary.</blockquote><blockquote><strong>@</strong><a href="https://www.instagram.com/deniorlik_codes/"><strong>deniorlik_codes</strong></a><strong> </strong>“I switched careers to tech because it simply suits me. My childhood dream wasn’t to be like Britney. I wanted to be Trinity from Matrix. I worked as an office assistant before, and I am sick of being pleasant to look at and to communicate with, and I am sick of making coffee to men. I am so much more. I just have been afraid for almost 30 years to be what I am. And many women are. Many women have brilliant brains that can make this world a better place, yet they are often stuck basic jobs. That needs to change. Humankind is wasting so much potential with the way things are now.”</blockquote><h4>Thank you for taking the time to read those inspiring opinions!</h4><p>Let’s Get in Touch! Follow me on:</p><p><strong>&gt;Instagram:</strong> @<a href="https://www.instagram.com/codemyjourney/">codemyjourney</a>.</p><p><strong>&gt;GitHub:</strong> <a href="https://github.com/codemyjourney">codemyjourney</a></p><p><strong>&gt;Linkedin:</strong> <a href="https://www.linkedin.com/in/stacy-developer/">Stacy K.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=914c9b06ac9b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>