Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633031 Views

Latest files of /cody/bradtraversy/50projects50days/hoverboard

style.css cody/bradtraversy/50projects50days/hoverboard/style.css
73 Views
0 Comments
* {
box-sizing: border-box;
}

body {
background-color: #111;
display: flex;
align-items: center;
index.html cody/bradtraversy/50projects50days/hoverboard/index.html
235 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Hoverboard</title>
</head>
script.js cody/bradtraversy/50projects50days/hoverboard/script.js
87 Views
0 Comments
const container = document.getElementById('container')
const colors = ['#e74c3c', '#8e44ad', '#3498db', '#e67e22', '#2ecc71']
const SQUARES = 500

for(let i = 0; i < SQUARES; i++) {
const square = document.createElement('div')
square.classList.add('square')