The tutor tells a trick for printing long strings with JavaScript. Suppose you have a long string, over many lines, that you want to print with JavaScript. Typically, to print a string, you might assign it to a variable, then …

Web Programming: JavaScript: how to manage a multi-line string Read more »

The tutor shows an example of a wrapper program in action. To my knowledge, a wrapper is a program that hides a function that the managing system can’t handle. The “wrapping” is code that the managing system recognizes as the …

Web design: a JavaScript wrapper for SVG in WordPress Read more »

The tutor talks a bit about “auto”: is it the default setting for layout? I’ve read that “auto” is default: unless you set the property to something else in particular, the element will be rendered as though that property was …

Web programming: the “auto” setting Read more »

The tutor tells how to determine the version of Python the server is using. I’ve found two ways to print out the version of Python used by the remote server: import platform print “Content-type: text/html\n\n” print(platform.python_version()) or else import sys …

Web programming: Python: finding server version Read more »