<?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: Hammed Oyedele</title>
    <description>The latest articles on DEV Community by Hammed Oyedele (@devhammed).</description>
    <link>https://dev.to/devhammed</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%2F54546%2Fb344635e-f6cd-4038-9c0d-86a65f8b61ff.jpg</url>
      <title>DEV Community: Hammed Oyedele</title>
      <link>https://dev.to/devhammed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devhammed"/>
    <language>en</language>
    <item>
      <title>Techies in Nigeria Are Not Safe Again In The Hands of the Government</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Tue, 20 Oct 2020 21:34:39 +0000</pubDate>
      <link>https://dev.to/devhammed/nigerians-are-not-safe-again-in-the-hands-of-the-government-55jg</link>
      <guid>https://dev.to/devhammed/nigerians-are-not-safe-again-in-the-hands-of-the-government-55jg</guid>
      <description>&lt;p&gt;Hello everyone!&lt;/p&gt;

&lt;p&gt;I am typing this in tears 😭😭😭&lt;/p&gt;

&lt;p&gt;This is just to inform you that Nigerians are not safe again in the hands of our so-called government.&lt;/p&gt;

&lt;p&gt;There is a special unit of the Nigerian Police Force called SARS that is supposed to be handling robbery cases but in recent years, the operating officers switched from protecting lives of the citizen to destroying their lives.&lt;/p&gt;

&lt;p&gt;It all started as a cybercrime movement but  they started attacking techies after sometime and now it is everyone!&lt;/p&gt;

&lt;p&gt;Now the protest for the government to disband this unit has been on for a while now, the government disbanded them and after like 3 days came with another unit which is basically the same thing but with different name: SWAT.&lt;/p&gt;

&lt;p&gt;The protest continued but today became our worst nightmare as the government hired thugs, sent out the army to start killing it own people!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Warning: there are graphic images of real-life brutal violence in the following link:&lt;/strong&gt; &lt;a href="https://endsars.com/videos"&gt;https://endsars.com/videos&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;PLEASE HELP US!&lt;/p&gt;

&lt;p&gt;😭😭😭😭😭&lt;/p&gt;

</description>
      <category>technology</category>
    </item>
    <item>
      <title>I have a joke about X but ...</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Sun, 26 Jul 2020 20:03:31 +0000</pubDate>
      <link>https://dev.to/devhammed/i-have-a-joke-about-x-but-p38</link>
      <guid>https://dev.to/devhammed/i-have-a-joke-about-x-but-p38</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;p&gt;I have a joke about Docker but I am afraid someone might want to push me inside a container.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I have a joke about Kubernetes but I am afraid someone might want to push me into a pod.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I have a joke about Object Oriented Programming but I won't say it because I am now a new Person();&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I have a joke about PHP but you need to first use the trait to understand it.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keep it coming 😂😂😂&lt;/p&gt;

</description>
      <category>jokes</category>
      <category>javascript</category>
      <category>php</category>
      <category>docker</category>
    </item>
    <item>
      <title>Redux in Ballerina programming language 🎉🎉🎉</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Mon, 02 Mar 2020 11:44:49 +0000</pubDate>
      <link>https://dev.to/devhammed/redux-in-ballerina-programming-language-86o</link>
      <guid>https://dev.to/devhammed/redux-in-ballerina-programming-language-86o</guid>
      <description>&lt;h2&gt;
  
  
  Motivation
&lt;/h2&gt;

&lt;p&gt;Hello guys, I have found a new favourite programming language and I decided to implement one of my favourite libraries from the JavaScript world in it.&lt;/p&gt;

&lt;p&gt;At first, I had challenges with the static types but eventually figured everything out.&lt;/p&gt;

&lt;h1&gt;
  
  
  What is Ballerina?
&lt;/h1&gt;

&lt;p&gt;According to the official &lt;a href="https://ballerina.io"&gt;website&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Ballerina is an open-source programming language and platform for cloud-era application programmers to easily write software that just works.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What is redux_bal?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;redux_bal&lt;/code&gt; is a static-typed implementation of Redux JavaScript library in the network-oriented Ballerina programming language. Read more at:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A9-wwsHG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/devhammed"&gt;
        devhammed
      &lt;/a&gt; / &lt;a href="https://github.com/devhammed/redux_bal"&gt;
        redux_bal
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Implementation of Redux in Ballerina programming language.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
redux_bal&lt;/h1&gt;
&lt;p&gt;Implementation of Redux in Ballerina.&lt;/p&gt;
&lt;p&gt;More information at Ballerina Central: &lt;a href="https://central.ballerina.io/devhammed/redux_bal" rel="nofollow"&gt;https://central.ballerina.io/devhammed/redux_bal&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/devhammed/redux_bal"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


