more ramblings of a retired teacher
commenting (maybe ranting) on education - even my own
Categories:

Archives:
Meta:
November 2017
M T W T F S S
« Mar    
 12345
6789101112
13141516171819
20212223242526
27282930  
07/04/13
Unicode and Javascript
Filed under: P2PU
Posted by: Algot @ 12:07 pm

P2PU Webmaking101+

P2PU Webmaking101 is designed to get you from the first step of writing html code to actually launching a hosted web site. It is a short series of practical tasks.

After you launch your site, you need to keep moving. Make pages. Experiment. Publish your efforts as you are satisfied with your progress (even incomplete).

Make your efforts known on blog posts, comments back to your P2PU peers, tweets, etc. Maybe what you found out will help one of them understand something that has been difficult.

Here’s one of my experiments with Unicode and JavaScript.

<script>
document.write(\"<p style='text-align:center'>\");
var randomnumber=Math.floor(Math.random()*272+9728);
for (var i=0; i<50; i++) {
document.write(\"&#\"+randomnumber.toString()+\";\");
}
document.write(\"</p>\");
</script>

Leave a Reply