<?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: Luis Mendoza</title>
    <description>The latest articles on DEV Community by Luis Mendoza (@lmendev).</description>
    <link>https://dev.to/lmendev</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%2F600447%2F3a5a6193-7828-4943-820b-372d88cb639c.jpeg</url>
      <title>DEV Community: Luis Mendoza</title>
      <link>https://dev.to/lmendev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lmendev"/>
    <language>en</language>
    <item>
      <title>🖥️ Cloning an early 00's website using modern HTML + CSS</title>
      <dc:creator>Luis Mendoza</dc:creator>
      <pubDate>Tue, 27 Apr 2021 20:13:59 +0000</pubDate>
      <link>https://dev.to/lmendev/cloning-an-early-00-s-website-using-modern-html-css-37f9</link>
      <guid>https://dev.to/lmendev/cloning-an-early-00-s-website-using-modern-html-css-37f9</guid>
      <description>&lt;p&gt;2000's were a chaotic-beautiful decade to be a web dev.&lt;/p&gt;

&lt;h2&gt;
  
  
  A retro story
&lt;/h2&gt;

&lt;p&gt;When I was young, I usually tried to write some HTML with Inline Styles using a book that an uncle lent me. &lt;/p&gt;

&lt;p&gt;I used to go to my computer, open notepads and write code like this everyday after school:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
 html
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Famous Dinosaurs&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body style="background: darkgreen; color: white;"&amp;gt;
    &amp;lt;h1&amp;gt;The Top 10 Famous Dinosaurs&amp;lt;/h1&amp;gt;

    &amp;lt;img src="link/to/some/amazing-banner.jpg" 
        alt="Oops something went wrong!"&amp;gt;

    &amp;lt;!--how to forget the marquee 💚 --&amp;gt;
    &amp;lt;marquee&amp;gt;Woo, its moving :O :D&amp;lt;/marquee&amp;gt; 

    &amp;lt;p&amp;gt;Dinosaurs are awesome and the best are:&amp;lt;/p&amp;gt;

    &amp;lt;ul&amp;gt;
        &amp;lt;li&amp;gt;T-Rex&amp;lt;/li&amp;gt;
        &amp;lt;li&amp;gt;Velociraptor&amp;lt;/li&amp;gt;
        &amp;lt;li&amp;gt;Triceratops&amp;lt;/li&amp;gt;
    &amp;lt;/ul&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Results of those days:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/pNREvhpaRaFCA9S6z2/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/pNREvhpaRaFCA9S6z2/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;center&gt;...&lt;/center&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/it6W8D4FfvaPC/source.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/it6W8D4FfvaPC/source.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But I wanted my pages to look more like these:&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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Fdragon-ball-z.jpg" 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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Fdragon-ball-z.jpg" alt="retro example dragon ball z screenshot"&gt;&lt;/a&gt;&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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Ffox-kids.jpg" 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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Ffox-kids.jpg" alt="retro example fox kids screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So.. I studied computer science and 20 years later I come here to not disappoint my 2000 self version. 😠&lt;/p&gt;

&lt;h2&gt;
  
  
  The design
&lt;/h2&gt;

&lt;p&gt;Using &lt;a href="https://archive.org/" rel="noopener noreferrer"&gt;Wayback Machine&lt;/a&gt; I chose this Cartoon Network version:&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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Fcn-wbmachine.jpg" 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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Fcn-wbmachine.jpg"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Identifying the structure
&lt;/h2&gt;

&lt;p&gt;Mainly, the website has its header, nav, main, and footer sections.&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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Fcn-wbmachine-structure.jpg" 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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fretro-examples%2Fcn-wbmachine-structure.jpg"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Code
&lt;/h2&gt;

&lt;p&gt;Now, this is the basic HTML code&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
 html
&amp;lt;h1&amp;gt;Cartoon Network 2000 Clone&amp;lt;/h1&amp;gt;

