JSFiddle - React, Tailwind, and code Playground

HTML

<font face="comic sans ms">
<body>
    <div id="pagewrap">
        <header id="header">
            <hgroup>
                 <h1 style="font-size:10px" id="site-logo"><a href="#"><center>Human Trafficking</center></a></h1> 
                 <h2 style="font-size:30px" id="site-description"><center>ECPAT -- Ending Child Slavery At The Source</center></h2>

            </hgroup>
            <nav>
                <ul id="main-nav" class="clearfix">
                    <li><a class="nav-link" data-href="#what-to-know">What to Know</a>

                    </li>
                    <li><a class="nav-link" data-href="#FAQ">Frequently Asked Questions</a>

                    </li>
                    <li><a class="nav-link" data-href="#quiz">Quiz</a> 
                    </li>
                    <li><a class="nav-link" data-href="#stories">Stories</a> 
                    </li>
                    <li><a class="nav-link" data-href="#links">Links</a> 
                    </li>
                </ul>
                <!-- /#main-nav -->
            </nav>
        </header>
        <!-- /#header -->
           <!-- /#footer -->
                <div id="what-to-know" class="content">
                    <article class="post clearfix">
                        <h1>What to Know</h1> 
                        <h2> What is Human Trafficking? </h2> 
                        <p>Trafficking involves the exploitation of someone who is underage, using force, fraud or coercion Transportation is not necessary in order to be trafficked, Trafficking can happen in a person own house, parties etc.</p>
                        <h2> What is a sex trafficking victim? </h2> 
                        <p> A person under the age of 18 who is induced to perform a commercial sex act in exchange for money, food, shelter, or anything of value. </p>
                        
                        <h2> What is smuggling?</h2> <p> It involves the transportation of a willing person; after the are...

CSS

/************************************************************************************
RESET
*************************************************************************************/
 html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul, dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object, a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span, strong, sub, sup, tt, var, legend, fieldset {
    margin: 0;
    padding: 0;
}
img, fieldset {
    border: 0;
}
/* set image max width to 100% */
 img {
    max-width: 100%;
    height: auto;
    width: auto\9;
    /* ie8 */
}
/* set html5 elements to block */
 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
/************************************************************************************
GENERAL STYLING
*************************************************************************************/
 body {
    background: #9900CC;
    font: .81em/150% Arial, Helvetica, sans-serif;
    color: #666;
    transition: background-color ease 0.3s;
    -webkit-transition: background-color ease color 0.3s;
    /* Safari */
}
a {
    color: #026acb;
    text-decoration: none;
    outline: none;
}
a:hover {
    text-decoration: underline;
}
p {
    margin: 0 0 1.2em;
    padding: 0;
}
/* list */
 ul, ol {
    margin: 1em 0 1.4em 24px;
    padding: 0;
    line-height: 140%;
}
li {
    margin: 0 0 .5em 0;
    padding: 0;
}
/* headings */
 h1, h2, h3, h4, h5, h6 {
    line-height: 1.4em;
    margin: 20px 0 .4em;
    color: #000;
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.6em;
}
h3 {
    font-size: 1.4em;
}
h4 {
    font-size: 1.2em;
}
h5 {
    font-size: 1.1em;
}
h6 {
    font-size: 1em;
}
/* reset webkit search input styles */
 input[type=search] {
    -webkit-appearance: none;
    outline: none;
}
input[type="search"]::-webkit-search-decoration,...

JavaScript

var numQues = 15; var numChoi = 4; var answers = new Array(15); answers[0] = "The transportation of people who are willing and essentially is a crime against the government"; answers[1] = "The exploitation of underaged persons for sexual, labor, or exchange purposes"; answers[2] = "The use of force, visual aesthetics, or any forms of verbal abuse in order to gain compliance"; answers[3] = "ONLY using force to gain compliance"; answers[4] = "ONLY using deception to gain compliance"; answers[5] = "Commercial Sexual Exploitation of Children"; answers[6] = "The desire for higher quantities of something"; answers[7] = "The exchange of sex for other things"; answers[8] = "Money and family relations"; answers[9] = "Sex exchanged for food, shelter, clothing, and basic needs"; answers[10] = "1.2 million children are being trafficked every year worldwide"; answers[11] = "45% of commercially sexually exploited children in New York City were exploited in hotels."; answers[12] = "Girls are more prone to sexual exploitation"; answers[13] = "A person who purchases sex"; answers[14] = "Domestic education"; function getScore(form) { var score = 0; var currElt; var currSelection; for (i=0; i<numQues; i++) { currElt = i*numChoi; for (j=0; j<numChoi; j++) { currSelection = form.elements[currElt + j]; if (currSelection.checked) { if (currSelection.value == answers[i]) { score++; break; } } } } score = Math.round(score/numQues*100); form.percentage.value = score + "%"; var correctAnswers = ""; for (i=1; i<=numQues; i++) { correctAnswers += i + ". " + answers[i-1] + "\r\n"; } form.solutions.value = correctAnswers; }

// When webpage loads do somethingwhen clicked.
$(document).ready(function(){
    // When article is clicked it is visible. 
    $(".nav-link").click(function(){
       //Make all post invisible
       $(".content").hide();
 //Make the click post visible
       var section = $(this).data("href");
        $(section).show();
    });
  
});