- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test: Laying out a park</title>
<link href="world.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body class="world world--exam">
<div class="land land--rectangle land--pattern">
<div class="element element--grass element--simple element--1">1</div>
<div class="element element--grass element--simple element--2">2</div>
<div class="element element--rocks element--simple element--3">3</div>
<div class="element element--rocks element--simple element--4">4</div>
<div class="element element--water element--simple element--5">5</div>
<div class="element element--water element--simple element--6">6</div>
<div class="element element--sand element--simple element--7">7</div>
<div class="element element--lava element--simple element--8">8</div>
</div>
</body>
</html>
CSS
.land {
display: grid;
width: 540px;
gap: 20px;
}
.element--1 {
}
.element--2 {
}
.element--3 {
}
.element--4 {
}
- Goal
- Result
- Overlay
- Differences
- ?
Press Compare to send your code for review.