cody - HTMLify profile

cody
4270 Files
632542 Views
Latest files of /cody/solygambas/html-css-javascript-projects/036-hoverboard
* {
box-sizing: border-box;
}
body {
background-color: #111;
display: flex;
align-items: center;
box-sizing: border-box;
}
body {
background-color: #111;
display: flex;
align-items: center;
<!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>
<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>
const container = document.getElementById("container");
const colors = ["#056CF2", "#05AFF2", "#F2E205", "#F28705", "#A62103"];
const SQUARES = 500;
const getRandomColor = () => colors[Math.floor(Math.random() * colors.length)];
const setColor = (square) => {
const color = getRandomColor();
const colors = ["#056CF2", "#05AFF2", "#F2E205", "#F28705", "#A62103"];
const SQUARES = 500;
const getRandomColor = () => colors[Math.floor(Math.random() * colors.length)];
const setColor = (square) => {
const color = getRandomColor();