var root = document.body

var count = 0;



var Splash = {

    view: function() {

        return m("splash", {
            class: "color-primary-4"
        }, [

            m("h1.w3-container.w3-center.w3-jumbo", "Happy Valentine's Day"),
            m("h2.w3-container.w3-panel.w3-center.w3-xxlarge", "I love you and it’s getting worse"),
            m("h3.w3-container.w3-center.w3-xlarge", "Find out how you can help"),
            m("a.w3-container.w3-btn-block.w3-theme-d4.w3-jumbo", {
                href: "#!/one"
            }, "Enter Here"),

        ])
    }
}

var pageOne = {

    view: function() {

        return m("main", [
            m("h1.w3-center", {
                class: "pageonetitle"
            }, "How much do you love me?"),
            m("button.w3-btn-block", {
                    onclick: function() {
                        if (count < 100) count++;
                        else if (count === 100) location.href = '#!/two'
                    }
                },
                count + " %"),
        ])
    }
}

var pageTwo = {

    view: function() {
        return m("two", [
            m("h1.w3-center", "Aw you love me that much, huh?"),
            m("h2.w3-center", "here this is for you:"),
            m("a[href='#!/splash']",
                m("img.w3-container[alt='heart'][src='public/imgs/Love_Heart_SVG.svg.png']", {
                    style: {
                        "display": "block",
                        "margin": "auto",
                        "width": "auto",
                        "height": "500px",
                        "border": "0"
                    }
                })),
            m("p.w3-center", "click me"),
        ])
    }
}

m.route(root, "/splash", {
    "/splash": Splash,
    "/one": pageOne,
    "/two": pageTwo,
})
@@ -37,16 +37,17 @@
 = 0;%0A%0A%0A%0A
+%0A
 var Spla
@@ -633,12 +633,11 @@
  m(%22
-main
+one
 %22, %5B
@@ -1260,22 +1260,21 @@
 ref='#!/
-splash
+three
 '%5D%22,%0A   
@@ -1707,16 +1707,989 @@
    %7D%0A%7D%0A%0A
+%0Avar pageThree = %7B%0A    view: function() %7B%0A        return m(%22three%22, %5B%0A            onload: function carousel() %7B%0A                //placeholder%0A            %7D%0A            m(%22div.w3-content.w3-section%22, %7B%0A                    style: %7B %22max-width%22: %22500px%22 %7D%0A                %7D, m(%22p%22, %22text here%22),%0A                m(%22img.mySlides.w3-animate-fading%5Bsrc='public/imgs/11391456_10207210124710859_4756487654378708258_n.jpg'%5D%22, %7B style: %7B %22width%22: %22100%25%22 %7D %7D),%0A                m(%22img.mySlides.w3-animate-fading%5Bsrc='public/imgs/12592258_10209357967485586_675038987809379215_n.jpg'%5D%22, %7B style: %7B %22width%22: %22100%25%22 %7D %7D),%0A                m(%22img.mySlides.w3-animate-fading%5Bsrc='public/imgs/15747902_10211941713037610_3506112968939664692_n.jpg'%5D%22, %7B style: %7B %22width%22: %22100%25%22 %7D %7D),%0A                m(%22img.mySlides.w3-animate-fading%5Bsrc='public/imgs/16252514_1401420696535254_833255865077845373_o.jpg'%5D%22, %7B style: %7B %22width%22: %22100%25%22 %7D %7D),%0A                m()%0A            )%0A%0A        %5D)%0A    %7D%0A%7D%0A%0A
 m.route(
@@ -2751,16 +2751,16 @@
 ageOne,%0A
-
     %22/tw
@@ -2772,10 +2772,35 @@
 ageTwo,%0A
+    %22/three%22: pageThree,%0A
 %7D)

Update site.js