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>Elephant Gallery</title> | |
</head> | |
<body> | |
<div class="section" id="gallery"> | |
<h1>Pictures of elephants</h1> | |
<img class="gallery-thumb" id="pic1" src="https://upload.wikimedia.org/wikipedia/commons/f/f9/Loxodonta_africana_-_old_bull_(Ngorongoro,_2009).jpg"> | |
<img class="gallery-thumb" id="pic2" src="https://upload.wikimedia.org/wikipedia/commons/6/63/African_elephant_warning_raised_trunk.jpg"> |
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>My Portfolio</title> | |
</head> | |
<body> | |
<h1>My Portfolio</h1> | |
<ul> | |
<li> | |
<h2>Elephant Gallery!</h2> |
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>jQuery Fun House Starter Code</title> | |
</head> | |
<body> | |
<div class="section"> | |
<h1>What is your name? | |
<input id="name"> | |
</h1> |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
}); |
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>Page Title</title> | |
</head> | |
<body> | |
<p>Saving this website</p> | |
</body> | |
</html> |
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
Function.prototype.bodyString = function bodyString(){ | |
var s = this.toString(); | |
return s.substring(s.indexOf('\n'), s.lastIndexOf('\n')); | |
} | |
console.log(function(){/* | |
hey | |
indented | |
\n\\\///* $pecial ch&rs | |
*/}.bodyString()); |
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
/* | |
It is not the critic who counts; not the man who points out how the | |
strong man stumbles, or where the doer of deeds could have done them | |
better. The credit belongs to the man who is actually in the arena, | |
whose face is marred by dust and sweat and blood; who strives valiantly; | |
who errs, who comes short again and again, because there is no effort | |
without error and shortcoming; but who does actually strive to do the | |
deeds; who knows great enthusiasms, the great devotions; who spends | |
himself in a worthy cause; who at the best knows in the end the triumph |
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
import Ember from 'ember'; | |
const { | |
computed: { or } | |
} = Ember; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
thing: or('someKey', 'this is wrong') | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
val1: 8, | |
val2: 8 | |
}); |