Menu
Coddy logo textTech

Class container and input

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

challenge icon

Challenge

Easy
  1. Inside “wrapper”, create a div with the class name "container.”
  2. Inside "container,"  create input with:
    1. type set to ‘radio’
    2. name set to ‘slide’
    3. ID set to ‘c1’

Make sure to check the input:

<input checked>

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