<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="main.css">
<title>JavaScript Demos</title>
</head>
<body>
<div class="garden">
</div>
<script src="main.js" type="text/javascript"></script>
</body>
</html>
body {
background-color: #bd367a;
margin: 0;
padding: 20px;
}
.garden {
max-width: 800px;
margin: 0 auto;
.flower {
opacity: .5;
mix-blend-mode: color-burn;
color: #5F1B7A;
font-size: 36px;
font-family: arial;
border-radius: 100px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
.flower1 {
background-color: red;
Demos
1. Garden visualizaiton where the scale of each flower is based on the amount
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="main.css">
<title>JavaScript Demos</title>
</head>
<body>
<div class="garden">
</div>
<script src="main.js" type="text/javascript"></script>
</body>
</html>
body {
background-color: #bd367a;
margin: 0;
padding: 20px;
}
.garden {
max-width: 800px;
margin: 0 auto;
}
.flower {
opacity: .5;
mix-blend-mode: color-burn;
color: #5F1B7A;
font-size: 36px;
font-family: arial;
border-radius: 100px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.flower1 {
background-color: red;
}