Skip to content

Instantly share code, notes, and snippets.

View MavenOfCode's full-sized avatar
🤓
Studying & Working: May be slow to respond

Audie Maven MavenOfCode

🤓
Studying & Working: May be slow to respond
  • Seattle
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Spin-off of "HTML tables - My Pets"</title>
</head>
<style>
thead{color: rgb(71, 17, 247);}
thead{text-align:left;}
table{border-spacing:7px;}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Project: Sooz's Coding Blog</title>
</head>
<style>
body {
background-color: rgb(106, 201, 245);
color: white;
fill(0, 0, 0);
ellipse(200, 200, 375, 375);
fill(60, 0, 255);
triangle(200, 104, 280, 280, 120, 280);
fill(255, 255, 255);
var answer = floor(random(1, 6));
if (answer===1) {
text("NOT YET", 176, 200);
}
else if (answer===2){
// array of x pos for rain drops at start
var xPositions = [50, 100, 150, 200, 250, 300, 350];
// array of y Pos for rain drops at start
var yPositions = [0, 25, 15, 5, 18, 9, 23];
// draw the drops
draw = function() {
background(202, 244, 252);
/*************
*OBJECT TYPES
**************/
/******************
*Flower Object Type
*******************/
var Flower = function(x, y, height) {
this.x = x;
this.y = y;
this.height = height;