<?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: Burooj</title>
    <description>The latest articles on DEV Community by Burooj (@beejsbj).</description>
    <link>https://dev.to/beejsbj</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%2F837399%2F739cf1a2-ee85-4362-a719-29bb76760ee0.jpeg</url>
      <title>DEV Community: Burooj</title>
      <link>https://dev.to/beejsbj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/beejsbj"/>
    <language>en</language>
    <item>
      <title>Trying to recreate Apple's homepage</title>
      <dc:creator>Burooj</dc:creator>
      <pubDate>Tue, 29 Mar 2022 14:26:31 +0000</pubDate>
      <link>https://dev.to/beejsbj/trying-to-recreate-apples-homepage-fop</link>
      <guid>https://dev.to/beejsbj/trying-to-recreate-apples-homepage-fop</guid>
      <description>&lt;p&gt;So in yesterday's lesson, we were tasked with picking a site that's just out of reach of our abilities.&lt;/p&gt;

&lt;p&gt;but after staring at the page for more than 30mins, I asked for help, and Derek suggested trying to recreate apple.com&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KdbUMLNm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j76usl8usykj6ea0zsav.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KdbUMLNm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j76usl8usykj6ea0zsav.jpeg" alt="apple site" width="880" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;hoo-boy.&lt;/p&gt;

&lt;h2&gt;
  
  
  where do I even start?
&lt;/h2&gt;

&lt;p&gt;When I finally sat down to tackle this, I stared at the site for a bit. Changed the size of the window, trying to feel the site out. feel out where the different parts of the sites are.&lt;/p&gt;

&lt;p&gt;How I am to rebuild this smooth monstrosity.&lt;/p&gt;

&lt;p&gt;eventually, I realized its way too much to think about and then just opened my code editor and built out a master layout shell that we had learnt while doing &lt;a href="https://codepen.io/beejsbj/pen/xxpgYLy"&gt;Uncle Bill's site&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;then I went at it one section at a time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Header
&lt;/h2&gt;

&lt;p&gt;this guy is the one I spent the most time with. &lt;br&gt;
lotsa typing, all the icons for the images, finding the right apple icon, search icon, ~bag icon~&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Nv9rROCM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oyf48fgaky93n2yazw9i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Nv9rROCM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oyf48fgaky93n2yazw9i.png" alt="my header" width="880" height="35"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;for whatever reason, Me from that time chose to use Ul/li to build the navigation bar. I think I might have seen that in the source code of apple's site.&lt;/p&gt;

&lt;p&gt;but later I just realized using nav would have been much better. &lt;/p&gt;

&lt;p&gt;because I had to turn it inline anyway and switch to block only on a smaller viewport. &lt;/p&gt;

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

&lt;p&gt;HTML seems to take so little time at the end of the day. it's always the CSS that I find needs to be constantly worked on. maybe, with experience ill be able to fully visualize what the CSS is doing. currently, I'm able to do it at a very limited capacity. &lt;/p&gt;

&lt;p&gt;I think I'm FINALLY intuiting the difference between padding and margin. so, yay for that.&lt;/p&gt;

&lt;h2&gt;
  
  
  landing
&lt;/h2&gt;

&lt;p&gt;this was relatively simple. I did spend a while here as well, but mostly because I was trying to figure out how the whole section is a link, but also has links within to other places. I managed to figure out that you can in fact put a div inside an a, but that didn't &lt;em&gt;really&lt;/em&gt; recreate it the way apple had done it.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--i9UmDhlb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k83i53vga7c4wvhkajdh.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i9UmDhlb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k83i53vga7c4wvhkajdh.jpeg" alt="landing" width="880" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;some time was spent looking for images for the site.&lt;/p&gt;

&lt;p&gt;making it so that it shrunk when it was smaller.&lt;/p&gt;

&lt;p&gt;Apple's image changes when we shrink its site. I think I later realized they might be using @media to just switch the image?&lt;/p&gt;

&lt;h2&gt;
  
  
  this leads me into the coda section
&lt;/h2&gt;

&lt;p&gt;apple's image here seems to be dynamic, it's the same image, that gets wide, and then when shrunk also has this bottom part that comes in.&lt;br&gt;
I wasn't able to recreate it. &lt;br&gt;
Derek mentioned that it is likely a background image, which I too suspected. &lt;br&gt;
but I wasn't able to get it to work.&lt;/p&gt;

&lt;p&gt;eventually, I decided to solve it by using two different images.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ucP3DubL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gzjdf92udt9699gxgnwa.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ucP3DubL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gzjdf92udt9699gxgnwa.jpeg" alt="coda wide" width="880" height="244"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;first, I thought I could have them be IMG tags and then switch them out with @media...OH.&lt;br&gt;
but that only works with CSS? hmm.&lt;/p&gt;

&lt;p&gt;I think what I eventually settled on was convoluted. &lt;br&gt;
I had the wide image as an HTML tag, that has its opacity reduced to 0 when the viewport is shrunk.&lt;br&gt;
and the background of this section (where the IMG tag lives) is the height-focused image.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rBM_dN3B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jzynw82urpeep9xmu9hv.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rBM_dN3B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jzynw82urpeep9xmu9hv.jpeg" alt="coda small" width="486" height="692"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;as I type this I realized I could have used @media to do the same, and it would just switch out the background image.&lt;/p&gt;

&lt;h2&gt;
  
  
  Grid
&lt;/h2&gt;

&lt;p&gt;when I got here I realized these are basically like the landing page sections, but smaller and share space.&lt;/p&gt;

&lt;p&gt;so I ended up renaming some class names and named them all cards.&lt;br&gt;
since they all shared the styling and structure within.&lt;/p&gt;

