Skip to content

Instantly share code, notes, and snippets.

@stormsweeper
stormsweeper / index.html
Last active February 7, 2018 20:33 — forked from Bijesse/index.html
Exported from Popcode. Click to import: https://popcode.org/?gist=9bf50a1e01b75b2041fe91bbb45f7f7c
<!DOCTYPE html>
<html>
<head>
<title>Kim and Kanye Madlibs</title>
</head>
<body>
<div class="box">
<input class="condition" placeholder="A Medical Condition">
<button class="btn1">Click</button>

Guess the value

In the JavaScript code, there are ten calls to the function guess(). In each case, the function’s first argument is a string value, and the second argument is an expression of some kind.

Your mission is to guess the value of all ten expressions. Currently, all ten guesses are just a question mark, which is not the correct answer to any question.

Change the question mark to the correct value for the expression given as the second argument to guess() in each case.

@stormsweeper
stormsweeper / README.md
Last active February 4, 2018 17:02 — forked from alexpelan/README.md
Exported from Popcode. Click to import: https://popcode.org/?gist=83635faf9f9643358a800a7cc0492fa1

Make Your Own Madlib!

Get the value of the inputs and append them to the page to create your own madlib!

Create Your Variables, & Get the Input Values

  1. Create adjective and verb variables (we've already created noun for you).
  2. Get the value of the adjective input, and store it in the adjective variable.
  3. Get the value of the verb input, and store it in the verb variable.
<!DOCTYPE html>
<html>
<head>
<title>02.1 CSS Selectors Secret Note </title>
</head>

Links Practice

  1. Make the words Long Island City link to https://www.nycgo.com/boroughs-neighborhoods/queens/long-island-city.
  2. Make the words Queens Vocational and Technical High School link to the school website.

If you finish early…

Below the paragraph, make a bulleted list of three notable QVT programs or clubs.

Link each name to a page on the Internet with more information about them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
/*
<!DOCTYPE html>
<head>
<link href="/normalize.css" rel="stylesheet">
<style>
header {
text-align: center;
background: url('http://dash.ga.co/assets/jeff-bg.png');
background-size: cover;
color: white;
}