Mercurial > open-web-challenges
changeset 6:5a5d167e54ce
Changed formatting of 'hello world' block.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 30 Mar 2009 17:10:40 -0700 |
parents | 881139cd3c4a |
children | 5b049b310795 |
files | index.css index.html |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/index.css Mon Mar 30 17:03:55 2009 -0700 +++ b/index.css Mon Mar 30 17:10:40 2009 -0700 @@ -12,6 +12,12 @@ color: black; } +.boxed { + border: 1px dotted black; + padding: 0.5em; + margin: 0.5em; +} + h1 { font-weight: normal; }
--- a/index.html Mon Mar 30 17:03:55 2009 -0700 +++ b/index.html Mon Mar 30 17:10:40 2009 -0700 @@ -22,7 +22,7 @@ <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> - <tt>hai2u</tt> + <span class="boxed">hai2u</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("tt").text() == "hello world"; + return query.find(".boxed").text() == "hello world"; } </div> </div>