A Little JavaScript Lesson

A conversation between Robert and I this afternoon…

if (‘designer’ != ‘google’) {
window.location = ‘http://google.com’;
}
else {
answer = question + designer;
designer += frustration;
}

Or correspondingly,

if (google_search_easiness > web_designer_willingness_to_answer) {
location.href = ‘http://google.com’;
}
else {
question = prompt(‘What’s your question’);
}

Author Citation Post by Kathryn Thomas, published 30 November 2011
Filed under Development

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>