Mercurial > open-web-challenges
changeset 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 | 5cab1925bcda |
children | d1f83e9c0791 |
files | index.html |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Mon Mar 30 23:35:23 2009 -0700 +++ b/index.html Mon Mar 30 23:39:37 2009 -0700 @@ -21,8 +21,8 @@ <div id="challenge-1" class="challenge"> <div class="content"> <p>Use <a href="http://www.getfirebug.com">Firebug</a> to change - the text below to say “hello world” instead of “hai2u”.</p> - <span class="boxed">hai2u</span> + the text below to say “hai2u” instead of “hello world”.</p> + <span class="boxed">hello world</span> </div> <div class="hints"> <p>You can enable Firebug by going to the “View” menu and @@ -37,7 +37,7 @@ </div> <div class="validator"> function(query) { - return query.find(".boxed").text() == "hello world"; + return query.find(".boxed").text() == "hai2u"; } </div> </div>