<?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: Mercy Ebulu</title>
    <description>The latest articles on DEV Community by Mercy Ebulu (@mercysticks).</description>
    <link>https://dev.to/mercysticks</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%2F780444%2F1d5973bd-e855-4213-9472-2e542b2de5e1.jpg</url>
      <title>DEV Community: Mercy Ebulu</title>
      <link>https://dev.to/mercysticks</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mercysticks"/>
    <language>en</language>
    <item>
      <title>My Experience as a Mentee at the Godspeed Media Tech Mentoring Program.</title>
      <dc:creator>Mercy Ebulu</dc:creator>
      <pubDate>Thu, 04 Aug 2022 22:40:00 +0000</pubDate>
      <link>https://dev.to/mercysticks/my-experience-as-a-mentee-at-the-godspeed-media-tech-mentoring-program-1lcp</link>
      <guid>https://dev.to/mercysticks/my-experience-as-a-mentee-at-the-godspeed-media-tech-mentoring-program-1lcp</guid>
      <description>&lt;p&gt;On the 1st of December, 2021 I took it to medium to announce my acceptance into a mentoring program by Godspeed Media Tech in this &lt;a href="https://medium.com/r/?url=https%3A%2F%2Fmercyebulu.medium.com%2Fgodspeed-media-tech-mentoring-program-my-expectations-and-goals-b78d5ae10866"&gt;article&lt;/a&gt;.&lt;br&gt;
It has been a fantastic 3months journey as a mentee in this program. In this article, I will be sharing my experience as a mentee in this program, and how the past 3months have been for me as a mentee.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the Godspeed MediaTech LTD. Mentoring program about?
&lt;/h2&gt;

&lt;p&gt;It is a self-paced training and mentoring program for promising Tech enthusiasts. It enables people who are interested in taking a step into Tech to learn and improve. This program will last for 3months, and in these months, Godspeed MediaTech LTD.&lt;br&gt;
will offer the following benefits to participants:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A paid course in your track of study in Tech on Udemy.&lt;/li&gt;
&lt;li&gt;Bi-weekly 6GB data for you to take your course smoothly.&lt;/li&gt;
&lt;li&gt;Publish a bi-weekly article on medium sharing knowledge you've gained while learning.&lt;/li&gt;
&lt;li&gt;One on one Bi-weekly review with the program coordinators.
Interactive sessions with successful people from the participant's various fields.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is super cool yeah? Why would anyone just starting in Tech not want such an opportunity?&lt;/p&gt;

&lt;h2&gt;
  
  
  Application and Selection Phase
&lt;/h2&gt;

&lt;p&gt;It was almost Midnight, on the 6th of October, 2021. My friend &lt;a href="https://medium.com/r/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fonyeogulu-tochukwu-ba2231178%2F"&gt;Onyeogulu Tochukwu&lt;/a&gt; left me a message on WhatsApp telling me that Godspeed Media Tech was actively receiving applications for their mentoring program for Cohort 2. The next day, I sat in front of my PC to send in my application after I had carefully read through what the program entails and what would be required of me. I sent in my application and waited for a response on the next steps to be taken.&lt;br&gt;
Fortunately, I received a mail for a first 30 minutes chat with a mentee from the previous cohort. I spoke with Austin, spent an hour speaking with him, and I asked all the questions I needed for clarity during the program.&lt;br&gt;
A few days later, one of the program coordinators reached out to me for a chat with her on Google Meet. I picked a date and we scheduled a meeting for our chat. I had the friendliest chat ever with Miss &lt;a href="https://medium.com/r/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbardefavour%2F"&gt;Favour Barde&lt;/a&gt;. There was no pressure at all.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZI0ZCplJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dr77g2vwa14rzebdxexb.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZI0ZCplJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dr77g2vwa14rzebdxexb.jpeg" alt="Image description" width="720" height="700"&gt;&lt;/a&gt;&lt;br&gt;
On the 23rd of November, I received a congratulatory mail about my acceptance into the Cohort for Mentoring. I was elated and ready to start this process.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Journey to 3 months.
&lt;/h2&gt;

