Timeline into my HTML website doesn't show up
<p>The timeline starts here and ends when the CSS title starts, the timeline should have a line and bubbles going on both sides, but instead it's just plain text. It should look like this photo (from <a href="https://codyhouse.co/gem/vertical-timeline/" rel="nofollow noreferrer">https://codyhouse.co/gem/vertical-timeline/</a>):
<a href="https://i.stack.imgur.com/oA8hV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oA8hV.png" alt=""></a></p>

<p><strong>HTML</strong></p>

<pre><code>&lt;div class="container"&gt;
  &lt;h1&gt;Garfields Life&lt;/h1&gt;

  &lt;div class="timeline"&gt;
    &lt;h2&gt;1978-1980&lt;/h2&gt;   
    &lt;ul&gt;
      &lt;li&gt;
        &lt;h4&gt;Garfield&lt;/h4&gt;
        &lt;p&gt;A look at the revolutional story of the iconic comic strip&lt;/p&gt;
        &lt;time&gt;August 1978&lt;/time&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;Garfields First Comic&lt;/h4&gt;
        &lt;p&gt;The Garfield comic strip, drawn by cartoonist Jim Davis, starts in 41 U.S. newspapers.&lt;/p&gt;
        &lt;time&gt;June 1978&lt;/time&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;His Popularity Grows&lt;/h4&gt;
        &lt;p&gt;The popularity of the Garfield comic strip spreads like his waistline. It has now spread to over 100 newspapers.&lt;/p&gt;
        &lt;time&gt;June 1979&lt;/time&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;Garfields First Book&lt;/h4&gt;
        &lt;p&gt;Garfield at Large, his first book, hits #1 on The New York Times bestsellers list and stays there for nearly two years&lt;/p&gt;
        &lt;time&gt;Febuary 21,1980&lt;/time&gt;
      &lt;/li&gt;
    &lt;/ul&gt;

    &lt;h2&gt;1981-1982&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;
        &lt;h4&gt;Bestsellers List&lt;/h4&gt;
        &lt;p&gt;Three Garfield books appear simultaneously on The New York Times bestsellers list. "Garfield at large,Garfield gains weight,Garfield bigger then life"&lt;/p&gt;
        &lt;time&gt;December 1981&lt;/time&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;h3&gt;Paws Inc was established&lt;/h3&gt;
        &lt;p&gt;1981 Jim Davis starts Paws, Inc., a creative studio to handle the writing, drawing, and design for all Garfield products. The company is housed in a simple ranch house near Muncie, Indiana.&lt;/p&gt;
        &lt;time&gt;May 1982&lt;/time&gt;
       &lt;/li&gt;
    &lt;/ul&gt;

    &lt;h2&gt;1982-1983&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;
         &lt;h4&gt;1000 Newspapers&lt;/h4&gt;
        &lt;p&gt;The Garfield comic strip now appears in 1,000 newspapers.&lt;/p&gt;
        &lt;time&gt;January 1982&lt;/time&gt;
      &lt;/li&gt;
    &lt;li&gt;
    &lt;h4&gt;First TV Special&lt;/h4&gt;
      &lt;p&gt;Garfield’s first animated television special, "Here Comes Garfield", airs on October 25, 1982. At the animation studio, Jim Davis was having trouble animatating Garfield dancing on tiny cat feet. Charles Schulz, creator of Peanuts, who happened to be working in the same studio, solved Jim's problem by suggesting that Garfield stand upright on bigger feet&lt;/p&gt;
       &lt;time&gt;January 1982&lt;/time&gt;
        &lt;/li&gt;
    &lt;li&gt;
       &lt;h4&gt;Bestsellers List Again.&lt;/h4&gt;
      &lt;p&gt;Seven Garfield books appear simultaneously on The New York Times bestsellers list the record has still never been reached&lt;/p&gt;
      &lt;time&gt;    November 1982&lt;/time&gt;
        &lt;/li&gt;
    &lt;li&gt;
      &lt;h4&gt;Peoples Magazine Cover&lt;/h4&gt;
      &lt;p&gt;Garfield makes the cover of People magazine as America’s #1 personality and announces the debut of his first television special.&lt;/p&gt;
      &lt;time&gt;November 1982&lt;/time&gt;
      &lt;/li&gt;
    &lt;li&gt;
      &lt;h4&gt;Garfield Goes Worldwide&lt;/h4&gt;
      &lt;p&gt;The comic strip now appears in over 1,400 newspapers in 22 countries and is translated into seven languages.&lt;/p&gt;
      &lt;time&gt;January-December 1983&lt;/time&gt;     
      &lt;/li&gt;
    &lt;/ul&gt;   
    &lt;h2&gt;1984-1986&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;
        &lt;h4&gt;First TV Commercial&lt;/h4&gt;
        &lt;p&gt;Garfield and Jim Davis star in the humorous American Express "Do You Know Me?" TV commercial.&lt;/p&gt;
        &lt;time&gt;January 1984&lt;/time&gt;
         &lt;/li&gt;
    &lt;li&gt;
        &lt;h4&gt;Garfield Wins Emmy&lt;/h4&gt;
      &lt;p&gt;The second animated television special, Garfield on the Town, garners Jim Davis his first of four Emmy Awards.&lt;/p&gt;
      &lt;time&gt;    May 1984&lt;/time&gt;
       &lt;/li&gt;
    &lt;li&gt;
      &lt;h4&gt;Macy's Thanksgiving Day Parade&lt;/h4&gt;
      &lt;p&gt;Garfield gets a big head as the giant Garfield helium balloon makes its first appearance in the Macy’s Annual Thanksgiving Day Parade.&lt;/p&gt;
      &lt;time&gt;November 1984&lt;/time&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;Garfield's Second Emmy!&lt;/h4&gt;
        &lt;p&gt;The third animated television special, Garfield in the Rough, wins an Emmy Award for Outstanding Animated Program.&lt;/p&gt;
        &lt;time&gt;September 1985&lt;/time&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;Fastest-Growing Comic Strip&lt;/h4&gt;
        &lt;p&gt;The comic strip now appears in 1,800 newspapers and is called "the fastest-growing comic strip in history.&lt;/p&gt;
          &lt;time&gt;January 1986&lt;/time&gt;
        &lt;/li&gt;
       &lt;li&gt;
         &lt;h4&gt;Garfield in Paradise&lt;/h4&gt;
         &lt;p&gt;His fifth television special, Garfield in Paradise, airs on CBS primetime. "This is my favorite Garfield special." - Jim Davis &lt;/p&gt;
         &lt;time&gt;May 1986&lt;/time&gt;       
      &lt;/li&gt;
    &lt;/ul&gt;   
    &lt;h2&gt;1986-1989&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;
        &lt;h4&gt;Another Year, Another Emmy!&lt;/h4&gt;
          &lt;p&gt;Garfield takes home his third Emmy Award for his fourth television special, Garfield’s Halloween Adventure. &lt;/p&gt;
          &lt;time&gt;September 1986&lt;/time&gt;
       &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;Stuck on You: The Phenomenon&lt;/h4&gt;
        &lt;p&gt;The grinning orange cat suction-cupped to a car window was a best seller, showing up in cars, buses, trains and planes all over the world. More than just a fad, the "Stuck on You" Garfield craze was a full-blown phenomenon, and tens of millions were sold between 1987 and 1989.&lt;/p&gt;
        &lt;time&gt;November 1987&lt;/time&gt;
        &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;Garfield in the Rose Bowl Parade&lt;/h4&gt;
        &lt;p&gt;A new marigold was developed by Burpee to honor the 10th birthday of the popular comic character Garfield on June 19. The exclusive hybrid, which matches Garfield's exact shade of orange, was introduced at the Tournament of Roses Parade in Pasadena on Jan. 1, 1988. More than 100,000 of the flowers were used to decorate the feline's float in the parade. &lt;/p&gt;
        &lt;time&gt;  January 1988&lt;/time&gt;
        &lt;/li&gt;
      &lt;li&gt;
        &lt;h4&gt;Happy Birthday, Garfield&lt;/h4&gt;
          &lt;p&gt;Happy Birthday, Garfield is an hour-long television special on CBS celebrating the tenth anniversary of the Garfield comic strip. This behind-the-scenes special is hosted by Garfield creator, Jim Davis.&lt;/p&gt;
          &lt;time&gt;May 1988&lt;/time&gt;
           &lt;/li&gt;    
          &lt;li&gt;
        &lt;h4&gt;Garfield and Friends Debuts&lt;/h4&gt;
        &lt;p&gt;Garfield and Friends, an animated television show starring Garfield, debuts on CBS Saturday mornings. Each half-hour episode contains two Garfield cartoons and one U.S. Acres cartoon. Most shows also featured a number of "Garfield Quickies," which were super-short comedy vignettes that acted as info between the stories. &lt;/p&gt;
        &lt;time&gt;  October 1988&lt;/time&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;Garfield's Fourth Emmy!&lt;/h4&gt;
            &lt;p&gt;Garfield’s Babes &amp; Bullets wins yet another Emmy Award for Outstanding Animated Program, closing out a decade of domination. Created in the style of classic film noir, Babes &amp; Bullets featured Garfield as Sam Spayed, a tough-talking private eye beset with babes and bruisers as he tries to solve a murder case.&lt;/p&gt;
            &lt;time&gt;September 1989&lt;/time&gt;
            &lt;/li&gt;
          &lt;/ul&gt;   
          &lt;h2&gt;1992-1997&lt;/h2&gt;
          &lt;ul&gt;
          &lt;li&gt;
            &lt;h4&gt;Garfield Goes Green&lt;/h4&gt;
            &lt;p&gt;Reflecting Jim Davis' avid concern for the environment, the orange cat goes green. Jim and Garfield campaign for wetlands restoration and also work with the National Wildlife Federation to create "schoolyard habitats" where students can learn about nature.&lt;/p&gt;
              &lt;time&gt;January 1992&lt;/time&gt;
             &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;Mrs. Bush's Story Time&lt;/h4&gt;
            &lt;p&gt;Garfield joins First Lady Barbara Bush as a guest on the ABC national radio program, Mrs. Bush's Story Time. One million children and their parents listen to Mrs. Bush and Garfield read some of the nation's best-loved children's books.&lt;/p&gt;
            &lt;time&gt;March     1993&lt;/time&gt;
             &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;Garfield Bookmobile&lt;/h4&gt;
            &lt;p&gt;Garfield hitches a ride on the Muncie Public Library Bookmobile. The first of many libraries on wheels to use the image of Garfield to promote reading.&lt;/p&gt;
            &lt;time&gt;April 1994&lt;/time&gt;
            &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;"Cool Cat"&lt;/h4&gt;
            &lt;p&gt;In Germany, Garfield’s music CD, "Cool Cat," tops the charts. An animated music video is produced featuring Garfield as a dancing rock star and record-spinning DJ with various other cats as backup singers.&lt;/p&gt;
            &lt;time&gt;March-May 1995&lt;/time&gt;
            &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;Orange Bowl Parade&lt;/h4&gt;
            &lt;p&gt;A dapper and large Garfield balloon heads south to appear in his first Orange Bowl parade.&lt;/p&gt;
            &lt;time&gt;January 1996&lt;/time&gt;
             &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;Indianapolis 500 Parade&lt;/h4&gt;
            &lt;p&gt;Garfield and Jim Davis rev up for fun as Grand Marshals for the Indianapolis 500 Parade. The auto race, held in Jim's home state of Indiana, is one of the premiere motorsports events in the world.&lt;/p&gt;
            &lt;time&gt;May 1996&lt;/time&gt;
             &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;Big, Fat, Hairy Website&lt;/h4&gt;
            &lt;p&gt;Garfield's first website, www.garfield.com, makes its worldwide debu&lt;/p&gt;
            &lt;time&gt;  December 1996&lt;/time&gt;
             &lt;/li&gt;
           &lt;li&gt;
             &lt;h4&gt;So Much Stuff...So Little Time&lt;/h4&gt;
             &lt;p&gt;The fat cat launches his first catalog, Garfield STUFF®! Shopping...it's not just for Christmas anymore!&lt;/p&gt;
             &lt;time&gt;1997-2016&lt;/time&gt;

      &lt;/li&gt;
    &lt;/ul&gt;   
    &lt;h2&gt;2000&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;
             &lt;h4&gt;Theme park&lt;/h4&gt;
             &lt;p&gt;The Garfield and Odie mascots find cool new summer hangouts at two amusement parks: Kennywood Park in Pennsylvania and Lake Compounce in Connecticut.&lt;/p&gt;
             &lt;time&gt;April 2000&lt;/time&gt;
             &lt;/li&gt;
           &lt;li&gt;
             &lt;h4&gt;Garfield Games&lt;/h4&gt;
             &lt;p&gt;Garfield plays around on his new game website www.garfieldgames.com.&lt;/p&gt;
             &lt;time&gt; 2001-Now&lt;/time&gt;
            &lt;/li&gt;
           &lt;li&gt;
             &lt;h4&gt;Garfield Sets a World Record&lt;/h4&gt;
             &lt;p&gt;"Garfield: Most Widely Syndicated Comic Strip in the World," declares the Guinness Book of World Records.&lt;/p&gt;
             &lt;time&gt;January 2002&lt;/time&gt;
             &lt;/li&gt;
            &lt;li&gt;
              &lt;h4&gt;Garfield Turns 25&lt;/h4&gt;
              &lt;p&gt;Garfield celebrates a quarter-century of cattitude with a 12-city book tour to debut a new book, Garfield at 25: In Dog Years I’d Be Dead. There's also a week-long birthday cruise for fans and a three-day "Fan Birthday Bash" in Muncie, Indiana that includes a Fur Ball, a parade, and an exhibit of 25 Garfield statues designed and decorated by local artisans.&lt;/p&gt;
              &lt;time&gt;June 2003&lt;/time&gt;

      &lt;/li&gt;
    &lt;/ul&gt;   
    &lt;h2&gt;2004-2012&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;
              &lt;h4&gt;Garfield: The Movie&lt;/h4&gt;
              &lt;p&gt;Garfield: The Movie is the first-ever full-length, live-action/CGI feature film that stars the fat cat and a dimwitted dog named Odie! The movie appears in theaters worldwide and features a cast that includes Breckin Meyer as Jon Arbuckle; Jennifer Love Hewitt as Liz, the veterinarian; and Bill Murray as the voice of Garfield.&lt;/p&gt;
              &lt;time&gt;June 2004&lt;/time&gt;
               &lt;/li&gt;
            &lt;li&gt;
              &lt;h4&gt;Garfield: A Tail of Two Kitties&lt;h4&gt;
              &lt;p&gt;The sequel to Garfield: The Movie debuts. It’s Garfield: A Tail of Two Kitties. Together, the two films gross over $340 million at the box office. In fact, A Tail of Two Kitties becomes the most popular animated feature EVER released in China!&lt;/p&gt;
              &lt;time&gt;June 2006&lt;/time&gt;
              &lt;/li&gt;
            &lt;li&gt;
              &lt;h4&gt;Garfield Gets Real is Released&lt;/h4&gt;
              &lt;p&gt;Jim Davis serves as writer and producer of a new direct-to-video movie, Garfield Gets Real. This is the first of three DTV movies to be produced by Davis.&lt;/p&gt;
              &lt;time&gt;September 2007&lt;/time&gt;
              &lt;/li&gt;
            &lt;li&gt;
              &lt;h4&gt;Voilà! A New TV Show!&lt;/h4&gt;
              &lt;p&gt;Garfield celebrates his 30th birthday with a brand-new animated television show, Garfield et Cie (The Garfield Show), which debuts on the France 3 network. The fully-animated half-hour show is a production of Paws, Inc. and Dargaud Media, a Paris-based animation and publishing company.&lt;/p&gt;
               &lt;time&gt;November 2008&lt;/time&gt;
              &lt;/li&gt;
            &lt;li&gt;

              &lt;h4&gt;Voted the Best!&lt;/h4&gt;
              &lt;p&gt;People magazine names The Garfield Show one of the best new kids' shows for 2009! &lt;/p&gt;
              &lt;time&gt;    
              December 2009&lt;/time&gt;
              &lt;/li&gt;
            &lt;li&gt;
              &lt;h4&gt;The Garfield Show in Japan&lt;/h4&gt;
              &lt;p&gt;Cartoon Network launches The Garfield Show in Japan and Asia.&lt;/p&gt;
              &lt;time&gt;2012-Present&lt;/time&gt;
               &lt;/li&gt;
    &lt;/ul&gt;   
    &lt;h2&gt;2012-Present&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;
        &lt;h4&gt;A Classic Is Back&lt;h4&gt;
            &lt;p&gt;The classic animated TV show from the '80s and '90s, Garfield and Friends, is released digitally to an eager audience on the video service website HULU.&lt;/p&gt;
          &lt;time&gt;    May 2012&lt;/time&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;Facebook&lt;/h4&gt;
            &lt;p&gt;Garfield surpasses the 10 million fan mark on Facebook. It’s clear the world really Likes Garfield!&lt;/p&gt;
            &lt;time&gt;July 2013&lt;/time&gt;
            &lt;/li&gt;
          &lt;li&gt;
            &lt;h4&gt;35 Years of Fat Cat Fun!&lt;/h4&gt;
            &lt;p&gt;Garfield celebrates his 35th birthday in style with a brand-new book: a special collection of Sunday comics, handpicked and annotated by creator Jim Davis.&lt;/p&gt;

            &lt;time&gt;November 2013&lt;/time&gt;

       IM DYING OMG I HAVE TO ADD MORE WRITNG TO POST THIS UHGHGHG

  &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p><strong>CSS</strong>
