How would you create a button that, when clicked, directs the user to another webpage?
Instructor solution
Think you've got it?
Which HTML snippet shows a correctly-written button that, when clicked, directs the user to `http://www.codevirginia.org/"?
- A.
<button> <a href="http://www.codevirginia.org/">Go to CodeVA</a> </button>
- B.
<a href="http://www.codevirginia.org/"> <button>Go to CodeVA</button> </a>
You may exit out of this review and return later without penalty.