Examples for transcrypt
You need to have Python 3.6 installed.
Install Transcrypt with pip install transcrypt
You get a extra directory named
Start hello.html in your browser and test the code.
If you like to see a kind of tutorial for beginners in Transcrypt go to
- Alerts, Prompts and Confirmations:
2a. Inserting text into DOM elements in HTML5:
2b. Document properties:
2c. Changing texts with querySelector(All), getElementById, getElementsByClassName and getElementsByTagName
- Programming Cookies:
- Write documents into the browser ouput with document.write:
- Navigator properties:
- Location: Load, reload, replace files into the browser history:
Basics on game programming with DOM/HTML5: