Skip to content

Instantly share code, notes, and snippets.

Ever been bored? Don't know what to do? We're here to help! Next week is Spring break and we want to make sure you have LOTS of fun.

You're job is to create a "Spring Break Plan" generator. You'll enter information about what day of the week it is and what the weather is like and we'll tell you what to do. *If it’s Saturday and it’s sunny, I’ll go for a bike ride. *If it’s Saturday and it’s cloudy, I’ll binge watch Netflix. *If it’s Sunday and it’s sunny, I’ll go to the park. *If it’s Sunday and it’s cloudy, I’ll binge watch Netflix. *Otherwise, I’ll stay inside.

Ever been bored? Don't know what to do? We're here to help! Next week is Spring break and we want to make sure you have LOTS of fun.

You're job is to create a "Spring Break Plan" generator. You'll enter information about what day of the week it is and what the weather is like and we'll tell you what to do. If it’s Saturday and it’s sunny, I’ll go for a bike ride. If it’s Saturday and it’s cloudy, I’ll binge watch Netflix. If it’s Sunday and it’s sunny, I’ll go to the park. If it’s Sunday and it’s cloudy, I’ll binge watch Netflix. Otherwise, I’ll stay inside.

Ever been bored? Don't know what to do? We're here to help! Next week is Spring break and we want to make sure you have LOTS of fun.

You're job is to create a "Spring Break Plan" generator. You'll enter information about what day of the week it is and what the weather is like and we'll tell you what to do. If it’s Saturday and it’s sunny, I’ll go for a bike ride. If it’s Saturday and it’s cloudy, I’ll binge watch Netflix. If it’s Sunday and it’s sunny, I’ll go to the park. If it’s Sunday and it’s cloudy, I’ll binge watch Netflix. Otherwise, I’ll stay inside.

Ever been bored? Don't know what to do? We're here to help! Next week is Spring break and we want to make sure you have LOTS of fun.

You're job is to create a "Spring Break Plan" generator. You'll enter information about what day of the week it is and what the weather is like and we'll tell you what to do. If it’s Saturday and it’s sunny, I’ll go for a bike ride. If it’s Saturday and it’s cloudy, I’ll binge watch Netflix. If it’s Sunday and it’s sunny, I’ll go to the park. If it’s Sunday and it’s cloudy, I’ll binge watch Netflix. Otherwise, I’ll stay inside.

<!DOCTYPE html>
<html>
<head>
<title>09.4 Compound Conditionals Spring Break Generator</title>
</head>
<body>
<h1> Spring Break Plan Generator </h1>
<p> Ever been bored? Can't decide what to do? We're here to help! </p>
<img src="http://gifimage.net/wp-content/uploads/2017/06/bored-gif-12.gif">
<h3> Day of the Week </h3>

There are four rectangles on the page. Please write event handlers to change the content and style based on the user's actions.

1) The top left rectangle

Write an event handler to change the text to "Thank you for clicking on me!" and the background color to green when the user clicks on the rectangle.

2) The top right rectangle

Write an event handler to change the text to "Thank you for double-clicking on me!" and the background color to blue when the user double-clicks on the rectangle.

Fill in this funny MadLib puzzle by declaring variables and assigning values to them.

  1. Assign a value to the variable "person" on line two

  2. Declare a variable named noun1 and assign it a value

  3. Declare all of the variables listed on the screen (adjective2, noun2, adjective3, adjective4, pluralNoun, noun3, number1, shapes, food1, food2, number2)

Remember: Noun: Person, place, or thing (Luis, New York, pencil)

Fill in this funny MadLib puzzle by declaring variables and assigning values to them.

  1. Assign a value to the variable "person" on line two

  2. Declare a variable named noun1 and assign it a value

  3. Declare all of the variables listed on the screen (adjective2, noun2, adjective3, adjective4, pluralNoun, noun3, number1, shapes, food1, food2, number2)

Remember: Noun: Person, place, or thing (Luis, New York, pencil)

<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<meta charset="utf-8" >
<script>
</script>
<title>JS-Grid We Do</title>
</head>
<!DOCTYPE html>
<html>
<head>
<title>07.1 Variables Madlib Mayhem</title>
</head>
<body>
<h1 id="madlib-title"></h1>
<p id="madlib-target"></p>
<script>
function fillMadlib() {