</description>
      <category>oop</category>
      <category>ballerina</category>
      <category>javascript</category>
      <category>java</category>
    </item>
    <item>
      <title>How Clean is your Desktop?</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Mon, 30 Sep 2019 18:15:36 +0000</pubDate>
      <link>https://dev.to/devhammed/how-clean-is-your-desktop-55jl</link>
      <guid>https://dev.to/devhammed/how-clean-is-your-desktop-55jl</guid>
      <description>&lt;p&gt;Unleash your Potential!!!&lt;/p&gt;

&lt;p&gt;How clean is your Desktop guys???&lt;/p&gt;

&lt;h1&gt;
  
  
  ShowYourDesktop
&lt;/h1&gt;

</description>
      <category>showdev</category>
      <category>discuss</category>
      <category>privacy</category>
    </item>
    <item>
      <title>Painless global state management for React using Hooks and Context API</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Sat, 13 Jul 2019 09:01:17 +0000</pubDate>
      <link>https://dev.to/devhammed/painless-global-state-management-for-react-using-hooks-and-context-api-dpb</link>
      <guid>https://dev.to/devhammed/painless-global-state-management-for-react-using-hooks-and-context-api-dpb</guid>
      <description>&lt;p&gt;It is out already 🎉🎉🎉&lt;/p&gt;

&lt;h1&gt;
  
  
  use-global-hook
&lt;/h1&gt;

&lt;p&gt;Painless global state management for React using Hooks and Context API in 1KB!&lt;/p&gt;

