<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Marizoo</title>
    <description>The latest articles on Forem by Marizoo (@marizoo).</description>
    <link>https://forem.com/marizoo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F709524%2Fc12b8d00-471f-44a6-bd97-c80365f58af3.gif</url>
      <title>Forem: Marizoo</title>
      <link>https://forem.com/marizoo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/marizoo"/>
    <language>en</language>
    <item>
      <title>Just keep coding.. just keep coding..</title>
      <dc:creator>Marizoo</dc:creator>
      <pubDate>Tue, 08 Mar 2022 18:00:54 +0000</pubDate>
      <link>https://forem.com/marizoo/just-keep-coding-just-keep-coding-2fj1</link>
      <guid>https://forem.com/marizoo/just-keep-coding-just-keep-coding-2fj1</guid>
      <description>&lt;p&gt;I am motivated to share my learning journey, to support this initiative.&lt;br&gt;
Here goes something... (hope this helps).&lt;/p&gt;

&lt;p&gt;Right before Covid started (around 9th November 2019) I joined this start-up weekend workshop for Women in Bali - Indonesia. &lt;/p&gt;

&lt;p&gt;It was a great workshop where they'd teach you how to start a "start-up". &lt;/p&gt;

&lt;p&gt;Some of the topics and activities includes pitching start-up ideas, then we'd work as a group to figure out the business aspect of our start up using the "Business Model Canvas" chart. &lt;/p&gt;

&lt;p&gt;We had to do market &amp;amp; user research, then made samples of the UI/UX for the app. And finally, we had to pitch this start-up business to the "investors" : a panel of judges, who were successful women involved in business / start-up mainly in Bali. These amazing women had also kindly mentored us through out the process. What an uplifting experience.&lt;/p&gt;

&lt;p&gt;For me, it was a great introduction into the start-up world, I have learned so much from it. Shout out to the organizers for such a great workshop, and for focusing on supporting women as well. &lt;br&gt;
To my surprise, my group won the 1st prize. I was quite excited for the souvenirs we'd won.. (That usb charger.. i liked it!)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F48kgu6rr85uvtckjqs96.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F48kgu6rr85uvtckjqs96.jpg" alt="Start up weekend group" width="800" height="808"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Anyways, my curiosity steered more towards the development of the UI/UX. So that was the rabbit hole that I chose. &lt;/p&gt;

&lt;p&gt;During covid lockdown in mid 2021, I then officially started my web development "self-learning journey". (Though I much prefer the term "community-taught")&lt;/p&gt;

&lt;p&gt;Fast forward to today, I have tracked my learning hours (which is highly satisfying, I highly recommend you do this) to a total of 1,133 hours.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcs7lvm3rpisk52cbrsku.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcs7lvm3rpisk52cbrsku.png" alt="total 2021 hours" width="800" height="309"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ynrbyd1djqxhxq1ru2y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ynrbyd1djqxhxq1ru2y.png" alt="total 2022 hours" width="800" height="327"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Due to my "ridiculous" chase of perfection, I haven't finished my portfolio. Instead, I just kept on doing projects. Part of the reason is also my fear of rejection and imposter syndrome. Which I found out is totally normal for a noob.&lt;/p&gt;

&lt;p&gt;One of my biggest mistake was to let myself get stuck on "tutorial hell" and to not start uploading my projects on github much earlier. But HEY... I learned from it. Moving on...&lt;/p&gt;

&lt;p&gt;At this stage, I have learned enough to know that I will never know enough of anything. So I'll keep on coding, I'll keep on learning.&lt;/p&gt;

&lt;p&gt;And now I'll answer some of the questions for this post.&lt;/p&gt;

&lt;h2&gt;
  
  
  My biggest technical goals are…
&lt;/h2&gt;

&lt;p&gt;To grasp more of React framework + Vanilla Java script.&lt;/p&gt;

&lt;h2&gt;
  
  
  My biggest technical achievements are…
&lt;/h2&gt;

&lt;p&gt;This far, is that I can make a simple React App.&lt;/p&gt;

&lt;h2&gt;
  
  
  I pledge to break the bias in tech by…
&lt;/h2&gt;

&lt;p&gt;Motivating more women, friends of all nations &amp;amp; the LGBTQ's community to feel included and loved, where ever I will be in the future.&lt;/p&gt;

&lt;h2&gt;
  
  
  Throughout my learning, I have overcome…
&lt;/h2&gt;

&lt;p&gt;Self-doubt.&lt;/p&gt;

&lt;h2&gt;
  
  
  I pledge to support women, non-binary folks, and other minorities in tech by…
&lt;/h2&gt;

&lt;p&gt;Being kind and supportive. &lt;/p&gt;

&lt;h2&gt;
  
  
  I’m excited about…
&lt;/h2&gt;

&lt;p&gt;A more diverse future, where everyone is supporting each other, kind to one another and to Mother Earth. Peace and love to all being &amp;lt;3 Cheers!&lt;/p&gt;

</description>
      <category>wecoded</category>
    </item>
    <item>
      <title>A simple global styling method with styled component.</title>
      <dc:creator>Marizoo</dc:creator>
      <pubDate>Tue, 15 Feb 2022 09:46:38 +0000</pubDate>
      <link>https://forem.com/marizoo/a-simple-global-styling-method-with-styled-component-1if6</link>
      <guid>https://forem.com/marizoo/a-simple-global-styling-method-with-styled-component-1if6</guid>
      <description>&lt;p&gt;Using Styled-components, I have tried several ways to apply global styling &amp;amp; media queries to my React App. I'm here to share my preferred method this far (until I find another better way, of course!).&lt;/p&gt;

&lt;p&gt;(For this article, I am using React version 17.0.2, and styled component version 5.3.3) Here it is, in step by step format:&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 01.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Install styled components
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn add styled-components

//or

npm install styled-components

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 02.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Inside the src folder: create a file, and call it &lt;code&gt;globalStyle.js&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Here is a screenshot of my folder structure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffumt10zpi0hcls5k18bs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffumt10zpi0hcls5k18bs.png" alt="screenshot of my folder structure"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inside &lt;code&gt;globalStyle.js&lt;/code&gt;, add these codes:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { css } from "styled-components";

// Create global color
export const ctaColor = () =&amp;gt; {
  return css`
        palevioletred
    `;
};

// Create media queries
export const mobile = (props) =&amp;gt; {
  return css`
    @media (min-width: 576px) {
      ${props}
    }
  `;
};

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;- as you can see, we are simply creating functions that return CSS for us&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 03.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;To use these "CSS-functions" in our components: just import it, then apply it to our styling.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It works just like the usual JavaScript functions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Refer to the codes below for some examples:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import styled from "styled-components";
import { mobile, ctaColor } from "../../globalStyle";


const Navbar = styled.div`
  display: flex;
  flex-direction: column;
  align-items: center;
  background: ${ctaColor};
  ${mobile({ flexDirection: "row" })}`

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Voila!
&lt;/h2&gt;

&lt;p&gt;That is it, short and simple. I hope it is useful for your projects.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;/p&gt;

&lt;p&gt;Your friend,&lt;br&gt;
Marizoo&lt;/p&gt;

</description>
      <category>react</category>
      <category>tutorial</category>
      <category>styledcomponents</category>
      <category>cssinjs</category>
    </item>
  </channel>
</rss>