&lt;p&gt;The 3 months mentoring program kicked off on the 1st of December, 2021. I was added to a WhatsApp group for the cohort alongside 8 mentees. We introduced ourselves, then the program coordinators gave us a quick rundown on how the mentoring program will go and their expectations of us.&lt;br&gt;
I was registered under the Front-end web development track for this program and was sent a paid course on front-end web development by &lt;a href="https://medium.com/r/?url=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Ffront-end-web-development-complete-guide-step-by-step%2F"&gt;Gabrial Fatah&lt;/a&gt; on Udemy. This course is a complete web development course from scratch and I will learn HTML, CSS, JavaScript, Bootstrap, and Angular.&lt;br&gt;
The First week I was motivated and ready to start my journey with so much enthusiasm. But I was faced with an issue, my laptop went bad in October. So I had no laptop to follow up on the course and work on hands-on projects. Nevertheless, given my strong will to succeed and the never-give-up attitude that I possess and have nurtured over the years, I choose to push forward by looking for an alternative means of getting a PC for the sole purpose of learning and advancing. I spoke to someone who lives close to me and asked if he could lend me his PC for 3 months and he agreed that I could use the PC at night and return it in the mornings. Asides from enjoying the numerous perks attached to these programs, there were tasks and obligations I was expected to keep up with to have a smooth ride on the program.&lt;br&gt;
Below is a breakdown of my experiences throughout the 3 months of being a mentee.&lt;/p&gt;

&lt;h2&gt;
  
  
  Writing Experience.
&lt;/h2&gt;

&lt;p&gt;Writing had never been a thing for me. I've had many writers as friends and I've often asked them how this writing thing works. Got to the Mentoring program and I was faced with the task of publishing an article here on medium bi-weekly. My first article took me over a week to put together but somehow through research, I figured out how it worked and I became better. I published an article here about JavaScript and it had over 1000 views I've never been more proud of myself. Additionally, my mentor&lt;a href="https://medium.com/r/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Flabifrancis%2F"&gt; Mr Labi&lt;/a&gt; reviewed bi-weekly publications and always gave me a thumbs up. These things motivated me to take up Technical Writing and I hope to take this Technical Writing thing big. I hope to contribute to the Tech space via writing and documenting my learning progress.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Bi-Weekly One on One
&lt;/h2&gt;

&lt;p&gt;I guess you'd be asking what this means. Well, this is a term common to the Mentees at &lt;a href="https://medium.com/r/?url=https%3A%2F%2Fgodspeedmedia.tech%2F"&gt;Godspeed MediaTech LTD&lt;/a&gt;. Mentoring program. As a mentee under this program, for accountability's sake, we had a compulsory bi-weekly one-on-one with the program coordinators to follow up on our learning progress and discuss other things that will help us sail smoothly in the journey. I had all my one-on-one Checks with Mr Labi Francis and those moments were priceless. He was helpful, he shared resources that will help me understand most concepts that seemed like a hard nut to crack, and he never failed to commend me for good work or article written.&lt;/p&gt;

&lt;h2&gt;
  
  
  Guest Speakers/Facilitators Sessions
&lt;/h2&gt;

&lt;p&gt;One of the perks of being a mentee in this program is that you get multiple chances of having an interactive session with successful people from various fields in Tech.&lt;br&gt;
The first session we had was with &lt;a href="https://medium.com/r/?url=https%3A%2F%2Ftwitter.com%2Fjunydania"&gt;Ose Dania&lt;/a&gt;. One of the things he said that still rings a bell in my ear is "There is a space for everyone in Tech, There are opportunities everywhere you cannot afford to be mediocre". A few weeks later Mr Labi invited &lt;a href="https://medium.com/r/?url=https%3A%2F%2Ftwitter.com%2FSpontaneousKemi"&gt;Kemi Adeleke&lt;/a&gt; to have a one-hour session with us, She shared how she transited into Tech and advised us to be hungry for knowledge.&lt;br&gt;
We had other facilitators come to speak with us like &lt;a href="https://medium.com/r/?url=https%3A%2F%2Ftwitter.com%2Farlemi"&gt;Arlemi&lt;/a&gt;, Mr Abubakar and &lt;a href="https://medium.com/r/?url=https%3A%2F%2Ftwitter.com%2FDeborahEmeni"&gt;Deborah Emeni&lt;/a&gt; who shared with us endless opportunities obtainable in Tech and gave us tips on how to reach these opportunities.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other Experiences
&lt;/h2&gt;