&lt;p&gt;I hosted these divs within another list. &lt;/p&gt;

&lt;p&gt;John's site too had it in this structure. and Derek had linked a site about early grid stuff.&lt;br&gt;
I tried to look through them but wasn't able to really figure out what to do.&lt;br&gt;
I was also getting really really tired.&lt;br&gt;
so I decided to settle on inline-blocks.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--E0O5oyBp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8oqr6tc6qhhygomajf02.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--E0O5oyBp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8oqr6tc6qhhygomajf02.jpeg" alt="grid wide" width="880" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;_At least they look fine-ish on phone...&lt;br&gt;
_&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jkzoZLxy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oistribtdx16go4lfe5x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jkzoZLxy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oistribtdx16go4lfe5x.png" alt="grid small" width="485" height="1287"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  footer
&lt;/h2&gt;

&lt;p&gt;I was at the end of my rope.&lt;br&gt;
sleepy and tired. sad about my second road test failure because I didn't look over my shoulder and almost ran into another car (even though this never happens when I'm alone.... I suck at tests). and now trying to recreate apple's site. wanting to do it perfectly and sad that I can't because they are obviously using magic.&lt;/p&gt;

&lt;p&gt;so I just copy-pasted the text into &lt;/p&gt;
&lt;p&gt;s and styled it appropriately. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FEzalyWB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zlzcpm4100k5d0rwuo5p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FEzalyWB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zlzcpm4100k5d0rwuo5p.png" alt="boring footer" width="753" height="255"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;did some final touchings and called it a night.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>The truth of Fact, The truth of Feeling</title>
      <dc:creator>Burooj</dc:creator>
      <pubDate>Sun, 27 Mar 2022 01:21:42 +0000</pubDate>
      <link>https://dev.to/beejsbj/the-truth-of-fact-the-truth-of-feeling-2m3l</link>
      <guid>https://dev.to/beejsbj/the-truth-of-fact-the-truth-of-feeling-2m3l</guid>
      <description>&lt;p&gt;So as im reading through Exhalations(see first weekly review) i come across the short story titled the title. &lt;/p&gt;

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

&lt;p&gt;First of all, it’s a great story. Second its about Language and Cognition. so even better.&lt;/p&gt;

&lt;p&gt;two things i’m really really into.&lt;/p&gt;

&lt;p&gt;it feels like no one really talks about stuff related to it, like say, the first person internal experience of feeling the passage of time and aging. &lt;/p&gt;

&lt;p&gt;No one talks about the experience of self when speaking different languages.I moved to Canada 6 years ago, and since then i’ve not gotten (or let myself) speak in other languages, i understand 2-3 more on top of english, and suck at speaking/writing them. (always been better at listening/reading over speaking/writing. idkwhy🤷)&lt;/p&gt;

&lt;p&gt;but a week or so ago i spoke a few words in Urdu while driving in my car alone. &lt;/p&gt;

&lt;p&gt;and it felt weird…&lt;/p&gt;

&lt;p&gt;i felt like i was a different person in that moment. &lt;/p&gt;

&lt;p&gt;that no one talks about that. i guess people take it for granted, or dont bother noticing it cause its not really practical. idk.&lt;/p&gt;

&lt;p&gt;This story had something of that going on in it.&lt;/p&gt;

&lt;p&gt;it deals with how cognition changes because of technology. &lt;/p&gt;

&lt;p&gt;how the invention of writing affected oral cultures. &lt;/p&gt;

&lt;p&gt;how the invention of AI-based Video recorded history changes your memories. reveals how fabricated your own sense of reality truly is. how we create narratives through reshaping pieces of our memories to support the current version of our self.&lt;/p&gt;

&lt;p&gt;theres this moment in the book, where an individual from a writing culture starts teaching someone, an adult, writing,&lt;/p&gt;

&lt;p&gt;and he had to explain what a word is,,&lt;/p&gt;

&lt;p&gt;that reaaallly got me thinking about how this guy is weird for not knowing words when he is speaking them, not being able to notice what he is speaking.&lt;/p&gt;

&lt;p&gt;but my brain chewed on it more and more and realized, to him all he is making is a smooth stream of sounds, not unlike music.&lt;/p&gt;

&lt;p&gt;it also got me thinking about web design. &lt;/p&gt;

&lt;p&gt;and how that in itself is language, a tool for communication. &lt;/p&gt;

&lt;p&gt;where you have to setup pages to convey a certain feel, &lt;/p&gt;

&lt;p&gt;transmit certain information, in a specific ways. &lt;/p&gt;

&lt;p&gt;how me learning about how a web page works behind the scenes, and how i’m now able to glimpse the “words”, the “divs”. &lt;/p&gt;

&lt;p&gt;I wonder how malleable cognition truly is. surely theres a cap, its evolved in a specific environment to do specific things. &lt;/p&gt;

&lt;p&gt;I wonder about Musicians, or people who know music, and if they listen to music the way i listen to English, distinguishing distinct “words”. &lt;/p&gt;

&lt;p&gt;I know after learning how to do counts for dancing, that im definitely able to distinguish the “beats” as different divs. &lt;/p&gt;

&lt;p&gt;sigh…&lt;/p&gt;

&lt;p&gt;the worst part is that even if i learn Music theory, my mind will change slowly, and adapt through the whole process. i wish i could just Know a whole language, so i can just compare and contrast the first person subjective experiences…&lt;/p&gt;

&lt;p&gt;the qualia&lt;/p&gt;

&lt;p&gt;Dictionary of Obscure Sorrows: Onism&lt;/p&gt;

&lt;p&gt;imo this is what great scifi does, instills &lt;/p&gt;

&lt;p&gt;Wonder and Awe.&lt;/p&gt;

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