-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
49 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Lady or Gentleman?</title> | ||
<link rel="stylesheet" type="text/css" href="style/styles.css"> | ||
</head> | ||
<body> | ||
<div class="box"> | ||
<div class="container"> | ||
<div class="left-column"> | ||
<h2>Mr. or Ms. ?</h2> | ||
<form> | ||
<label for="name">Name:</label> | ||
<input type="text" id="name" name="name" required> | ||
|
||
<div class="radio-group"> | ||
<label> | ||
<input type="radio" name="gender" value="male"> | ||
Male | ||
</label> | ||
</div> | ||
|
||
<div class="radio-group"> | ||
<label> | ||
<input type="radio" name="gender" value="female"> | ||
Female | ||
</label> | ||
</div> | ||
|
||
<input type="submit" value="Submit"> | ||
</form> | ||
<input type="submit" value="Save"> | ||
</div> | ||
|
||
<div class="right-column"> | ||
<h2>Prediction</h2> | ||
<p>Male</p> | ||
<p>0.97</p> | ||
<h2>Saved Answer</h2> | ||
<button>Clear</button> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Lady or Gentleman?</title> | ||
<link rel="stylesheet" type="text/css" href="css/styles.css"> | ||
|
||
</head> | ||
<body> | ||
<div class="box"> | ||
<div class="container"> | ||
<div class="left-column"> | ||
<h2>Mr. or Ms. ?</h2> | ||
<form id="myForm" onsubmit="handleSubmit(event)"> | ||
<label for="name">Name:</label> | ||
<input type="text" id="textInput" name="textInput"required> | ||
<div class="radio-group"> | ||
<label> | ||
<input type="radio" value="male" id="option1" name="apiOption"> | ||
Male | ||
</label> | ||
</div> | ||
|
||
<div class="radio-group"> | ||
<label> | ||
<input type="radio" value="female" id="option2" name="apiOption"> | ||
Female | ||
</label> | ||
</div> | ||
<button type="submit">Submit</button> | ||
</form> | ||
<input type="submit" value="Save"> | ||
</div> | ||
|
||
<div class="right-column" > | ||
<p id="response"></p> | ||
<!-- | ||
<h2>Prediction</h2> | ||
<p>Male</p> | ||
<p>0.97</p> | ||
<h2>Saved Answer</h2> | ||
<button>Clear</button> | ||
--> | ||
</div> | ||
<script type="text/javascript" src="js/script.js"></script> | ||
|
||
</div> | ||
</div> | ||
</body> | ||
</html> |