Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions src/easy.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,45 @@
<style>
.title {
font-size: 40px;
background-color:rgb(240, 240, 240);
text-align:center;
}
.form {
border-style: double;
border-width:7px;
padding: 10px;
background-color: rgb(187, 237, 236);
}
.form-center{
width: 15%;
margin: auto;
}
</style>
</head>

<body>
<h1 class="title">報名網站</h1><!--background-color is rgb(240,240,240)-->
<p>一個簡單的報名網站</p>
<div style="???">
<p style="text-align: center;"><i>一個簡單的報名網站</i></p>
<div class="form-center">
<div></div>
<div class="form"><form style="line-height: 1.75;" action="???">
<div class="form"><form style="line-height: 1.75;" action="success.html">
<label for="fname">您的大名: </label>
<input type="text" name="name" id="fname"><br>


<label for="fbd">出生年/月/日</label>
<input type="date" name="bd" id="fbd"><br>

<label for="gender">您的性別: </label>
<select id="gender" name="gender">


<option value="1">男</option>
<option value="2">女</option>
<option value="3">不方便提供</option>

</select><br>
<div style="???"><input type="submit" value="Submit"></div>
<div style="text-align:right"><input type="submit" value="Submit"></div>
</form>
</div>
<div></div>
</div>
</body>
<footer>@2024 MeiChuHackathon</footer>
<footer>@2024 MeiChuHackathon</footer>
21 changes: 18 additions & 3 deletions src/success.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
<!DOCTYPE html>
<head>

<style>
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
}
.box{
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1;
}
</style>
</head>
<body>
<div>
<div class="box">
<h1 style="color:red;font-size:50px;">恭喜報名成功</h1>
<img src="" alt="THANKS">
<img src="../img/THANKS.png" alt="THANKS">
</div>
</body>
<footer>@2024 MeiChuHackathon</footer>