@pavitrakurseja/

UofTHacks_User

HTML, CSS, JS

user arhitecture

fork
loading
Files
  • index.html
  • API_reccomendation
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
  <head>
    <title> Calorie Counter </title> 
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <h1> Calorie Counter </h1> 
    <h2> 1. Your Personal Info </h2> 
  </head>

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

  <form id ="Personal Info">
    First Name: <br> 
    <input type = "text" name = "firstname" value = "jane"><br>
    Last Name: <br>  
    <input type = "text" name = "lastname" value = "doe"><br> 
    Age: <br>  
    <input type = "number" name = "age" value = "20"><br> 
    Sex: <br> 
    <input type="radio" name="gender" value="m" checked> Male<br>
    <input type="radio" name="gender" value="f"> Female<br>
    Excercise Level: <br> 
    <input type="radio" name="excerciselevel" value="sedimentary" checked> Sedimentary<br>
    <input type="radio" name="excerciselevel" value="moderate"> Moderate<br>
    <input type="radio" name="excerciselevel" value="active"> Active <br>
    <input type="submit" value="Submit">
    <form action="/action_page.php" method = "blank">
  </form> 

  <head> 
    <h2> 2. Your Reccomended Calories </h2> 
  </head> 
</html>
result
console