<div id="fullpage">
    <div class="section">Section 1</div>
    <div class="section">
        <div class="slide" data-anchor="slide1">Slide 2.1</div>
        <div class="slide" data-anchor="slide2">Slide 2.2</div>
    </div>
    <div class="section">Section 3</div>
    <div class="section">Section 4</div>
</div>
.section {
  text-align:center;
  font-size: 3em;
}
new fullpage('#fullpage', {
  sectionsColor: ['yellow', 'orange', '#C0C0C0', '#ADD8E6'],
});

External CSS

  1. https://rawgit.com/alvarotrigo/fullPage.js/dev/src/fullpage.css

External JavaScript

  1. https://rawgit.com/alvarotrigo/fullPage.js/dev/src/fullpage.js