This file contains hidden or 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>Mmm, Tasty!</title> | |
<link href='http://fonts.googleapis.com/css?family=Wendy+One|Pontano+Sans' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
html { font-size: 62.5%; } |
This file contains hidden or 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
string str_service_type = "good"; | |
double dbl_tip_percentage = 0; | |
double dbl_food_total = 24.55; | |
double dbl_tip; | |
if (str_service_type == "good") { | |
dbl_tip_percentage = .15; | |
} else if (str_service_type == "great") { | |
dbl_tip_percentage = .2; | |
} else { |
This file contains hidden or 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
<?php if (!defined('APPLICATION')) exit(); ?> | |
<div class="Entry"> | |
<?php | |
$TermsOfServiceUrl = Gdn::Config('Garden.TermsOfService', '#'); | |
$TermsOfServiceText = sprintf(T('I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>'), Url($TermsOfServiceUrl)); | |
// Make sure to force this form to post to the correct place in case the view is | |
// rendered within another view (ie. /dashboard/entry/index/): | |
echo $this->Form->Open(array('Action' => Url('/entry/register'), 'id' => 'Form_User_Register', 'class' => 'form-horizontal')); | |
echo $this->Form->Errors(); |
This file contains hidden or 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 http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title>Light Show</title> | |
<style type="text/css"> | |
.cell { | |
width: 100px; | |
float: left; |
This file contains hidden or 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>Nav Delegation</title> | |
<style type="text/css"> | |
#member-error { | |
background: #c44a17; | |
padding: 10px; | |
color: #fff; |
This file contains hidden or 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>Intro to JavaScript - Quiz #1 - Alternate</title> | |
<link rel="stylesheet" type="text/css" href="http://necolas.github.com/normalize.css/2.0.1/normalize.css"> | |
<style type="text/css"> | |
html, body { | |
background: #6dbadc; | |
} |
This file contains hidden or 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>Whack-A-Fighter II</title> | |
<style type="text/css"> | |
#left { float: left; } | |
#field { | |
width: 500px; |
This file contains hidden or 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>Whack-a-mole</title> | |
<style type="text/css"> | |
#field { | |
float: left; | |
width: 500px; | |
height: 500px; |
This file contains hidden or 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>Intro to JavaScript - Quiz #1</title> | |
<link rel="stylesheet" type="text/css" href="http://necolas.github.com/normalize.css/2.0.1/normalize.css"> | |
<style type="text/css"> | |
html, body { | |
background: #6dbadc; | |
} |
This file contains hidden or 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>Intro to JavaScript - Quiz #1</title> | |
<link rel="stylesheet" type="text/css" href="http://necolas.github.com/normalize.css/2.0.1/normalize.css"> | |
<style type="text/css"> | |
html, body { | |
background: #6dbadc; | |
} |