08. Placeholder

Placeholder

Question:

Start Quiz:

<!DOCTYPE html>

<!--
Add the placeholder attribute with the text "Event Name".
-->

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Quiz - Placeholder</title>
</head>
<body>
    <form action="#">
        <label for="event-name">
            <span>Enter the name of your event:</span>
            <input type="text" id="event-name">
        </label>
    </form>
</body>
</html>
Solution:

INSTRUCTOR NOTE:

Placeholders on MDN

Follow us online!

@cwpittman

@greenido

+greenido