The column gap property

Report a typo

In this task, you need to recreate this image. Use the correct CSS property that we covered in this topic to create a gap of 20px between the items.

Six items

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Example</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="item-one">Item 1</div>
<div class="item-two">Item 2</div>
<div class="item-three">Item 3</div>
<div class="item-four">Item 4</div>
<div class="item-five">Item 5</div>
<div class="item-six">Item 6</div>
</div>
</body>
</html>
Completed 1 of 2
Create a 20px column gap between the items
The code is valid
___

Create a free account to access the full topic