Hello, 
I need to write Sieve of Eratosthenes in JavaScript step by step with user friendly interface. It must be showing all the steps which algorhtim is performing. It must be something like this:

1. {,2,3,4,5,6,7,8,9,10} First we need to eleminate all the multiples of the number 2. (We are presenting now all the multiples of 2 red font, and then animation how it is being removed from the set)

2. {2,3,5,7,9} We set 3 as next number, and we eliminate all the multiples of the number 3 (We are presenting now the multiples of 3 with red font, and then animation how it is being removed from the set)

and so end till end. 

I wonder how to do this, and what technology(frameworks of javascript) should i use. I don't know why where to start. Please help me. https://phpacademy.org/img/smileys/smile.png