بتل کد Battle Codeدارد باز می‌شود…

The App's Name چالش 1 از جلسه‌ی 17، آسان

زیر آیکون اپ روی گوشی، <title> نوشته می‌شود. عنوان این صفحه را از Untitled به Water Counter عوض کن.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Untitled</title>
<style>
body { font-family: sans-serif; margin: 0; }
header { background-color: #1e88e5; color: white; padding: 12px 16px; }
.app { max-width: 420px; margin: 0 auto; padding: 16px; }
button, input, textarea { font-size: 16px; min-height: 44px; }
textarea { width: 100%; box-sizing: border-box; }
</style>
</head>
<body>
<header><h1>Water Counter</h1></header>
<div class="app">
  <p>Glasses today: 0</p>
</div>
</body>
</html>

راهنما و جواب این چالش · برگشت به درس جلسه‌ی 17: خروجی و نصب · چالش بعدی: The App's Colour

بیشتر بخوان: HTML و CSS چیست؟ شروع طراحی سایت