Skip to content
51 changes: 51 additions & 0 deletions RegisterFormPage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">

<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

</head> <!-- header ends here -->

<body> <!-- body begins here -->
<div class = "jumbotron" style="text-align: center;">
<h2>Please complete by entering your information</h2> <br>
</div>
<form action="registerConfirmationPage.html" style="text-align: center;">

<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<label for="email">Email:</label>
<input type="text" id="email" name="lname"><br><br>
<label for="work_out_Experince">Work out Experice:</label>
<input type="radio" name="work_out_Experince" id="None"> None
<input type="radio" name="work_out_Experince" id="Casual"> Casual
<input type="radio" name="work_out_Experince" id="Intermediate"> Intermeidate
<input type="radio" name="work_out_Experince" id="Expert"> Expert
<br>

<label for="Workout_Focus"> Where do you want to focus</label>
<select name="Workout" id="Workout">
<option value="Cardio">Endurance</option>
<option value="Strength">Strength</option>
<option value="Weight_Loss">Weight Loss</option>
<option value="Other">Other</option>
</select>
<br>
<br>
<input type="submit" value="Submit">
</form>

</body>
</html>
16 changes: 15 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
body {
background-color: navy;
background-color: beige;
}


object {
height: 100vh;
width: 100vh;
}
h1{
text-align: center;
}
nav{
background-color: black;
color: white;
}
.jumbotron{
text-align: center;
font-family: 'Roberto Slab', serif;
}
h3{
text-align: center;
}
Binary file added img/CLT_SKYLINE.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Running_Pic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Weights.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 40 additions & 38 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,49 @@
<meta name="author" content="">

<link href="./css/style.css" rel="stylesheet">
<script type="text/javascript" src="./js/header-functions.js"></script>

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head> <!-- header ends here -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->












<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->


The quickest of brown foxes.




<!-- ====================================================== -->
<!-- ====================================================== -->
<footer>
<!-- footer of page begins here -->
<script type="text/javascript" src="./js/footer-functions.js"></script>
</footer> <!-- footer of page ends here -->
<!-- ====================================================== -->
<!-- ====================================================== -->


<nav class="navbar navbar-deafult">
<div class="container-fluid">
<div class="navbar-header">
<a class = "navbar-brand" href="index.html">CLT LOG</a>
</div>
<ul class="nav navbar-nav">
<li class="active">HOME</li>
<li><a href="RegisterFormPage.html">Register</a></li>
</ul>
</div>
</nav>

<div class="jumbotron" style="background-image: url(./img/CLT_SKYLINE.jpg); background-size: cover;">
<h1>Welcome to the CLT Workout Logger</h1>
</div>


<div class="container">
<div class="row">
<div class="col-sm" style="background: url(./img/Running_Pic.jpg);">
<h3>Cardio</h3>
</div>
<div class="col-sm" style="background-image: url(./img/Weights.jpg)">
<h3 style="color: white;">WeightLifting</h3>
</div>
<div class="col-sm" style="background-color: beige;">
<h3>General Advice for staying motivated</h3>
<ul>
<li>Start Small</li>
<li>Set realistic goals</li>
<li>Take peridoic breaks at least 1-2 weeks</li>
</ul>
</div>
</div>
</div>

<div>
</div>
</body>
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->

</html>
8 changes: 8 additions & 0 deletions js/registerConfirmationPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
var buttonPressed = 0;
function welcome(){
buttonPressed++;
alert("Thank you for registering to CLT workout logger, you have pressed this button " + buttonPressed + " times");

}


27 changes: 27 additions & 0 deletions registerConfirmationPage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">


<head> <!-- header begins here -->
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script type="text/javascript" src="./js/registerConfirmationPage.js"></script>
</head> <!-- header ends here -->

<body> <!-- body begins here -->


<div class="jumbotron">
<h2>The journey will be tough, but in the end it will be worth it</h2><br>
<h3>
<a href="index.html">Back to home page</a>
</h3>
</div>

<div style="text-align: center;">
<button onclick="welcome()">Click me for message</button>
</div>

</body>
</html>