&lt;p&gt;NPM: &lt;a href="https://www.npmjs.com/package/@devhammed/use-global-hook"&gt;https://www.npmjs.com/package/@devhammed/use-global-hook&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/devhammed/use-global-hook"&gt;https://github.com/devhammed/use-global-hook&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Demo: &lt;a href="https://devhammed.github.io/use-global-hook"&gt;https://devhammed.github.io/use-global-hook&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>context</category>
      <category>hooks</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Manage Browser Cookies with React Hooks</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Fri, 26 Apr 2019 16:26:21 +0000</pubDate>
      <link>https://dev.to/devhammed/manage-browser-cookies-with-react-hooks-22ba</link>
      <guid>https://dev.to/devhammed/manage-browser-cookies-with-react-hooks-22ba</guid>
      <description>&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%2Fy5c3eelahrpue7ha2gjt.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%2Fy5c3eelahrpue7ha2gjt.jpg" alt="Browser Cookies" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So this week, I created my first NPM package and my first custom React Hooks!!!&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A9-wwsHG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/devhammed" rel="noopener noreferrer"&gt;
        devhammed
      &lt;/a&gt; / &lt;a href="https://github.com/devhammed/use-cookie" rel="noopener noreferrer"&gt;
        use-cookie
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Get, Set, Update and Delete Cookie using React Hooks.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;
&lt;a class="mentioned-user" href="https://dev.to/devhammed"&gt;@devhammed&lt;/a&gt;/use-cookie&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;Get, Set, Update and Delete Cookie using React Hooks.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://www.npmjs.com/package/@devhammed/use-cookie" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/1d978bcdaf547a83862dcc4e7d5dbc7301035f092dee1753f391a769c11e5f44/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4064657668616d6d65642f7573652d636f6f6b69652e737667" alt="NPM"&gt;&lt;/a&gt; &lt;a href="https://standardjs.com" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/5338a68a0f130dc684279ff3e42e45c9c74006018a1bdeaac76905979b3ccd49/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64655f7374796c652d7374616e646172642d627269676874677265656e2e737667" alt="JavaScript Style Guide"&gt;&lt;/a&gt; &lt;a href="https://github.com/acekyd/made-in-nigeria" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bc3c04e0cdf1477e53ebcbcd5e760acc9125d702c6c11d744e81ad357cfdacc7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d616465253230696e2d6e6967657269612d3030383735312e7376673f7374796c653d666c61742d737175617265" alt="Made in Nigeria"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm install --save &lt;a class="mentioned-user" href="https://dev.to/devhammed"&gt;@devhammed&lt;/a&gt;/use-cookie&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Usage&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="highlight highlight-source-tsx notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-k"&gt;import&lt;/span&gt; &lt;span class="pl-smi"&gt;React&lt;/span&gt; &lt;span class="pl-k"&gt;from&lt;/span&gt; &lt;span class="pl-s"&gt;'react'&lt;/span&gt;
&lt;span class="pl-k"&gt;import&lt;/span&gt; &lt;span class="pl-smi"&gt;ReactDOM&lt;/span&gt; &lt;span class="pl-k"&gt;from&lt;/span&gt; &lt;span class="pl-s"&gt;'react-dom'&lt;/span&gt;
&lt;span class="pl-k"&gt;import&lt;/span&gt; &lt;span class="pl-s1"&gt;useCookie&lt;/span&gt; &lt;span class="pl-k"&gt;from&lt;/span&gt; &lt;span class="pl-s"&gt;'&lt;a class="mentioned-user" href="https://dev.to/devhammed"&gt;@devhammed&lt;/a&gt;/use-cookie'&lt;/span&gt;
&lt;span class="pl-k"&gt;const&lt;/span&gt; &lt;span class="pl-smi"&gt;App&lt;/span&gt; &lt;span class="pl-c1"&gt;=&lt;/span&gt; &lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt; &lt;span class="pl-c1"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="pl-kos"&gt;{&lt;/span&gt;
  &lt;span class="pl-k"&gt;const&lt;/span&gt; &lt;span class="pl-kos"&gt;[&lt;/span&gt;&lt;span class="pl-s1"&gt;username&lt;/span&gt;&lt;span class="pl-kos"&gt;,&lt;/span&gt; &lt;span class="pl-s1"&gt;setUsername&lt;/span&gt;&lt;span class="pl-kos"&gt;,&lt;/span&gt; &lt;span class="pl-s1"&gt;deleteUsername&lt;/span&gt;&lt;span class="pl-kos"&gt;]&lt;/span&gt; &lt;span class="pl-c1"&gt;=&lt;/span&gt; &lt;span class="pl-en"&gt;useCookie&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-s"&gt;'username'&lt;/span&gt;&lt;span class="pl-kos"&gt;,&lt;/span&gt; &lt;span class="pl-s"&gt;'User'&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt;
  &lt;span class="pl-k"&gt;return&lt;/span&gt; &lt;span class="pl-kos"&gt;(&lt;/span&gt;
    &lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-ent"&gt;section&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-ent"&gt;h1&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;Hello &lt;span class="pl-kos"&gt;{&lt;/span&gt;&lt;span class="pl-s1"&gt;username&lt;/span&gt;&lt;span class="pl-kos"&gt;}&lt;/span&gt;!&lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-c1"&gt;/&lt;/span&gt;&lt;span class="pl-ent"&gt;h1&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-ent"&gt;p&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;Edit below input, Your name will be stored in a cookie. you can refresh this page to see how it persists.&lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-c1"&gt;/&lt;/span&gt;&lt;span class="pl-ent"&gt;p&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-ent"&gt;input&lt;/span&gt;
        &lt;span class="pl-c1"&gt;type&lt;/span&gt;&lt;span class="pl-c1"&gt;=&lt;/span&gt;&lt;span class="pl-s"&gt;'text'&lt;/span&gt;
        &lt;span class="pl-c1"&gt;value&lt;/span&gt;&lt;span class="pl-c1"&gt;=&lt;/span&gt;&lt;span class="pl-kos"&gt;{&lt;/span&gt;&lt;span class="pl-s1"&gt;username&lt;/span&gt;&lt;span class="pl-kos"&gt;}&lt;/span&gt;
        &lt;span class="pl-c1"&gt;onChange&lt;/span&gt;&lt;span class="pl-c1"&gt;=&lt;/span&gt;&lt;span class="pl-kos"&gt;{&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-s1"&gt;e&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt; &lt;span class="pl-c1"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="pl-en"&gt;setUsername&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-s1"&gt;e&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;span class="pl-c1"&gt;target&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;span class="pl-c1"&gt;value&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt;&lt;span class="pl-kos"&gt;}&lt;/span&gt;
      &lt;span class="pl-c1"&gt;/&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-ent"&gt;button&lt;/span&gt;
        &lt;span class="pl-c1"&gt;onClick&lt;/span&gt;&lt;span class="pl-c1"&gt;=&lt;/span&gt;&lt;span class="pl-kos"&gt;{&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt; &lt;span class="pl-c1"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="pl-en"&gt;deleteUsername&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt;&lt;span class="pl-kos"&gt;}&lt;/span&gt;
      &lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;
        Delete Cookie
      &lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-c1"&gt;/&lt;/span&gt;&lt;span class="pl-ent"&gt;button&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="pl-c1"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pl-c1"&gt;/&lt;/span&gt;&lt;span class="pl-ent"&gt;section&lt;/span&gt;&lt;span class="pl-c1"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="pl-kos"&gt;)&lt;/span&gt;
&lt;span class="pl-kos"&gt;}&lt;/span&gt;

