You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.3 KiB
HTML

4 years ago
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
4 years ago
<title>welcome to *name*</title>
4 years ago
<link rel="stylesheet" href="index.css">
</head>
<body>
4 years ago
<div class="introtext">
4 years ago
welcome to *game_name*, in this story you will be someone called
<form name="nameForm">
<input id="player_name" type="text" placeholder="enter you name" >
</form>.<br>
You can decide whether you are going to look like this
4 years ago
<form id="avatar_form" >
<input type="radio" id="player1" name="player_avatar" value="imgs/dog1.gif">
4 years ago
<label for="player1"><img id="player_img_1" src="imgs/dog1.gif" width="100px"></label>
4 years ago
or like this
4 years ago
<input type="radio" id="player2" name="player_avatar" value="imgs/dog2.gif">
4 years ago
<label for="player2"> <img id="player_img_2" src="imgs/dog2.gif" width="100px"></label><br>
4 years ago
4 years ago
</form>
4 years ago
<!-- <form action="0_start.html">
<input type="submit" onclick="storeName()" value="start"></form>-->
<button id="gotostart" onclick="storeName()">start</button>
4 years ago
</div>
4 years ago
4 years ago
4 years ago
<script src="jquery.min.js"></script>
<script type="text/javascript" src="index.js" ></script>
</body>