Mercurial > open-web-challenges
comparison index.html @ 12:d0baeac9a413
Reversed objective of first test; now the user has to change 'hello world' to 'hai2u' instead of the other way round.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 30 Mar 2009 23:39:37 -0700 |
parents | 5a5d167e54ce |
children | 906296a2d436 |
comparison
equal
deleted
inserted
replaced
11:5cab1925bcda | 12:d0baeac9a413 |
---|---|
19 <div id="msg-header">Atul’s Open Web Challenge #{id}</div> | 19 <div id="msg-header">Atul’s Open Web Challenge #{id}</div> |
20 </div> | 20 </div> |
21 <div id="challenge-1" class="challenge"> | 21 <div id="challenge-1" class="challenge"> |
22 <div class="content"> | 22 <div class="content"> |
23 <p>Use <a href="http://www.getfirebug.com">Firebug</a> to change | 23 <p>Use <a href="http://www.getfirebug.com">Firebug</a> to change |
24 the text below to say “hello world” instead of “hai2u”.</p> | 24 the text below to say “hai2u” instead of “hello world”.</p> |
25 <span class="boxed">hai2u</span> | 25 <span class="boxed">hello world</span> |
26 </div> | 26 </div> |
27 <div class="hints"> | 27 <div class="hints"> |
28 <p>You can enable Firebug by going to the “View” menu and | 28 <p>You can enable Firebug by going to the “View” menu and |
29 selecting “Firebug”.</p> | 29 selecting “Firebug”.</p> |
30 <p>You may have to enable Firebug to work with this site.</p> | 30 <p>You may have to enable Firebug to work with this site.</p> |
35 try clicking on any content you want to edit in the “HTML” | 35 try clicking on any content you want to edit in the “HTML” |
36 tab!</p> | 36 tab!</p> |
37 </div> | 37 </div> |
38 <div class="validator"> | 38 <div class="validator"> |
39 function(query) { | 39 function(query) { |
40 return query.find(".boxed").text() == "hello world"; | 40 return query.find(".boxed").text() == "hai2u"; |
41 } | 41 } |
42 </div> | 42 </div> |
43 </div> | 43 </div> |
44 </body> | 44 </body> |
45 <script src="jquery.js"></script> | 45 <script src="jquery.js"></script> |