Skip to content

Javascript Challenge Markdown #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions javascript_challenge/js_challenge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#JavaScript Challenge

Create an html document that:

1. Asks a Trivia question.
* Add a button that when clicked replaces the question with the answer.

2. Ask a corresponding question.
* Add a button that when clicked replaces the question with an image.

***Extra:*** add code that hides the button once clicked.

###For Example:
**Q:** Who won the 2007 NBA Championship?

**A:** The San Antonio Spurs

**Q:** Would you like to see a picture?

**A:**
![alt text](http://hoppingintopuddles.files.wordpress.com/2007/07/spurs-win.jpg)