Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion boxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
</div>
<div id="row3" class="row">
<div class="box boxType3"></div>
<div id="secretBox" class="box boxType1"></div>
<div id="secretBox" class="box boxType1">

</div>
<div class="box boxType2"></div>
<div class="box boxType3"></div>
</div>
Expand Down
57 changes: 56 additions & 1 deletion boxes.js
Original file line number Diff line number Diff line change
@@ -1 +1,56 @@
console.log("hello world");
$(document).ready(function(){
console.log('ready');

// $('#secretBox').css('backgroundColor', 'white');
// $('#secretBox').append('<h1>Secret Box</h1>');
// $('#row1').children().addClass('boxType3');
//
// // $('#row4').children().last().css('display', 'none');
//
// $('.boxType1').css('backgroundColor', 'white');
//
// $('#row2 div:nth-child(2)').removeClass();
// $('#row2 div:nth-child(1)').removeClass();


// $(".box").not("#secretBox").css("width", "2px");



//
// $('#container').on('click', function(e){
// console.log(e.pageX)
// console.log(e.pageY)
// });
//
//
// $('.boxType1').wrap('<a href="http://www.galvanize.com/"/></a>');
//
// $('.boxType1').on('click', function(){
// alert('you can never leave')
// });
//
//


//
// $('.box').append('<img src="http://loremflickr.com/100/100" />');
//
//
// $('div .box img').on('click',function(e){
// $(e.target).remove();
// });


//
// $('#container').on('click', function(e){
// $('#container').css('backgroundColor', 'black')
// $(e.target).css('backgroundColor', 'white');
// });
//
//




}); // ready