&lt;span class="pl-smi"&gt;ReactDOM&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;/pre&gt;…
&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/devhammed/use-cookie" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Want to you manage HTTP Cookies using React???&lt;br&gt;
I created  &lt;code&gt;useCookie()&lt;/code&gt; React Hook, you can use it to Get, Set, Update and Delete Cookies in your functional components.&lt;/p&gt;

&lt;p&gt;Demo: &lt;a href="https://devhammed.github.io/use-cookie" rel="noopener noreferrer"&gt;https://devhammed.github.io/use-cookie&lt;/a&gt;&lt;br&gt;
NPM: &lt;a href="https://www.npmjs.com/package/@devhammed/use-cookie" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/@devhammed/use-cookie&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>hooks</category>
      <category>showdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Awesome Checkbox and Radio-Button CSS Hacks</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Wed, 18 Apr 2018 13:04:01 +0000</pubDate>
      <link>https://dev.to/devhammed/awesome-checkbox-and-radio-button-css-hacks-1b75</link>
      <guid>https://dev.to/devhammed/awesome-checkbox-and-radio-button-css-hacks-1b75</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.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%2Fe9v3gdytbp7w8y85t8yu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fe9v3gdytbp7w8y85t8yu.png" width="355" height="142"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hello, today we will explore some CSS hacks that can be used without the need for JavaScript. I will go over 3 awesome hacks and I know you will be amazed by the end of this article. LET’S KEEP THE BALL ROLLIN’&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;CSS Menu&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;First, we will hide the checkbox and the menu container.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.menu--toggle,
