changeset 18:fa108b6e9fbd

Added two secret bonuses to challenge 1.
author Atul Varma <varmaa@toolness.com>
date Tue, 31 Mar 2009 07:24:47 -0700
parents 3e4f23f2c911
children c029286305e2
files index.css index.html open-web-challenges.js
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.css	Tue Mar 31 07:18:39 2009 -0700
+++ b/index.css	Tue Mar 31 07:24:47 2009 -0700
@@ -17,6 +17,10 @@
     padding: 0.5em;
 }
 
+.secret {
+    display: none;
+}
+
 h1 {
     font-weight: normal;
 }
--- a/index.html	Tue Mar 31 07:18:39 2009 -0700
+++ b/index.html	Tue Mar 31 07:24:47 2009 -0700
@@ -23,6 +23,10 @@
       <p>Use <a href="http://www.getfirebug.com">Firebug</a> to change
         the text below to say “hai2u” instead of “hello world”.</p>
       <span class="boxed">hello world</span>
+      <span class="secret">Secret Bonus 1: Use jQuery instead of
+      Firebug!</span>
+      <span class="secret">Secret Bonus 2: Use neither jQuery nor
+      Firebug!</span>
     </div>
     <div class="hints">
       <p>You can enable Firebug by going to the “View” menu and
--- a/open-web-challenges.js	Tue Mar 31 07:18:39 2009 -0700
+++ b/open-web-challenges.js	Tue Mar 31 07:24:47 2009 -0700
@@ -59,7 +59,7 @@
 $(window).ready(
   function() {
     function showChallenge() {
-      OWC.load(2);
+      OWC.load(1);
     }
 
     if ($('#_firebugConsole').length)