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> | |
<body> | |
<select> | |
<optgroup label="Swedish Cars"> | |
<option value="volvo">Volvo</option> | |
<option value="saab">Saab</option> | |
</optgroup> | |
<optgroup label="German Cars"> |
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
<script> | |
var clientId = '720409271749-hqv3lb4u0q82t68vperem5oi3kosskol.apps.googleusercontent.com'; | |
var developerKey = 'AIzaSyBTEWsJ4aXdoOzB4ey81eX9-ja7HejL4Qc'; | |
var accessToken; | |
function onApiLoad() { | |
gapi.load('auth', authenticateWithGoogle); | |
gapi.load('picker'); | |
} | |
function authenticateWithGoogle() { | |
window.gapi.auth.authorize({ |
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> | |
<title> Challenge Time! </title> | |
<link type='text/css' rel='stylesheet' href='style.css'/> | |
</head> | |
<body> | |
<p> | |
<?php | |
// Your code here |
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
<html> | |
<head> | |
<title>Override!</title> | |
</head> | |
<body> | |
<p> | |
<?php | |
class Vehicle { | |
public function honk() { | |
return "HONK HONK!"; |
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
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<p> | |
<?php | |
class Person{ | |
public static function say(){ | |
echo "Here are my thoughts!"; |
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
<html> | |
<head> | |
<title>Associate Arrays</title> | |
</head> | |
<body> | |
<p> | |
<?php | |
// This is an array using integers as the indices... | |
$myArray = array(2012, 'blue', 5); |
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
<html> | |
<head> | |
<title>I am the King of Arrays!</title> | |
</head> | |
<body> | |
<p> | |
<?php | |
// On the line below, create your own associative array: | |
$myArray = array('one'=>'Jacob','two'=>2,'three'=>'King'); |
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> | |
<link type="text/css" rel="stylesheet" href="stylesheet.css"/> | |
<title></title> | |
<style id="jsbin-css"> | |
/*Add your CSS below!*/ | |
td{ | |
height:50px; | |
border:1px dashed blue; |
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> | |
<link type="text/css" rel="stylesheet" href="stylesheet.css"/> | |
<title>About Me</title> | |
<style id="jsbin-css"> | |
img { | |
display: block; | |
height: 100px; | |
width: 300px; |
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> | |
<link type="text/css" rel="stylesheet" href="stylesheet.css"/> | |
<title>The Great Tree of HTML</title> | |
<style id="jsbin-css"> | |
div { | |
border-radius: 5px; | |
border: 2px solid #6495ED; | |
background-color: #BCD2EE; |