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
class Love { | |
this.lover; | |
this.loved; | |
constructor(lover, loved){ | |
this.lover = lover | |
this.loved = loved | |
} |
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
body { | |
margin: 0px; | |
padding: 0px; | |
font-family: 'Oswald', sans-serif; | |
font-size: 24px; | |
} | |
#topLeftBox { | |
position: absolute; | |
background-color: rgb(254, 169, 0); | |
width: 200px; |
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> | |
<meta charset="utf-8"/> | |
<title>CSS Positioning</title> | |
<link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Oswald'> | |
<link href='http://fonts.googleapis.com/css?family=Orbitron:400,500' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" type="text/css" href="style.css"/> | |
</head> | |
<body> |
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 a = "hello" |
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 countryData = [ | |
{ | |
'country': 'Canada', | |
'total': 12 | |
}, | |
{ | |
'country': 'East Asia', | |
'total': 15 | |
}, | |
{ |
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
$(document).ready(function(){ | |
console.log("We are ready"); | |
/*************************/ | |
//Initialize some variables | |
/*************************/ | |
//Set the video link | |
var theVideoLink = "https://www.youtube.com/watch?v=QVn7PzNoVqE&controls=1"; | |
var theVideoLinkTwo ='https://www.youtube.com/watch?v=ApN1cZoiX4w&controls=1'; |
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
body{ | |
font-family: "Comic Sans MS"; | |
} | |
.videoStyle{ | |
float: left; | |
width: 640px; | |
height: 480px; | |
} | |
.playDiv{ | |
text-align: center; |
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> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width"> | |
<title>Standard Page</title> | |
<link rel="stylesheet" type="text/css" href="style.css" /> | |
</head> | |
<body> | |
<!-- CONTENT GOES 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
//Wrap all of your js inside the jQuery document.ready() function | |
$(document).ready(function(){ | |
/***********************************/ | |
//Initialize the Popcorn Video Object | |
//First, declare a variable that is the URL of the video | |
var theVideoLink = 'https://www.youtube.com/watch?v=UkGkUC-bMrs'; | |
//Then declare a variable for the Popcorn object. |
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
#infoBox{ | |
font-family: Helvetica; | |
font-size: 32px; | |
} | |
#video{ | |
width: 320px; | |
height: 240px; | |
margin: 10px auto; | |
} | |
.greenBox{ |
NewerOlder