Closed jsartisan closed 6 months ago
difficulty: easy title: Layout 1 template: vanilla tags: css
You are given a container with 6 children divs. Implement the layout as shown in the video:
https://github.com/jsartisan/frontend-challenges/assets/6636360/b837567c-66b5-45f5-b289-d6167c849af9
The breakpoints are 400px, 600px, 800px.
styles.css
.container { } .item { background: #e1e1e1; height: 100px; }
index.js
import "./styles.css";
index.html
<!DOCTYPE html> <html> <head> <title>Parcel Sandbox</title> <meta charset="UTF-8" /> </head> <body> <div class="container"> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div> </body> </html>
Info
Question
You are given a container with 6 children divs. Implement the layout as shown in the video:
https://github.com/jsartisan/frontend-challenges/assets/6636360/b837567c-66b5-45f5-b289-d6167c849af9
The breakpoints are 400px, 600px, 800px.
Template
styles.css
index.js
index.html