The following \texttt{2DSierpinskiTriangle.html} program creates one or more Red Sierpinski triangles.
Modify the \texttt{2DSierpinskiTriangle.html} HTML code and the \texttt{2DSierpinskiTriangle.js} Javascript code so that the program uses a slider instead of an input textbox, and so that the color of the triangles change to new color with each new number of divisions: