This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************* | |
*OBJECT TYPES | |
**************/ | |
/****************** | |
*Flower Object Type | |
*******************/ | |
var Flower = function(x, y, height) { | |
this.x = x; | |
this.y = y; | |
this.height = height; |