Jump to content

matdemo159

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About matdemo159

  • Rank
    Newbie
  1. Hello, sorry for not replying sooner. Here's an example of what I'm trying to achieve, though for this mockup I just manually styled each letter individually. At some point I might want to use images, but for now simply coloring text will be enough. The goal is for each letter to have its own color, for example "P" will always be red, every time it appears. I want the user to be able to input their own string of characters, and then have the page give them the colored version of that same string. What's the best way to go about achieving this? My first thought, as I said above, was to convert the string into an array of characters and then use that to print the result, but if there's a better method then I'm all for it!
  2. Hello, I'm a total novice to HTML and am currently working on a really basic page: The user inputs a name into a form, and then based on their input, the page displays a series of images. Each character of the name corresponds to a different image output. i.e. the name "Joy" would output the image corresponding to J, the image for O, and the image for Y, in that order. My initial idea for this was to store the value of each character of the name into an array, and then sequentially output the corresponding images. However, I can't seem to find a way to store the input into an array, let alone one character at a time. Any help would be much appreciated!
  3. Hello, I'm a total novice to HTML and am currently working on a really basic page: The user inputs a name into a form, and then based on their input, the page displays a series of images. Each character of the name corresponds to a different image output. My initial idea for this was to store the value of each character of the name into an array, and then sequentially output the corresponding images. However, I can't seem to find a way to store the input into an array, let alone one character at a time. Any help would be much appreciated!
×
×
  • Create New...