&amp;lt;header&amp;gt;    
    &amp;lt;section id="header-banner"&amp;gt; .. &amp;lt;/section&amp;gt;

    &amp;lt;section id="plugins"&amp;gt; .. &amp;lt;/section&amp;gt;

    &amp;lt;nav&amp;gt;
        &amp;lt;section id="characters-search"&amp;gt;
            &amp;lt;label for="characters"&amp;gt;
                Choose a character:
                &amp;lt;select name="characters" id="characters"&amp;gt;
                    &amp;lt;option value="" selected disabled&amp;gt;Choose&amp;lt;/option&amp;gt;
                    &amp;lt;option value="Bugs Bunny"&amp;gt;Bugs Bunny&amp;lt;/option&amp;gt; 
                                .. 
                    &amp;lt;option value="Scooby-Doo"&amp;gt;Scooby-Doo&amp;lt;/option&amp;gt;
                &amp;lt;/select&amp;gt;
            &amp;lt;/label&amp;gt;

            &amp;lt;label for="search"&amp;gt;
                Search:
                &amp;lt;input type="text" name="search" id="search"&amp;gt;
                &amp;lt;button&amp;gt;Go&amp;lt;/button&amp;gt;
            &amp;lt;/label&amp;gt;
        &amp;lt;/section&amp;gt;

        &amp;lt;ul id="nav-menu"&amp;gt;
            &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
                        ..
            &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Tv&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
        &amp;lt;/ul&amp;gt;
    &amp;lt;/nav&amp;gt;
&amp;lt;/header&amp;gt;

&amp;lt;main&amp;gt;
    &amp;lt;section id="spotlight"&amp;gt; .. &amp;lt;/section&amp;gt;

    &amp;lt;section id="characters"&amp;gt; .. &amp;lt;/section&amp;gt;

    &amp;lt;section id="featured"&amp;gt;
        &amp;lt;article&amp;gt;
            &amp;lt;img src="./assets/img/shop-cn.gif" alt=""&amp;gt;
            &amp;lt;p&amp;gt;Free shipping on Your First Order &amp;lt;a href="#"&amp;gt;Click Here for Details&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;    
        &amp;lt;/article&amp;gt;
            ..
        &amp;lt;article&amp;gt;
            &amp;lt;img src="./assets/img/jbvo.gif" alt=""&amp;gt;
            &amp;lt;p&amp;gt;&amp;lt;a href="#"&amp;gt;Click Here!&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;
        &amp;lt;/article&amp;gt;
    &amp;lt;/section&amp;gt;
&amp;lt;/main&amp;gt;

&amp;lt;footer&amp;gt;
    &amp;lt;section id="legalities"&amp;gt; .. &amp;lt;/section&amp;gt;
    &amp;lt;section id="footer-banner"&amp;gt; .. &amp;lt;/section&amp;gt;
    &amp;lt;section id="copyright-information"&amp;gt; .. &amp;lt;/section&amp;gt;
&amp;lt;/footer&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;And adding some magic CSS that is all available on the &lt;a href="https://github.com/Lmendev/CartoonNetwork-2000-Clone" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt; (if you want to check it out), the result is this:&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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fscreenshots%2Fcn-2000-desktop.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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fscreenshots%2Fcn-2000-desktop.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Mobile version.. Why not?
&lt;/h2&gt;

&lt;p&gt;Also I created a mobile version. &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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fscreenshots%2Fcn-2000-mobile.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%2Fraw.githubusercontent.com%2FLmendev%2FCartoonNetwork-2000-Clone%2Fmain%2Fassets%2Fscreenshots%2Fcn-2000-mobile.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If we had smartphones in the 00's, it would have looked something like this. I think, who knows?...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/l36kU80xPf0ojG0Erg/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/l36kU80xPf0ojG0Erg/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can compare original vs clone here:&lt;br&gt;
&lt;a href="https://web.archive.org/web/20001019035652/http://www.cartoonnetwork.com/index.getflash.html" rel="noopener noreferrer"&gt;Original&lt;/a&gt; vs &lt;a href="https://lmendev.github.io/CartoonNetwork-2000-Clone/" rel="noopener noreferrer"&gt;Clone&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks a lot for reading my post and code!&lt;br&gt;
&lt;a href="https://i.giphy.com/media/Z9hnT4PsD3fwisOfHP/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/Z9hnT4PsD3fwisOfHP/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/Lmendev/CartoonNetwork-2000-Clone" rel="noopener noreferrer"&gt;Github&lt;/a&gt;&lt;br&gt;
Deploy: &lt;a href="https://lmendev.github.io/CartoonNetwork-2000-Clone/" rel="noopener noreferrer"&gt;Webpage Clone&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Social
&lt;/h2&gt;

&lt;p&gt;Follow me on my social networks&lt;br&gt;
I usually share code and some memes&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/intent/follow?screen_name=Lmendev" rel="noopener noreferrer"&gt;&lt;br&gt;
  &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fuser-images.githubusercontent.com%2F7629661%2F87821427-202e0280-c870-11ea-9e38-8c7c74856753.png" alt="Follow @Lmendev on Twitter" title="Follow @lmendoza92 on Twitter"&gt;&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Like and comment to stay in touch! 😃&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>retro</category>
      <category>story</category>
    </item>
  </channel>
</rss>
