Manipulating HTML elements with Javascript

In this tutorial, Javascript is used to update the contents of elements on a page according to user inputs. A HTML page contains buttons for three random Korean characters, a copyright symbol and a square root sybmol and a text area for textual input. When a button is pressed, the character’s unicode is passed to the script, which converts it and appends it to the text area. The script also updates displays the contents of the text area on the same page.

Read more of this post


Formatting Source Code in HTML

If have you seen a number of my tutorials, you would have seen some nicely formatted sample code embedded within the page. Pastebins can host your code there are Javascripts that can also format your code. However, the WordPress service does not allow either of those options to be used. The only way I have been able to do so far has been to convert the code into an HTML code.

Read more of this post