Question: I was given this example but how would I change this up so that I can swap sources instead of values, using the same IDs?
I was given this example but how would I change this up so that I can swap sources instead of values, using the same IDs?

IDOCTYPE html chead> title Page Title/head> kbody> kinput type "text" id "first" cinput type-"text" id-"second" cbutton onclick-"swap()"> swap
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
