Im working on a practice page were the user can click a div and the text will change to display new text. The best way I could thing of doing this is by swapping the text off the page and switching in the new text onto the page via a click event.
Im having a problem with this, I believe because im getting the syntax of the function wrong… Can someone help me out here? What am I doing wrong? how can I create a click event that changes the ‘top’ value of of my divs allowing me to click and change the text on the page?