<?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>DEV Community: ibnul syam</title>
    <description>The latest articles on DEV Community by ibnul syam (@ibnulsyam).</description>
    <link>https://dev.to/ibnulsyam</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%2F839674%2Fe4d1ca32-85c9-4e23-95f5-6fa0e934bea1.jpeg</url>
      <title>DEV Community: ibnul syam</title>
      <link>https://dev.to/ibnulsyam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ibnulsyam"/>
    <language>en</language>
    <item>
      <title>Styling use styled-Component in React-Js</title>
      <dc:creator>ibnul syam</dc:creator>
      <pubDate>Wed, 06 Apr 2022 06:19:58 +0000</pubDate>
      <link>https://dev.to/ibnulsyam/styling-use-styled-component-in-react-js-2fne</link>
      <guid>https://dev.to/ibnulsyam/styling-use-styled-component-in-react-js-2fne</guid>
      <description>&lt;p&gt;Hii dude..&lt;br&gt;
i've learnd styling use styled component and now i want to share to you, i hope this knowledge can be useful for us.&lt;/p&gt;

&lt;p&gt;1.First step, we must install library of styled component...&lt;br&gt;
Enter the folder of your project and open &lt;em&gt;CMD&lt;/em&gt; (Command Prompt) and write &lt;strong&gt;npm install styled-components&lt;/strong&gt; or &lt;strong&gt;yarn add styled-components&lt;/strong&gt; in your CMD such as picture bellow :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ButGApTr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ufvcrcaavjrykfuee7ag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ButGApTr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ufvcrcaavjrykfuee7ag.png" alt="Image description" width="775" height="129"&gt;&lt;/a&gt;&lt;br&gt;
and press Enter in the keywbord.. &lt;/p&gt;

&lt;p&gt;2.Second step, we must import styled's library &lt;br&gt;
such as picture bellow :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Np2IukUJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w0nl184g5wwbrjy6u1iy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Np2IukUJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w0nl184g5wwbrjy6u1iy.png" alt="Image description" width="485" height="236"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Last step, we can use that library..&lt;br&gt;
Make variable and declaration of variable must be styled and (kind of element) for example like picture bellow :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nU6T1Nwc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z6d22dqtit655vwubp1c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nU6T1Nwc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z6d22dqtit655vwubp1c.png" alt="Image description" width="238" height="61"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and using quotation mark for styling .. like this &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--O-nceb9z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmo4rv4qtgbnlwgpojkn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--O-nceb9z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmo4rv4qtgbnlwgpojkn.png" alt="Image description" width="299" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, we can use that variable in our class or function..&lt;br&gt;
like this picture :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--l-jnNSAO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2c5lr61b9w5mog5bpymt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--l-jnNSAO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2c5lr61b9w5mog5bpymt.png" alt="Image description" width="374" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And let's check the result..&lt;br&gt;
&lt;em&gt;Code Picture :&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tm15BWhO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sqtdpfiq2kg4ibvjpyvp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tm15BWhO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sqtdpfiq2kg4ibvjpyvp.png" alt="Image description" width="486" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Result Picture :&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--B-CT5A81--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3qsxmfuxghe3kledg0on.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--B-CT5A81--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3qsxmfuxghe3kledg0on.png" alt="Image description" width="436" height="290"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Styled Components?
&lt;/h2&gt;

&lt;p&gt;The main purpose of using styled components is because it is modular and practical. If you use 1 css bundle, there will be many styles that are not used but are called by the browser, this is solved with styled components, the browser only calls styles that are only used by the component that has been rendered.&lt;/p&gt;

&lt;p&gt;Another benefit is that it makes it easier for developers to map styled and component, no need to remember a lot of css selectors, because here components and styles are made at the same level, if you want to know the style of a component button, then just check the coding in the component button.&lt;/p&gt;

&lt;p&gt;See you..&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Get Data API</title>
      <dc:creator>ibnul syam</dc:creator>
      <pubDate>Thu, 31 Mar 2022 02:29:56 +0000</pubDate>
      <link>https://dev.to/ibnulsyam/get-data-api-431l</link>
      <guid>https://dev.to/ibnulsyam/get-data-api-431l</guid>
      <description>&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%2Fryqev9ggi2ppmekux9hf.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%2Fryqev9ggi2ppmekux9hf.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HI, I've learned about Get data to API using Callback,&lt;br&gt;
and Now i want to share my experience&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
