Jump to content

Running code in ws3 vs running it like .html extension


Recommended Posts

Hey, for a webpage I would like to use collapsibles. I searched how to make this and found a solution on ws3 schools. When I applied it to my case and tried  running it in ws3 schools it worked. But when i copy the code into a txt file, and then save it as a .html file and run it, the collapsibles don't work. Does anybody know what I'm doing wrong? When you run the code in ws3 it works fine.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...