Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>
- <title>Laugh-o-rama</title>
- <link rel='stylesheet' type='text/css'fF href='./Laugh-o-rama_files/quiz.css'>
- <script type='text/javascript'>
- function reveal_Answer(answer) {
- debugger;
- var currentColor = document.defaultView.getComputedStyle(answer,null).getPropertyValue('color');
- if (currentColor == "rgb(0, 0, 0)") {
- answer.style.color='#339999';
- }
- else {
- answer.style.color='#000000';
- }
- }
- </script><style type='text/css'></style>
- <h1>LAUGH AWAY </h1>
- <p class='q'>Q: I'm tall when I am young and I am short when I'm old. What am I?</p>
- <p class='a' onclick='reveal_Answer(this)'>A: Candle</p>
- <p class='q'>Q: What is the longest word in the dictionary?</p>
- <p class='a' onclick='reveal_Answer(this)'>A: Smiles, because there is a mile between each letter S </p>
- <p class='q'>Q: What travels around the world but stays in one spot?</p>
- <p class='a' onclick='reveal_Answer(this)'>A: A stamp!</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement