Generating a random string in JavaScript can be useful for a variety of tasks, such as generating unique identifiers or password reset tokens.
Generators
How To Generate a GUID in JavaScript
In JavaScript, there are several libraries and built-in methods that can be used to generate a GUID.
Range generator
Creates a generator, that generates all values in the given range using the given step. Use a while loop to iterate from start to end, using yield to return each value and then incrementing by step. Omit the third argument, step, to use a default value of 1. Source https://www.30secondsofcode.org/js/s/range-generator
Generate a random hexadecimal color code
Use Math.random() to generate a random 24-bit (6 * 4bits) hexadecimal number.
DHTML Tooltip Generator 3
Sometimes the HTML “alt=” isn’t enough to relay the detail you’d like it to. Here is a tool that will allow you to give your users more interactive tooltips. This script will allow you to create a custom DHTML tooltip box on your site.
Array Creator 3
Coding large arrays can be a bit of a repetitive chore. This script will create a generator that will help speed up the process. Easy to use and implement!
Flashing Scrollbar Maker
This script lets you create your own flashing scroll bars. Simply type in two colors to the prompt and let JavaScript do the rest!
Robots Text Generator
This generator creates the meta tag for robots. It also includes the code for the Googlebot.
Drop Down Menu Generator
Simply select the options you would like in your pulldown menu, enter the text and URL for each listing, and click the button to generate the source code. Easy! And, we can even mail the generated code to you!
Linear Equation Generator
This Linear Equation generator asks you to find the relationship between X and Y. This is a straight line formula in the form of Y=MX+B where M is the slope and B is the y-intersect.