I'm trying to use Javascript to create a tabbed box that will display different text according to which tab is clicked. I've been trying to us display:none to allow the text to occupy the same space and then use Javascript to change the display properties when a tab is clicked but I can't seem to get it to work.
I am a complete novice in Javascript and have only been using HTML and CSS for a few months so I'd appreciate any advice you can give.
Also, I'm attempting to get better with self-study so an explanation of code would be great.
Thanks, MisguidedTree