Skip to content

Instantly share code, notes, and snippets.

View kristyburge's full-sized avatar

Kristy Burge kristyburge

View GitHub Profile
@kristyburge
kristyburge / nested-objects.js
Last active August 1, 2018 14:17
Nested Objects Example
var obj1 = {
hello: function() {
console.log('Hello world');
return this;
},
obj2: {
breed: 'dog',
speak: function(){
console.log('woof!');
return this;
<div class="cover">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-6 welcome">
<h2>Your title</h2>
<p class="lead">This text is on the right side of the page</p>
</div><!-- .col -->
</div><!-- .row -->
</div><!-- .container -->
</div><!-- .cover -->