Explore BrainMass
Share

Explore BrainMass

    javascript - randomize a text (size/color)

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I'd like to make a javascript, that randomizes the text I input to the screen. I mean that size and color of the characters will be random (for example 3 different sizes and 3 different colors).
    What I mean is that the script writes a given text string to the screen so, that the size and color of each character is set up randomly. The characters would be of random size (for example 8,10,12) and color (ex. blue,black,red).

    © BrainMass Inc. brainmass.com October 10, 2019, 5:08 am ad1c9bdddf
    https://brainmass.com/computer-science/javascript/javascript-randomize-text-size-color-493564

    Attachments

    Solution Preview

    (--Please note that my work should only be used as a guidance and not be ...

    Solution Summary

    The expert provides Javascript to randomize a text by size and color.

    $2.19