&lt;p&gt;During the program, we had a day set aside to present any project we've worked on while learning. To be honest, I was a little bit scared and didn't know how to go about it. The day came, and I presented a project I worked on. &lt;a href="https://medium.com/r/?url=https%3A%2F%2Fcodepen.io%2Fmercysticks%2Ffull%2FoNwJMMv"&gt;SIGN UP FORM WITH FLOATING LABELS &lt;/a&gt;This helped me build confidence and pushed me to do more.&lt;br&gt;
Significantly, I learned how to send google meet invites to a group or team on this program. I also got to know about &lt;a href="https://medium.com/r/?url=https%3A%2F%2Fcalendly.com%2F"&gt;calendly&lt;/a&gt;: an appointment scheduling software for any meeting type.&lt;br&gt;
I learnt how to show up for meetings on time, even when I don't feel like joining and also pay rapt attention to what was said. Because Mr labi will need you to drop the things that stood out for you during talk sessions.&lt;br&gt;
One thing I took out from this program is the importance of letting the world know what you are doing and your contributions to the Tech Ecosystem in that way opportunities would easily get to you. Also, the importance of social media platforms for creating visibility for yourself such as Twitter cannot be overemphasized.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things I achieved in this program.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Improve my HTML and CSS skill.&lt;/li&gt;
&lt;li&gt;Started coding JavaScript.&lt;/li&gt;
&lt;li&gt;Published over 6 articles on &lt;a href="https://mercyebulu.medium.com/"&gt;medium&lt;/a&gt; and 1 on hashnode.&lt;/li&gt;
&lt;li&gt;Followers on medium moved from 2 to 46 followers.&lt;/li&gt;
&lt;li&gt;Learned how to create simple designs using Canva. I designed the thumbnails or cover photos in my articles.&lt;/li&gt;
&lt;li&gt;Got accepted into &lt;a href="https://medium.com/r/?url=https%3A%2F%2Faltschoolafrica.com%2F"&gt;AltSchool Africa School&lt;/a&gt; of Engineering.&lt;/li&gt;
&lt;li&gt;Got selected for the Access Bank Advance Africa Scholarship to obtain a nano degree from Udacity. I will learn HTML, CSS, JavaScript and Python.&lt;/li&gt;
&lt;li&gt;Completed the paid course that was sent to me on Udemy.&lt;/li&gt;
&lt;li&gt;I finished the program as part of the Top 5 mentees and I was gifted a brand new HP laptop.&lt;/li&gt;
&lt;/ol&gt;

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

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

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

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

&lt;p&gt;You can also look up most of the projects I worked on through &lt;a href="https://codepen.io/mercysticks"&gt;CODEPEN&lt;/a&gt;.&lt;br&gt;
Lastly, I will say this program gave me a wholesome experience as a newbie in Tech. Equipped me with lots of information that will guide me on the way to go. I am grateful to Godspeed MediaTech Ltd. and the Program Coordinators(Mr Labi and Miss Favour) for this life-changing opportunity. Now it is time for me to do more with what I have been equipped with.&lt;br&gt;
Thank you for reading.&lt;/p&gt;

</description>
      <category>mentorship</category>
      <category>community</category>
      <category>newbie</category>
      <category>100daysofcode</category>
    </item>
    <item>
      <title>A Beginner's Approach to CSS Positioning.</title>
      <dc:creator>Mercy Ebulu</dc:creator>
      <pubDate>Mon, 25 Jul 2022 17:28:00 +0000</pubDate>
      <link>https://dev.to/mercysticks/a-beginners-approach-to-css-positioning-15o1</link>
      <guid>https://dev.to/mercysticks/a-beginners-approach-to-css-positioning-15o1</guid>
      <description>&lt;p&gt;CSS Positioning is one of those CSS features that has been around for quite some time but it is still in heavy use today. it's an excellent skill and a necessity to learn if you are going to be working on the web. Throughout this article, we'll explore the Position property in CSS, its many values, and how they all function.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the CSS position property?
&lt;/h2&gt;

