Karma/Future Direction: Difference between revisions
Petergijsels (talk | contribs) Created page with 'We have now converted around 80 lessons to Karma, so this might be a good time to look back and evaluate what we have done so far. The focus on this page will be on things that c...' |
Petergijsels (talk | contribs) |
||
| Line 40: | Line 40: | ||
Notice that you still have to write the logic of your lesson in JavaScript (what is now in lesson.js) and can still style your lesson with CSS (lesson.css). | Notice that you still have to write the logic of your lesson in JavaScript (what is now in lesson.js) and can still style your lesson with CSS (lesson.css). | ||
For many lessons a couple of divs in the body of the html suffice; the rest can be done in JavaScript. If you need more complex html you can use the markup library to generate html from Python or include the contents of an html file in the generated html. | |||
===Higher layer=== | ===Higher layer=== | ||