フォーム入力 I
Coddyの「Netflixサインインページのクローン | フロントエンドプロジェクト」コースのレッスン 3/19。
チャレンジ
簡単- form wrapperの中に、
Sign Inというテキストを持つh2タグを作成します。 h2タグの下に、formタグを作成します。formタグの中に、クラス名がform-controlのdivを作成します。form-controlの中に、typeがtextでrequired属性を持つinputを作成します:<input type="text" required>- テキスト入力の下に、
Email or phone numberというテキストを持つlabelタグを作成します。
自分で試してみよう
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>