diff --git a/index.html b/index.html index 621dcda..41ca88d 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ + @@ -55,4 +56,4 @@

- \ No newline at end of file + diff --git a/script.js b/script.js new file mode 100644 index 0000000..b791319 --- /dev/null +++ b/script.js @@ -0,0 +1,33 @@ +$(document).ready(function() { + + $('h1').text("Something cheeky"); + + $orderedList = $('
    ') + .append($('
  1. BOM vs. DOM: The Rematch
  2. ')) + .append($('
  3. Things that go BOM in the night
  4. ')) + .append($('
  5. .ready() for love
  6. ')) + .append($('
  7. <3 Mr. Robot Season 1 <3
  8. ')); + + $('h4').parent().append($orderedList); + + $('h4').next().css({ + 'text-align':'center', + 'padding-right':'40px' + }); + + $('.sad').toggleClass('sad happy'); + + $('#annoying-popup') + .attr('href', 'http://www.cashcats.biz') + .css({'top': '30px', 'right': '0'}); + + $('ul') + .children() + .eq(6) + .text('whazzup'); + + $('input[type = "text"]').replaceWith(''); + +}) + +