Fill $randomenglish with a string of randomly generated English as follows:1. The number of words should come close to the value specified in $numberwords, but don't break off a sentence to force it. Come within at most five words.2. The $commonnouns vari

...is is not a random word generator (that would be too easy!), it should generate proper english sentences. If you simply categorize nouns, verbs, and adjectives, that's a good way to start.The task of populating an HTML page with randomly generated CSS classes can be broken up into smaller tasks. Part one is to simply randomly generate CSS classes. At minumum, accomodate the folling method call: getcss($css, @classnames); 1. From this, you could fill the $css with: div.title {font-style:helvetica; font-size:14;background-color:#ff0000} body {padding:5px; font-weight:bold;} etc... 2. The @classnames array should contain all the CSS classes you've created. for example ("div.top", "body", "table.ft", "a.green:link"). As always- this is the minimal requirement, please feel free to embelish- add a capitalization switch, random spacing, etc. 3. Random CSS - Part 2 : Population Given a set of CSS class names (just an @array full of string scalars), and an HTML file, fill the HTML elements with corresponding classes. (This is not as hard as it sounds.) At minimum, accomodate the following subroutine call: pop...

Essay Information


Words: 359
Pages: 1.4
Rating: None

All Papers Are For Research And Reference Purposes Only. You must cite our web site as your source.