.menu--body {
 display: none;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, the main trick of this Menu is the ~ CSS General Sibling selector. below CSS is used to change .menu--body to display: block when the checkbox is in:checked state.&lt;/p&gt;

&lt;p&gt;According to MDN Docs, ~ is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The &lt;strong&gt;general sibling combinator&lt;/strong&gt; (~) separates two selectors and matches the second element only if it follows the first element (though not necessarily immediately), and both are children of the same parent &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Element" rel="noopener noreferrer"&gt;element&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Below is the trick we will apply using this life-saver:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.menu--toggle:checked ~ .menu--body {
 display: block;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check below pen for the full markup of this hack&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/devHammed/embed/vRbqzB?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSS Modal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This hack is same with CSS Menu so i am not going to explain this because the only difference is how will style the Modal container, but below is the pen:&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/devHammed/embed/BrMOpd?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
The last hack we will go over is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSS Accordion&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Yes, Accordion you all know can be created with pure CSS and radio buttons 🙄🙄 . Note: a single radio button can only be selected in a named group.&lt;/p&gt;

&lt;p&gt;We will take advantage of this to create pure CSS accordion and it also utilize :checked state like CSS Menu, below is the pen for you to play around with.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/devHammed/embed/WzPgbX?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
Thanks for taking your time to read this, 😍😍😍 and can you do this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fx5z6uiwi9puorltum4ff.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fx5z6uiwi9puorltum4ff.gif" width="220" height="220"&gt;&lt;/a&gt;clap…clap…clap…clap&lt;/p&gt;

&lt;p&gt;See you next time!!!  &lt;strong&gt;&amp;lt;/&amp;gt;&lt;/strong&gt;&lt;/p&gt;




</description>
      <category>css</category>
      <category>hacks</category>
      <category>html</category>
    </item>
    <item>
      <title>Full-Screen Section with One-line of CSS</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Wed, 28 Mar 2018 13:51:58 +0000</pubDate>
      <link>https://dev.to/devhammed/full-screen-section-with-one-line-of-css-4jm</link>
      <guid>https://dev.to/devhammed/full-screen-section-with-one-line-of-css-4jm</guid>
      <description>&lt;p&gt;Hello, I recently shared the story of how I became a Web Developer if you haven’t read it, here is the &lt;a href="https://dev.to/devhammed/story-of-a-17-years-old-web-developer-3584"&gt;link&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So today, I want to share a CSS one-liner solution that you might not know about, This solution makes use of CSS unit vh to create a Full-Screen section of a page ( e.g Header ).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;So WTF is vh???&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%2Fcdn-images-1.medium.com%2Fmax%2F500%2F1%2AWXGxBTgA7igKKyd3Pq9aWQ.jpeg" 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%2Fcdn-images-1.medium.com%2Fmax%2F500%2F1%2AWXGxBTgA7igKKyd3Pq9aWQ.jpeg"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;According to MDN docs:&lt;/p&gt;

&lt;p&gt;— &lt;strong&gt;Viewport Height&lt;/strong&gt; (vh) – A percentage of the full viewport height. 10vh will resolve to 10% of the current viewport height.&lt;/p&gt;

&lt;p&gt;With this, we know that 1vh is equalled to 1% of the visible part of the user browser (Viewport). We are going to use it with min-height to make sure the section is Full no matter the content size.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;.full-screen {&lt;br&gt;&lt;br&gt;
min-height: 100vh;&lt;br&gt;&lt;br&gt;
}&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And Here is the pen for those curious folks like myself 😃😃😃&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/devHammed/embed/EEoogx?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Thanks for reading ❤️️❤️️ , and i think the next thing should be……&lt;/p&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%2Fx5z6uiwi9puorltum4ff.gif" 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%2Fx5z6uiwi9puorltum4ff.gif"&gt;&lt;/a&gt;&lt;/p&gt;




</description>
      <category>css</category>
      <category>webdev</category>
      <category>coding</category>
    </item>
    <item>
      <title>Story of a 17 years old Web Developer</title>
      <dc:creator>Hammed Oyedele</dc:creator>
      <pubDate>Tue, 06 Mar 2018 13:22:18 +0000</pubDate>
      <link>https://dev.to/devhammed/story-of-a-17-years-old-web-developer-3584</link>
      <guid>https://dev.to/devhammed/story-of-a-17-years-old-web-developer-3584</guid>
      <description>&lt;p&gt;Hi, my name is &lt;a href="http://devhammed.github.io"&gt;Oyedele Hammed&lt;/a&gt;. a 17 years old Nigerian Web Developer. I’m here to share my story and how I learnt web development. &lt;strong&gt;This my first time writing an article so please pardon if it is not technical.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;2015 ( Curiosity )&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sw5W-ccH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/290/1%2AU-SqxxLQ4e2fsdYVnmNhSA.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sw5W-ccH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/290/1%2AU-SqxxLQ4e2fsdYVnmNhSA.jpeg" alt=""&gt;&lt;/a&gt;&lt;a href="https://en.wikipedia.org/wiki/BASIC"&gt;&lt;/a&gt;&lt;a href="https://en.wikipedia.org/wiki/Mobile_BASIC"&gt;https://en.wikipedia.org/wiki/Mobile_BASIC&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I came across Mobile BASIC programming language ( by David Firth ) on Google while using my J2ME feature phone to browse, I was curious about the term and clicked the link ( &lt;a href="http://www.mbteam.ru"&gt;mbteam.ru&lt;/a&gt; ) and from there I started learning the language through it J2ME app I downloaded that is capable of building .jar file from BASIC source code and can be installed on J2ME feature phones. I used this to create some apps and games that got installed on me and my friend's phone.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;2016 ( Web Development )&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--txfEnOEg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1024/1%2ADd8ie2K_9n2FPgb2LxleVw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--txfEnOEg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1024/1%2ADd8ie2K_9n2FPgb2LxleVw.png" alt=""&gt;&lt;/a&gt;&lt;a href="https://www.1training.org/wp-content/uploads/2017/10/6.png"&gt;&lt;/a&gt;&lt;a href="https://www.1training.org/wp-content/uploads/2017/10/6.png"&gt;https://www.1training.org/wp-content/uploads/2017/10/6.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After my exciting journey with Mobile BASIC, i came across HTML, CSS and JavaScript on &lt;a href="http://w3schools.com"&gt;W3Schools.com&lt;/a&gt;. i started learning but later get referred to some advanced online courses by a uncle ( &lt;a href="http://learn.shayhowe.com"&gt;learn.shayhowe.com&lt;/a&gt;, &lt;a href="http://developer.mozilla.org"&gt;MDN&lt;/a&gt;, &lt;a href="http://sololearn.com"&gt;Sololearn.com&lt;/a&gt;, &lt;a href="http://codecademy.com"&gt;Codeacademy&lt;/a&gt; ).&lt;/p&gt;

&lt;p&gt;I joined some online coding forums like &lt;a href="http://stackoverflow.com"&gt;Stackoverflow.com&lt;/a&gt;, &lt;a href="http://nct.com.ng"&gt;nct.com.ng&lt;/a&gt; etc to improve my coding skills. I was still using a J2ME feature phone while doing all this and I am committed to becoming a world-class Web Developer someday.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;2017 ( Addicted to Web )&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z1thK-vN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/238/1%2A2baes62J4NmG1qrQBpPM4w.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z1thK-vN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/238/1%2A2baes62J4NmG1qrQBpPM4w.jpeg" alt=""&gt;&lt;/a&gt;&lt;a href="http://www.w3.org"&gt;www.w3.org&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2017 is the year I would say I started the web development because that is the year I learn all that has been baffling me about the Web and the Internet. I opened a Github account ( &lt;a href="http://github.com/devhammed"&gt;&lt;strong&gt;Oyedele Hammed&lt;/strong&gt;&lt;/a&gt; ) and start pushing and committing loads of JavaScript projects and contributed to a CSS project by &lt;a href="https://medium.com/u/53d5acc6d585"&gt;Segun Olumide&lt;/a&gt;. Connect and started following many experienced Web developers and designers on Twitter, Facebook, Medium and other social platforms and started taking coding challenge on Hacker Rank. it was fun all the way. I also handle some Freelance projects on &lt;a href="http://upwork.com"&gt;Upwork.com&lt;/a&gt; and &lt;a href="http://olx.com.ng"&gt;OLX&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;2018 ( First Job )&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Rqjo_HCo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/282/1%2A3b2B1SLLX7oxcnUBXBliqw.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rqjo_HCo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/282/1%2A3b2B1SLLX7oxcnUBXBliqw.jpeg" alt=""&gt;&lt;/a&gt;&lt;a href="http://www.google.com"&gt;www.google.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;February 12 is the day I got a job at &lt;a href="http://epower.ng"&gt;Epower&lt;/a&gt; as a Junior Web Developer and am very happy to work with &lt;a href="https://medium.com/u/6ac526485149"&gt;Rasheed Ridwan&lt;/a&gt; and &lt;a href="https://medium.com/u/fb178023c2d8"&gt;Ogunbowale Olugbenga&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Resources&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Below are some free online courses if you are interested in learning Web development.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.freecodecamp.org"&gt;Learn to code with free online courses, programming projects, and interview preparation for developer jobs.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://developer.mozilla.org"&gt;MDN Web Docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.sabe.io/classes"&gt;Classes: High-quality and made for you. - Sabe.io&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.sololearn.com"&gt;SoloLearn: Learn to Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://learn.shayhowe.com"&gt;Learn to Code HTML &amp;amp; CSS - Beginner &amp;amp; Advanced&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://codecademy.com"&gt;Codecademy - learn to code, interactively, for free&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.javascript.info"&gt;The Modern Javascript Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://eloquentjavascript.net"&gt;Eloquent JavaScript&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading, clap if you feel this story inspired you. ❤️️❤️️❤️️&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>css</category>
      <category>webdev</category>
      <category>webdesign</category>
    </item>
  </channel>
</rss>
