<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Typing Game</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h2>Typing Game</h2>
<small>type the following word</small>
<h1 id="word"></h1>
<input
type="text"
id="text"
autocomplete="off"
placeholder="please type the word here"
/>
<p class="time-container">鈴诧笍time left : <span id="time">10s</span></p>
<p id="score-container" class="score-container">
馃挜score: <span id="score">0</span>
</p>
<div id="end-game-container" class="end-game-container"></div>
</div>
<script src="script.js" async defer></script>
</body>
</html>
JavaScript 中键入游戏应用程序源代码
版权申诉
198 浏览量
2024-02-29
22:46:17
上传
评论
收藏 2KB ZIP 举报
![avatar](https://profile-avatar.csdnimg.cn/4eddbcfa248a4cceaeed1167955c58d5_mzgxinhua.jpg!1)
![avatar-vip](https://csdnimg.cn/release/downloadcmsfe/public/img/user-vip.1c89f3c5.png)
新华
- 粉丝: 1w+
- 资源: 629
最新资源
- 305建筑结构水电欧式6套(14.5x20.2)\施工设计说明-02.dwg
- 305建筑结构水电欧式6套(14.5x20.2)\施工目录材料表-01.dwg
- FFmpeg简易封装格式处理指南 1.2版
- 305建筑结构水电欧式6套(14.5x20.2)\施工图\目录材料表-00.dwg
- 305建筑结构水电欧式6套(14.5x20.2)\施工图\二层、三层空调平面图(一)-05.dwg
- dotNetFx40_Full_x86_x64.zip
- 人脸数据集总览:包含多个大型人脸数据库,如CMU PIE、ORL、PF01等,涉及多种姿态、光照和表情
- 最新Xiaomi HyperOS系统刷机工具.zip
- C语言编程经典案例900集
- 实现求后缀表达式和对后缀表达式求值.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)