<?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: Obasi Lilian U</title>
    <description>The latest articles on Forem by Obasi Lilian U (@obasililian59cell).</description>
    <link>https://forem.com/obasililian59cell</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%2F3912717%2Fdcd8c66c-f6c2-4fe5-b374-975822ec2c6e.png</url>
      <title>Forem: Obasi Lilian U</title>
      <link>https://forem.com/obasililian59cell</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/obasililian59cell"/>
    <language>en</language>
    <item>
      <title>Week 1: Gradients, SVGs, and the Art of Consistency (#100DaysOfCode)</title>
      <dc:creator>Obasi Lilian U</dc:creator>
      <pubDate>Sun, 10 May 2026 10:45:47 +0000</pubDate>
      <link>https://forem.com/obasililian59cell/week-1-gradients-svgs-and-the-art-of-consistency-100daysofcode-46fl</link>
      <guid>https://forem.com/obasililian59cell/week-1-gradients-svgs-and-the-art-of-consistency-100daysofcode-46fl</guid>
      <description>&lt;p&gt;Status:  ✅ Complete&lt;br&gt;&lt;br&gt;
Focus: CSS Backgrounds, Borders, SVG Basics, Iframes&lt;br&gt;&lt;br&gt;
Project Highlight: The Digital Art Frame. &lt;/p&gt;

&lt;p&gt;🛠 What I Built&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Savannah Brew Menu (Live Demo)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A fully responsive café menu page.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Key Tech: Semantic HTML, CSS Grid/Inline-block, Warm Color Palette (&lt;code&gt;#F3EDE6&lt;/code&gt;, &lt;code&gt;#E8DDD0&lt;/code&gt;).  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Win: Successfully embedded live via GitHub Pages and added icons using HTML entities.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Link: &lt;a href="https://obasililian59-cell.github.io/Web-development-portfolio/savannah-brew-menu.html" rel="noopener noreferrer"&gt;Savannah Brew Menu&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;The Digital Art Frame&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A compositional experiment to test layering.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Key Tech: Linear Gradients, SVG Shapes (&lt;code&gt;&amp;lt;rect&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;circle&amp;gt;&lt;/code&gt;), Iframes. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Challenge: Positioning an iframe under an SVG frame without Flexbox (solved with negative margins for now).  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Lesson: SVG is just a coordinate system, not magic.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Portfolio Refinement&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Spent time tweaking spacing on existing projects.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Focus: Margins, padding, and border consistency.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Decision: Identified layout issues I’ll fix once I learn Flexbox (managing technical debt).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🧠 Key Takeaways&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;SVG Coordinates: Learned that &lt;code&gt;cx&lt;/code&gt;, &lt;code&gt;cy&lt;/code&gt;, and &lt;code&gt;r&lt;/code&gt; are just math instructions for position and size. Experimenting with numbers made it click faster than theory.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Layering Context: Understanding how &lt;code&gt;z-index&lt;/code&gt; and negative margins interact to create overlapping effects.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Consistency &amp;gt; Intensity: Posting daily on X, even with small updates, keeps the momentum going without burnout.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Technical Debt: It’s okay to leave a “good enough” fix in place if you know why it’s not perfect and have a plan to refactor later.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🚧 Challenges &amp;amp; Solutions&lt;br&gt;
At first, SVG shapes appeared as text, then I realized I saved the file as &lt;code&gt;.txt&lt;/code&gt; instead of &lt;code&gt;.html&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;When my text was not centering vertically in a div, I used &lt;code&gt;padding-top&lt;/code&gt; for moment; flagged Flexbox as the future fix. &lt;/p&gt;

&lt;p&gt;I actually felt overwhelmed by new concepts but then broke them down into tiny experiments (e.g., changing one coordinate at a time). &lt;/p&gt;

&lt;p&gt;🏪Next Week’s Plan&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Learning: Diving into Design Principles in CSS course.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Building: Continue refining portfolio spacing and typography.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Habit: Maintain daily X posts + Sunday Dev.to wrap-ups.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;💬 Final Thought&lt;br&gt;
"&lt;em&gt;You don’t have to see the whole staircase. Just take the first step&lt;/em&gt;."&lt;br&gt;&lt;br&gt;
This week proved that small, consistent experiments build confidence faster than waiting for perfection.&lt;br&gt;
See you in Week 2! 👋&lt;/p&gt;

</description>
      <category>learning</category>
      <category>100daysofcode</category>
      <category>webdev</category>
      <category>buildinpublic</category>
    </item>
    <item>
      <title>From Negative Margins to Clean Layouts: How I Stopped Fighting CSS</title>
      <dc:creator>Obasi Lilian U</dc:creator>
      <pubDate>Mon, 04 May 2026 20:10:15 +0000</pubDate>
      <link>https://forem.com/obasililian59cell/from-negative-margins-to-clean-layouts-how-i-stopped-fighting-css-15hd</link>
      <guid>https://forem.com/obasililian59cell/from-negative-margins-to-clean-layouts-how-i-stopped-fighting-css-15hd</guid>
      <description>&lt;p&gt;Hi everyone! 👋&lt;/p&gt;

&lt;p&gt;I'm Lilian, a frontend developer transitioning from Agricultural Science. This week, I launched my first professional portfolio hub, and I want to share a specific lesson I learned about CSS spacing that changed how I approach layouts.&lt;/p&gt;

&lt;p&gt;The Problem: Forcing Things to Fit&lt;/p&gt;

&lt;p&gt;When I was styling my portfolio, I noticed some elements felt too far apart. My quick fix? Negative margins.&lt;/p&gt;

&lt;p&gt;I wrote code like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;blockquote&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin-top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;-40px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* Pulling it up by force */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On my desktop screen, it looked perfect. But when I checked it on mobile, things started overlapping unpredictably. I was essentially "pulling elements upward by force" instead of letting them flow naturally.&lt;/p&gt;

&lt;p&gt;The Realization&lt;/p&gt;

&lt;p&gt;I realized that negative margins are often a shortcut that fights the document flow. They might solve a visual problem in one specific view, but they break easily when the screen size changes.&lt;/p&gt;

&lt;p&gt;The Solution: Working With the Flow&lt;/p&gt;

&lt;p&gt;Instead of forcing elements to move, I learned to adjust the natural spacing of the elements around them.&lt;/p&gt;

&lt;p&gt;The "pro move" I discovered:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reduce the &lt;code&gt;margin-bottom&lt;/code&gt; of the element above.&lt;/li&gt;
&lt;li&gt;Or reduce the &lt;code&gt;margin-top&lt;/code&gt; of the element below.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So instead of this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="c"&gt;/* ❌ The old way */&lt;/span&gt;
&lt;span class="nt"&gt;blockquote&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin-top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;-40px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I did this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="c"&gt;/* ✅ The new way */&lt;/span&gt;
&lt;span class="nc"&gt;.intro-section&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin-bottom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* Gentle spacing */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;span class="nt"&gt;blockquote&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;margin-top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* Natural flow */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Result&lt;/p&gt;

&lt;p&gt;My layout is now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Stable on all screen sizes.&lt;/li&gt;
&lt;li&gt;✅ Easier to maintain.&lt;/li&gt;
&lt;li&gt;✅ Predictable when I add new content.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Takeaway&lt;/p&gt;

&lt;p&gt;If you find yourself using negative margins to fix spacing, pause. Ask yourself: Am I fighting the flow?&lt;/p&gt;

&lt;p&gt;Often, the solution isn't to pull harder, but to adjust the space around the elements gently.&lt;/p&gt;

&lt;p&gt;You can see the final result of this lesson in my live portfolio here:&lt;br&gt;
🔗 &lt;a href="https://obasililian59-cell.github.io/Web-development-portfolio/" rel="noopener noreferrer"&gt;Web Development Portfolio Hub&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm still learning, but sharing these small wins helps me remember them. Thanks for reading!&lt;/p&gt;

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