dimanche 5 juin 2016

So I'am trying to create a webpage that is supposed to act like a a gradebook

So what I am trying to do is make a website that is basically a gradebook. So it's supposed to average the grades and display them in a table for the viewer to see. I've never done this before so I can provide the code I have so far and if there is something that you see that I should add let me know and I'll try it. An I don't know much about javascript either I'am a beginner so please excuse me if I make any beginner mistakes.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="project2.css">
  <title>Project 2</title>
</head>
<body>
<form name="myform">
  First Name:<br>
  <input type="text" name="firstname"><br>
  Last Name:<br>
  <input type="text" name="lastname"><br>
  Grade:<br>
  <input type="text" name="grade"><br>
  <input type="submit" value="Submit">
</form>
<table style="width:50%">
  <tr>
    <td>First</td>
    <td>Last</td>
    <td>Grade</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td>
    <td>94</td>
  </tr>
  <tr>
    <td>Bob</td>
    <td>Boberson</td>
    <td>73</td>
  </tr>
  <tr>
    <td>John</td>
    <td>Bon</td>
    <td>89</td>
  </tr>

</table>


</body>
<script src="project2.js"></script>
</html>




Aucun commentaire:

Enregistrer un commentaire