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
{ | |
"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", |
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
*{ | |
box-sizing:border-box; | |
margin:0px; | |
} | |
body{ | |
background-color:#181818; | |
padding-top: 30px; | |
margin:0px; | |
font-family: "Roboto Condensed", sans-serif; | |
} |
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
<?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> |
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
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>'); |
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
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]); | |
} |