Difference between revisions of "Template:Team:Baltimore Bio-Crew/JS"

Line 1: Line 1:
  
 
<html>
 
<html>
<body>
+
<head>
 +
<style>
 +
body {margin:0;}
  
 +
.topnav {
 +
  overflow: hidden;
 +
  background-color: #333;
 +
}
 +
 +
.topnav a {
 +
  float: left;
 +
  display: block;
 +
  color: #f2f2f2;
 +
  text-align: center;
 +
  padding: 14px 16px;
 +
  text-decoration: none;
 +
  font-size: 17px;
 +
}
 +
 +
.topnav a:hover {
 +
  background-color: #ddd;
 +
  color: black;
 +
}
 +
 +
.topnav a.active {
 +
    background-color: #4CAF50;
 +
    color: white;
 +
}
 +
</style>
 +
</head>
 +
<body>
  
<button type="button"
+
<div class="topnav">
onclick="document.getElementById('demo').innerHTML = Date()">
+
  <a class="active" href="#home">Home</a>
Click me to display Date and Time.</button>
+
  <a href="#team">Team</a>
 +
  <a href="#project">Project</a>
 +
  <a href="#parts">Parts</a>
 +
  <a href="#safety">Safety</a>
 +
  <a href="#human_practices">Human Practices</a>
 +
<a href="#awards">Awards</a>
 +
  <a href="#judging_form">Judging Form</a>
 +
 
 +
</div>
  
<p id="demo"></p>
+
<div style="padding-left:16px">
 +
 
 +
</div>
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 19:24, 8 July 2017