feat: Add CSS layout exercises and corresponding HTML files
- Created multiple exercises under the CSS layout section, including: - Final page layout with CSS styles and HTML structure. - Display and flow concepts with examples of block, inline, and none display types. - Selectors and pseudo-classes with practical examples. - Overflow and sizing handling in CSS. - Grid layout basics for two-dimensional layouts. - Fixed and sticky positioning examples. - Centering techniques for common layout scenarios. - Added README files for each exercise to outline objectives and file structures. - Updated main README to include new sections and usage instructions.
This commit is contained in:
59
01-html-structure/04-tables-and-forms/answer.html
Normal file
59
01-html-structure/04-tables-and-forms/answer.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>前端训练营报名页</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>前端训练营报名页</h1>
|
||||
|
||||
<h2>课程安排</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>周次</th>
|
||||
<th>主题</th>
|
||||
<th>目标</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>第 1 周</td>
|
||||
<td>HTML 结构</td>
|
||||
<td>掌握页面骨架与常用标签</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>第 2 周</td>
|
||||
<td>CSS 布局</td>
|
||||
<td>掌握盒模型和 Flex</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>第 3 周</td>
|
||||
<td>JavaScript 基础</td>
|
||||
<td>掌握变量、函数和对象</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h2>报名表单</h2>
|
||||
<form>
|
||||
<div>
|
||||
<label for="name">姓名</label>
|
||||
<input id="name" name="name" type="text" placeholder="请输入姓名" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="email">邮箱</label>
|
||||
<input id="email" name="email" type="email" placeholder="请输入邮箱" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="goal">学习目标</label>
|
||||
<textarea id="goal" name="goal" rows="4" cols="30" placeholder="写下你的学习目标"></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit">提交报名</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user