Open your favorite text editor and create a new folder called 'DataKeepersProject'. Inside the folder, create a new file called 'datakeepers.html'.
Inside 'datakeepers.html', add the basic HTML structure. Type the following code:
<!DOCTYPE html>
<html>
<head>
<title>Data Keepers</title>
</head>
<body>
</body>
</html>
Add a heading to your HTML page. Inside the <body> tag, type the following code:
<h1>Data Keepers Project</h1>
Create a form to collect data from users. Below the <h1> tag, type the following code:
<form id='dataForm'>
<label for='name'>Name:</label>
<input type='text' id='name' name='name'><br>
<label for='age'>Age:</label>
<input type='number' id='age' name='age'><br>
<input type='submit' value='Submit'>
</form>
You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.