JSFiddle - React, Tailwind, and code Playground

HTML

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>One-Page Portfolio with jQuery</title>
    <meta name="description" content="">
    <meta name="author" content="">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="style.css">
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
    
    <script>
$(document).ready(function(){
        
function resizeBoxes() {
        
    var browserWidth = $(window).width();
    var browserHeight = $(window).height();
        
    $('#main').css({
        width: browserWidth*4,
    });
        
        
    $('.box').css({
        width: browserWidth,
        height: browserHeight,
    });
        
}
        
resizeBoxes();
        
$(window).resize(function() {
    resizeBoxes();
});


$('nav ul li a').click(function(){
    return false;
});

function goTo(horizontal) {

    var browserWidth = $(window).width();

    $('#main').animate({
        marginLeft: '-'+browserWidth*horizontal,
    }, 1000);
    
}

$('#navigation ul li a').css('color','#fff');    

$('#link1 a').click(function(){
    goTo(0,0);
    $('#navigation ul li a').css('color','#fff');  
});


$('#link2 a').click(function(){
    goTo(1,0);
    $('#navigation ul li a').css('color','#fff');
});

$('#link3 a').click(function(){
    goTo(2,0);
    $('#navigation ul li a').css('color','#000');
});

$('#link4 a').click(function(){
    goTo(3,0);
    $('#navigation ul li a').css('color','#000');
});


        
});
    </script>
</head>
<body>

<div id="header" style="z-index:0;">
    <div id="navigation">
        <nav>
        <ul>
        <li id="link4"><a href="#">Contact</a></li>
        <li id="link3"><a href="#">Portfolio</a></li>
        <li id="link2"><a href="#">About</a></li>
        <li id="link1"><a href="#">Home</a></li>
        </ul>
        </nav>
   ...

CSS

@font-face {
  font-family: 'BelloPro';
  src: url('fonts/BelloPro.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lato-Light';
  src: url('fonts/Lato-Light.ttf');
  font-weight: light;
  font-style: light;
}

@font-face {
  font-family: 'Novecento-light';
  src: url('fonts/Novecentowide-Light.otf');
  font-weight: normal;
  font-style: normal;
}



/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a:hover,...