Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleated the code injected by live server #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 84 additions & 87 deletions Project 1/Gym Project 1.html
Original file line number Diff line number Diff line change
@@ -1,101 +1,98 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Project 1| HTML CSS |</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Display:wght@700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="gym.css" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Display:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="gym.css">
</head>
<!-- From Here the Body of HTML Starts -->
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Text:wght@700&display=swap" rel="stylesheet">
</head>

<body>
<header class="header"></header>
<div class="left">
<img src="./Gym Project 1_files/toppng.com-golds-gym-logo-png-512x512.png" alt="logo">
<!-- From Here the Body of HTML Starts -->

</div>
<div class="right">
<button class="button">Login </button>
<button class="button">Sign Up</button>
</div>
<div class="mid">
<ul class="navbar">
<li><a href="http://127.0.0.1:5500/project1.html#" class="active">Home</a></li>
<li><a href="http://127.0.0.1:5500/project1.html#">About Us</a></li>
<li><a href="https://www.calculator.net/bmi-calculator.html" target="_blank">BMI Calculator</a></li>
<li><a href="http://127.0.0.1:5500/project1.html#">Membership Plans</a></li>
<li><a href="https://www.instagram.com/taneja.gaurav/?hl=en">Contact Us </a></li>
</ul>
</div>

<body>

<div class="container">
<h1>Become a Member Now &nbsp Hurry Up!
</h1>

<form action="backend.php">
<header class="header navheight">
<!-- This navheight is used for responsiveness in media query -->
<div class="left visibility">
<img
src=https://toppng.com/download/rvBlUflTH5e8ue134cXTSdrAYXfAfVbGk5WzlyISQUVyugMVgwBprKO6usC4XdCbpUpG6obHjp4gtTsuUh7GiDJ5WqMtr3T9eg1NHAw7wgQhmY3eTj0COL3z3aABEiOS8JsQnhBUqf2vTsB6VDR2aMEKDKiQHpQd4biwlBu2Pej5Q2040AVEYgpPQfDXZQhY05uIfRcl/large
alt="logo">
</div>
<div class="mid visibility">
<!-- visibility class is used to make the websit responsive -->
<ul class="navbar">
<li><a href="#" class="active">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#" target="_blank">BMI Calculator</a></li>
<li><a href="#">Membership Plans</a></li>
<li><a href="#">Contact Us </a></li>
</ul>
</div>
<div class="right visibility">
<button class="button redh">Login</button>
<button class="button blueh">Sign Up</button>
</div>
<div class="burger">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</header>

<div class="form"><input type="text" name="" placeholder="Enter Your Name"> </div>
<div class="form"><input type="text" name="" placeholder="Enter Your Address"> </div>
<div class="form"><input type="text" name="" placeholder="Enter Your Contact Number"> </div>
<div class="form"><input type="text" name="" placeholder="Enter Your E-Mail ID"> </div>
<div class="form"><input type="text" name="" placeholder="Enter Your Adhar Card No"> </div>
<div class="form"><input type="text" name="" placeholder="Enter Your Gender "> </div>
<button type="submit"class="button2">Submit Now</button>
<button type="reset"class="button2">Reset</button>
</form>

</div>

<div class="quote">
<h1>"All progress takes place outside the comfort zone."</h1>

</div>


<!-- Code injected by live-server -->
<script type="text/javascript">
// <![CDATA[ <-- For SVG support
if ('WebSocket' in window) {
(function () {
function refreshCSS() {
var sheets = [].slice.call(document.getElementsByTagName("link"));
var head = document.getElementsByTagName("head")[0];
for (var i = 0; i < sheets.length; ++i) {
var elem = sheets[i];
var parent = elem.parentElement || head;
parent.removeChild(elem);
var rel = elem.rel;
if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") {
var url = elem.href.replace(/(&|\?)_cacheOverride=\d+/, '');
elem.href = url + (url.indexOf('?') >= 0 ? '&' : '?') + '_cacheOverride=' + (new Date().valueOf());
}
parent.appendChild(elem);
}
}
var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://';
var address = protocol + window.location.host + window.location.pathname + '/ws';
var socket = new WebSocket(address);
socket.onmessage = function (msg) {
if (msg.data == 'reload') window.location.reload();
else if (msg.data == 'refreshcss') refreshCSS();
};
if (sessionStorage && !sessionStorage.getItem('IsThisFirstTime_Log_From_LiveServer')) {
console.log('Live reload enabled.');
sessionStorage.setItem('IsThisFirstTime_Log_From_LiveServer', true);
}
})();
}
else {
console.error('Upgrade your browser. This Browser is NOT supported WebSocket for Live-Reloading.');
}
// ]]>
</script>
</body>
<div class="container">

<form action="backend.php">
<h2>Become a Member Now &nbsp Hurry Up!</h2>
<div class="form">
<input type="text" name="" placeholder="Enter Your Name" />
</div>
<div class="form">
<input type="text" name="" placeholder="Enter Your Address" />
</div>
<div class="form">
<input type="text" name="" placeholder="Enter Your Contact Number" />
</div>
<div class="form">
<input type="text" name="" placeholder="Enter Your E-Mail ID" />
</div>
<div class="form">
<input type="text" name="" placeholder="Enter Your Adhar Card No" />
</div>
<div class="form">
<input type="text" name="" placeholder="Enter Your Gender " />
</div>
<div class="btn">

<button type="submit" class="button2 red">Submit Now</button>
</div>
<div class="btn">

<button type="reset" class="button2 blue">Reset</button>
</div>
</form>


</div></div></div></div></div></form></div></body></html>
<div class="quote">
<h1>"All progress takes place outside the comfort zone."</h1>
</div>
</div>
<script src="gym.js"></script>
</body>
</html>
Loading