The key reason why this isn't working I suspect is the import compass/css3 code isn't working</p>

<pre><code>    @import "compass/css3";

    $gray: #dddddd;

    h1, h2, h3 {
      font-weight: 300;
    }

    .container {
      padding: 1em;
    }

    .timeline {
      position: relative;
      overflow: auto;

      &amp;:before {
        content: '';
        position: absolute;
        height: 100%;
        width: 5px;
        background: $gray;
        left: 0;
      }

      h2 {
        background: $gray;
        max-width: 6em;
        margin: 0 auto 1em;
        padding: 0.5em;
        text-align: center;
        position: relative;
        clear: both;
      }

      ul {
        list-style: none;
        padding: 0 0 0 1em;
        z-index: 1;
      }

      li {
        background: $gray;
        padding: 1em;
        margin-bottom: 1em;
        position: relative;

        &amp;:before {
          content: '';
          width: 0;
          height: 0;
          border-top: 1em solid $gray;
          border-left: 1em solid transparent;
          position: absolute;
          left: -1em;
          top: 0;
        }
      }

      h3 {
        margin-top: 0;
      }

      time {
        font-style: italic;
      }
    }

    @media screen and (min-width: 40em) {
      .container {
        max-width: 1000px;
        margin: 0 auto;
      }

      .timeline {
        &amp;:before {
          left: 50%;
        }

        ul {
          padding-left: 0;
          max-width: 700px;
          margin: 0 auto;
        }

        li {
          width: 42%;
        }

        li:nth-child(even) {
          float: right;
          margin-top: 2em;
        }

        li:nth-child(odd) {
          float: left;

          &amp;:before {
            border-top: 1em solid $gray;
            border-right: 1em solid transparent;
            right: -1em;
            left: auto;
          }
        }

        li:nth-of-type(2n+1) {
          clear: both;
        }
      }
    }
</code></pre>