&lt;p&gt;The CSS position property determines how elements are positioned within an HTML document. &lt;br&gt;
The terms top, right, bottom, and left are used in conjunction with the CSS position property. It is important to keep in mind that if you use CSS positioning, your items will always be positioned using the four keywords top, right, bottom, and left position. You will always be working with these four keywords, whether you use &lt;code&gt;em&lt;/code&gt;, &lt;code&gt;rem&lt;/code&gt;, &lt;code&gt;px&lt;/code&gt;, or any other CSS unit of measurement. It's also important to keep in mind that while using CSS positioning, you are always offsetting from the keyword you employ. Let's examine this simple example to better understand what offset in CSS positioning entails.&lt;/p&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.box-1{
  position:relative;
  top:100px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/mercysticks/embed/VwXKGOB?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
So as you have seen here we used the keyword &lt;code&gt;top&lt;/code&gt; and what that means is that it is our box is going to be offset or pushed away from the top edge based on the value assigned to the top property. In this illustration, our box moved 100px down away from the top edge. &lt;/p&gt;
&lt;h2&gt;
  
  
  CSS Positioning Values
&lt;/h2&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%2Fkjfft7aw8eubuucqavfb.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%2Fkjfft7aw8eubuucqavfb.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
From the image above, we can see that we have the positive(+) values pointing inside and the negative values (-) pointing outside the box. The meaning of this is that positioned elements with positive values will offset inward and negative values will offset or push outward. &lt;/p&gt;
&lt;h2&gt;
  
  
  Normal Flow in CSS
&lt;/h2&gt;

&lt;p&gt;In HTML and CSS, we have an order in which elements are stacked, just like in the real world where we have systems and procedures following an order or process. This sequence is referred to as the normal flow in CSS. Before any changes to this layout are made, block and inline elements are shown on a page in accordance with the normal flow or flow layout. According to the CSS 2.1 Specification&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Boxes in the normal flow belong to a formatting context, which may be block or inline, but not both simultaneously. Block boxes participate in a block formatting context. Inline boxes participate in a line formatting context.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Put simply, the order in which elements appear or are stacked from top to bottom without any changes to the elements' positions is known as the "normal flow" of a document.&lt;/p&gt;

&lt;p&gt;There are five fundamental types of the CSS position properties you should know: &lt;/p&gt;

&lt;p&gt;1.Static&lt;br&gt;
2.Relative&lt;br&gt;
3.Absolute&lt;br&gt;
4.Fixed &lt;br&gt;
5.Sticky.&lt;/p&gt;

&lt;p&gt;To better grasp how they operate and when to use them, let's go over each of them with examples.&lt;/p&gt;
&lt;h2&gt;
  
  
  Position: Static
&lt;/h2&gt;

&lt;p&gt;This is the default position for all HTML elements within an HTML document. This means that an element's position will be set to &lt;code&gt;static&lt;/code&gt; even if you don't declare it in CSS. Keep in mind that a static position is equivalent to not specifying the position property at all. All elements positioned &lt;code&gt;static&lt;/code&gt; are not affected by the top, right, bottom and left properties used when positioning elements in CSS.&lt;br&gt;
Let's use the &lt;code&gt;position:static&lt;/code&gt; property in this example.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.main{
  position:static;
  top:30px;
  right:30px;
  background:red;
  padding: 15px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/mercysticks/embed/LYdjQBN?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
As we can see, the &lt;code&gt;position:static&lt;/code&gt; property has no effect on the element that was set to a static position. &lt;/p&gt;
&lt;h2&gt;
  
  
  Position: Relative
&lt;/h2&gt;

&lt;p&gt;Relative Positioning helps us to move or position our elements from its original position to anywhere we want it to be. Unlike elements positioned static, relative positioned elements are affected by the &lt;code&gt;top&lt;/code&gt;, &lt;code&gt;right&lt;/code&gt;, &lt;code&gt;bottom&lt;/code&gt;, &lt;code&gt;left&lt;/code&gt;, and &lt;code&gt;z-index&lt;/code&gt; properties. Relative positioning does not remove elements from the document flow. Relative positioned elements do not modify the document flow visually. They just simply move visually and the other elements appear where they should appear in the normal document flow. &lt;br&gt;
Using the same illustration above, we are going to change our position property on the &lt;code&gt;.main&lt;/code&gt; element to &lt;code&gt;relative&lt;/code&gt; position to help us understand how relative positioning works.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.main{
  position:relative;
  top:20px;
  right:30px;
  background:red;
  padding: 15px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/mercysticks/embed/dymzdeX?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
Notice that the right and top properties now affect the position of the element. Also notice that the element remains in the normal flow of the document and the offset is applied relative to itself. Take note of this as we move on to other values.&lt;/p&gt;
&lt;h2&gt;
  
  
  Position: Absolute
&lt;/h2&gt;

&lt;p&gt;Compared to relative positioned elements, absolute positioned elements are positioned differently. Elements that are absolute positioned are placed in relation to the nearest contained or parent element. In contrast to relative positioned elements, which are positioned according to themselves, the position of the nearest container or parent element serves as the basis for positioning absolute positioned elements. Therefore, while using absolute positioning, the parent element and the child element are constantly in play. The element to which &lt;code&gt;position:absolute&lt;/code&gt; will be applied is the child element. You should keep in mind that with absolute placement, a parent element is always involved.&lt;br&gt;
Let's get back to our example. In this case, we change the position of the main element to &lt;code&gt;position: absolute&lt;/code&gt;. We will also give its parent element &lt;code&gt;div&lt;/code&gt; a relative position so that it does not get positioned relative to the &lt;code&gt;html&lt;/code&gt; element.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div{
  position:relative;
  border:10px solid blue;
  padding:10px;
}
.main{
  position:absolute;
  bottom:70px;
  right:40px;
  background:red;
  padding: 15px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/mercysticks/embed/eYMEMGZ?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
Notice that no space was created in the document for the element. The other element immediately acted as though the &lt;code&gt;.main&lt;/code&gt; element never existed in the document flow.  The element is now positioned relative to the parent element &lt;code&gt;div&lt;/code&gt;. &lt;/p&gt;
&lt;h2&gt;
  
  
  Position:Fixed
&lt;/h2&gt;

&lt;p&gt;Similar to absolute positioned elements are fixed positioned elements. They are also excluded from the document natural flow. They are always positioned relative to the &lt;code&gt;html&lt;/code&gt;  element, unlike elements that are absolutely positioned.&lt;/p&gt;

&lt;p&gt;One thing to keep in mind is that scrolling has no impact on fixed positioned elements. On the screen, they remain in the same place at all times.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;html{
  height:800px;
}
div{
  border:10px solid blue;
  padding:10px;
}
.main{
  position:fixed;
  bottom:80px;
  left:80px;
  background:red;
  padding: 15px;
}
.child{
  background:green;
  padding:15px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/mercysticks/embed/abYyYoN?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
in this case, the &lt;code&gt;.main&lt;/code&gt; is positioned &lt;code&gt;fixed&lt;/code&gt;. Try scrolling to see that the element gets fixed on the screen.&lt;/p&gt;

&lt;p&gt;Let's move to the final value.&lt;/p&gt;
&lt;h2&gt;
  
  
  Position:Sticky
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;position: sticky&lt;/code&gt; combines &lt;code&gt;position: fixed&lt;/code&gt; and &lt;code&gt;position: relative&lt;/code&gt;. Up to a specific scroll point, it behaves as a relative positioned element; after that, it behaves as a fixed positioned element. Don't worry if you don't grasp what this implies; the example below will clarify it for you.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div{
  position:relative;
  border:10px solid blue;
  padding:10px;
}
.main{
  position:sticky;
  top:100px;
  background:red;
  padding: 15px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/mercysticks/embed/WNzEzEB?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
Scroll on the result tab to see the result. You see it acts as a relative element until it gets to a certain point on the screen, &lt;code&gt;top: 100px&lt;/code&gt; and then it gets there just like a fixed element.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;We now understand CSS positioning. I hoped this post would be helpful to you. Feel free to experiment with the codepens if you don't fully understand them. To see the impacts, try experimenting with various values. Even better, try using the position property to work on a side project. Don't forget to send in your feedbacks; I'd love to hear your thoughts.&lt;/p&gt;

&lt;p&gt;I am open to connection on &lt;a href="https://twitter.com/mercysticks" rel="noopener noreferrer"&gt;Twitter&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
