Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Update add-pages.html
Browse files Browse the repository at this point in the history
  • Loading branch information
MehaRima authored Jan 1, 2021
1 parent 2767ea3 commit 22b8573
Showing 1 changed file with 125 additions and 0 deletions.
125 changes: 125 additions & 0 deletions add-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,133 @@
<a href="#about" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">ABOUT </a>
<a href="section.html " onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16"> SECTION </a>
<a href="#contact" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">CONTACT</a>
</nav><!DOCTYPE html>
<html lang="en">
<title>RESPONSIVE WEBSITE HOSTING WITH GITHUB & W3SCHOOL'S STYLESHEET</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
.w3-quarter img{margin-bottom: -6px; cursor: pointer}
.w3-quarter img:hover{opacity: 0.6; transition: 0.3s}
</style>
<body class="w3-brown">

<!-- Sidebar/menu -->
<nav class="w3-sidebar w3-bar-block w3-brown w3-animate-right w3-top w3-text-white w3-large" style="z-index:3;width:250px;font-weight:bold;display:none;right:0;" id="mySidebar">
<a href="javascript:void()" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-32">CLOSE</a>
<br>
<a href="index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">HOME</a>
<a href="index.html#faq" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">FAQ</a>
<a href="index.html#about" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">ABOUT </a>
<a href="section.html " onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16"> SECTION </a>
<a href="index.html#contact" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">CONTACT</a>
</nav>

<!-- Top menu on small screens -->
<header class="w3-container w3-top w3-white w3-xlarge w3-padding-16">
<span class="w3-left w3-padding">The Webpage Name</span>
<a href="javascript:void(0)" class="w3-right w3-button w3-white" onclick="w3_open()"></a>
</header>

<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>

<!-- !PAGE CONTENT! -->
<div class="w3-main w3-content" style="max-width:1600px;margin-top:83px">

<!-- !SECTION CONTENT! -->
<!-- The Grid -->
<div class="w3-row-padding">

<!-- Left Column -->
<div class="w3">

<div class="w3-brown w3-text-white w3-card-4">
<div class="w3-display-container">
<div class="w3-container"><center>
<h1>Only text content page heading</h1>
<div class="w3-display-bottomleft w3-container w3-text-black">
</div>
</div>
<div class="w3-container">
<hr>
<div class="w3-display-container"><center><h3>Heading</h3>
<h5>Sub-heading 1</h5>
<p>Add paragraph</p>

<h5>Sub-heading 2</h5>
<p>Add paragraph</p>
</div>
<div class="w3-container"><center>
<h1>Topic heading</h1>
<div class="w3-display-bottomleft w3-container w3-text-black">
</div>


<hr>
<h5>Sub-heading 1</h5>
<p>Add paragraph</p>




</center>
<!-- End Grid -->
</div>

<!-- End Page Container -->
</div>

<hr>
<!-- Footer -->



<footer class="w3-container w3-white w3-center w3-margin-top">
<span class="w3-center w3-padding">
<p>Links to social media.</p>
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
<br>
</footer>
<!-- End page content -->
</div>

<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}

function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}

// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}

</script>


</body>
</html>


<!-- Top menu on small screens -->
<header class="w3-container w3-top w3-white w3-xlarge w3-padding-16">
<span class="w3-left w3-padding">The Webpage Name</span>
Expand Down

0 comments on commit 22b8573

Please sign in to comment.