After following this solution, I attempted to create a basic full-page layout using bootstrap.
I aim to have a front end that scrolls like a full page, ensuring responsiveness.
Folder Setup
https://i.sstatic.net/ylZF8.png
Code Snippet
<!DOCTYPE html>
<html>
<head>
<link href="css/bootstrap.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="src/jquery.fullPage.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1 /jquery.min.js"></script>
<!-- This line is optional. It is only necessary if you use the css3:false option and desire different easing effects from "linear", "swing", or "easeInOutCubic". -->
<script src="vendors/jquery.easings.min.js"></script>
<!-- This line is required when using the plugin option `scrollOverflow:true` -->
<script type="text/javascript" src="vendors/jquery.slimscroll.min.js"></script>
<script type="text/javascript" src="src/jquery.fullPage.js"></script>
<title>Test</title>
<script type="text/javascript">
$(document).ready(function() {
$('#fullpage').fullpage({
sectionsColor: ['#f2f2f2','#4BBFC3','#7BAABE','whitesmoke'],
css3: true
});
});
</script>
<style type="text/css">
.section {
font-size: 6em;
text-align: center;
}
</style>
</head>
<body>
<div id="fullpage">
<div class="section">Section 1</div>
<div class="section">
<div class="slide">Slide 1</div>
<div class="slide">Slide 2</div>
<div class="slide">Slide 3</div>
</div>
<div class="section">Section 2</div>
<div class="section">Section 3</div>
</div>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
Result
https://i.sstatic.net/sZu2Z.png
For designing the front end, I am utilizing Sublime Text Editor 3
. There seems to be something missing as I am encountering an issue.
If anyone is able to offer assistance, it would be greatly appreciated.