- Write a script that creates a number of
divelements. Eachdivelement must have the following- Random
widthandheightbetween20pxand100px - Random
background-color - Random
color - Random
positionon the screen - A
strongelement with text "div" inside thediv - Random
border-radius - Random
border-color - Random
border-widthbetween1pxand20px
- Random
-
Write a script that creates 5
divelements and moves them in circular path with interval of 100 milliseconds -
Create a
textareaand twoinputs withtype="color"- Make the font
colorof the text area as the value of the first colorinput - Make the
background-colorof thetextareaas the value of the secondinput
- Make the font
-
Create a tag cloud:
- Visualize a string of tags (strings) in a given container
- By given
minFontSizeandmaxFontSize, generate the tags with differentfont-size, depending on the number of occurrences
var tags = [ "cms", "javascript", "js", "ASP.NET MVC", ".net", ".net", "css", "wordpress", "xaml", "js", "http", "web", "asp.net", "asp.net MVC", "ASP.NET MVC", "wp", "javascript", "js", "cms", "html", "javascript", "http", "http", "CMS" ]; var tagCloud = generateTagCloud(tags, 17, 42);
-
* Create a TreeView component
- Initially only the top items must be visible
- On item click
- If its children are hidden (collapsed), they must be made visible (expanded)
- If its children are visible (expanded), they must be made hidden (collapsed)
- Research about events

