Added message when JavaScript disabled

This commit is contained in:
Stone-Red-Code
2021-01-07 16:21:47 +01:00
parent 03852af5d4
commit 13d0a69857
2 changed files with 25 additions and 17 deletions
+19 -10
View File
@@ -8,6 +8,14 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<noscript>
<h1 style="background-color: red;">IF YOU CAN READ THIS ENABLE JAVASCRIPT!<h1>
<style type="text/css">
.main {
display: none;
}
</style>
</noscript>
</head>
<body>
@@ -37,7 +45,8 @@
<div class="jumbotron">
<h2>About this site</h2>
<p>This site is not finished and it's still being worked on.<br>
Keep in mind, some things here are just placeholders and will be eventually replaced or removed.<br>
Keep in mind, some things here are just placeholders and will be eventually replaced or
removed.<br>
On this page I will post all my current projects and updates.
</p>
</div>
@@ -51,15 +60,15 @@
<!--end Footer-->
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
crossorigin="anonymous"></script>
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="Scripts/loadNavBarAndFooter.js"></script>
<script src="Scripts/quotes.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
crossorigin="anonymous"></script>
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="Scripts/loadNavBarAndFooter.js"></script>
<script src="Scripts/quotes.js"></script>
</body>
</html>