Array.from() method creates and returns an array object from any iterable object.
The basic idea is to get the upper and lower values for the range as well as steps to create the sequence.
Let’s add the 3 range sliders using HTML and also add one more div to display the sequence.
Now, finally let’s add the code to create the sequence using all those values.
The Sequence generator function code is from MDN.