Menu
Coddy logo textTech

Label and class row

Lesson 4 of 17 in Coddy's Image Accordion | Front-end project course.

challenge icon

Challenge

Easy
  1. Below the input, create one label tag with:
    1. for set to “c1”
    2. class set to “card”
    3. ID set to “one”
  2. Inside the label, create one div with the class name 'row'.

Try it yourself

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="styles.css">
</head>
    <body>
        <!-- Write HTML code here -->
        <script src="script.js"></script>
    </body>
</html>

All lessons in Image Accordion | Front-end project