Skip to content

Instantly share code, notes, and snippets.

{
"games": [
{
"title": "Gears of Wars",
"developer": "Epic Games",
"cover": "https://upload.wikimedia.org/wikipedia/en/a/a4/Ready_Player_One_cover.jpg",
"url": "http://www.amazon.com/Ready-Player-One-A-Novel/dp/0307887448"
},
{
"title": "Gears of War 2",
@Usc012
Usc012 / css.css
Last active August 29, 2015 14:27
calculator
*{
box-sizing:border-box;
margin:0px;
}
body{
background-color:#181818;
padding-top: 30px;
margin:0px;
font-family: "Roboto Condensed", sans-serif;
}
<?php
$action=$_REQUEST['action'];
if ($action=="") /* display the contact form */
{
?>
<form action="" method="POST" enctype="multipart/form-data">
<input type="hidden" name="action" value="submit">
Your name:<br>
<input name="name" type="text" value="" size="30"/><br>
Your email:<br>
var Jermaine = {
init:function(){
var students = [ 'Kyle', 'Trinh', 'Miles', 'Jermaine', ];
var name = 'Jermaine';
var div = $('div');
for(var i = 0; i < students.length; i++){
if( students[ i ] == name){
$('.name').append('<div>' + name +'</div>');
var name = 'Jermaine';
var students = ['Kyle','Trinh','Miles','Jermaine'];
$('body').append('<ul><li>' + students + '</li></ul>');
for(var i = 0; i < students.length; i++){
console.log(students [i]);
}