You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
517 B
23 lines
517 B
<!DOCTYPE html>
|
|
<head>
|
|
<script src="script.js"></script>
|
|
</head>
|
|
<body>
|
|
<button onclick="addStudent()">add student</button>
|
|
|
|
<form id="add">
|
|
<label>name</label>
|
|
<input type="text" id="addName"/>
|
|
<label>weight</label>
|
|
<input type="text" id="addWeight"/>
|
|
<label>height</label>
|
|
<input type="text" id="addHeight"/>
|
|
<label>hair colour</label>
|
|
<input type="text" id="addHairColour"/>
|
|
<label>gpa</label>
|
|
<input type="text" id="addGpa"/>
|
|
<button id="submitStudent" onclick="addData()">submit</button>
|
|
</form>
|
|
|
|
</body>
|
|
</html> |