要越快 就須要越多的能量並須要承受更大的壓力 固然也能夠依附在快速運動的物體上css
cd client
mkdir js
cd js
signup.jshtml
new Vue({ el: '#signup-container', data: { sex: '', age: '' } })
signup.html前端
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="./css/style.css" > <title>signup_ArthurSlog</title> </head> <body> <div class="signup-container"> <div>This is signup's page by ArthurSlog</div> <p>Singup</p> <form action="http://127.0.0.1:3000/signup" method="GET"> Account: <br> <input type="text" name="name"> <br> Password: <br> <input type="text" name="password"> <br> Again Password: <br> <input type="text" name="repassword"> <br> First Name: <br> <input type="text" name="firstname"> <br> Last Name: <br> <input type="text" name="lastname"> <br> Birthday: <br> <input type="text" name="birthday"> <br> <br> <div> <span>Sex: {{ sex }}</span> <br> <input type="radio" id="one" value="Male" v-model="sex"> <label for="one">Male</label> <br> <input type="radio" id="two" value="Female" v-model="sex"> <label for="two">Female</label> </div> <br> <br> <div> <span>Age: {{ age }}</span> <br> <select v-model="age"> <option disabled value="">Select</option> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> </select> </div> <br> <br> Wechart: <br> <input type="text" name="wechart"> <br> QQ: <br> <input type="text" name="qq"> <br> Email: <br> <input type="text" name="email"> <br> Contury: <br> <input type="text" name="contury"> <br> Address: <br> <input type="text" name="address"> <br> Phone: <br> <input type="text" name="phone"> <br> Websize: <br> <input type="text" name="websize"> <br> Github: <br> <input type="text" name="github"> <br> Bio: <br> <input type="text" name="bio"> <br><br> <input type="submit" value="完成註冊"> </form> <a href="./form.html">Signup</a> <br> <a href="./index.html">Return index's page</a> <br><br> </div> </body> </html>
cd server
node index.js