Gostaria de compartilhar um pequeno projeto pessoal que teve como intuito a prática de um dos fundamentos da linguagem JavaScript, as funções "Callback", especificamente a função ForEach, neste caso implementada sobre um array que recebe como entrada, valores numéricos enviados pelo usuário.
Através do método ForEach, cada elemento, seu valor e respectiva chave (ou index) contidos no array entram como parâmetros para a função ForEach, que retornará visualmente os elementos ordenados e enumerados em ordem crescente.
Note
O site também apresenta responsividade para diferentes tamanhos de tela, do mobile ao desktop.
I'd like to share this little personal project of mine, developed with the goal of practicing some of the fundamentals of JavaScript, the Callback functions, especifically the ForEach function, in this case implemented over an array which receives as entry, numerical values submitted by the user.
Through the use of this method, each element, their value e respective index in the array are parameters for the ForEach function, in turn returning its elements in an ordered fashion.
Note
Special attention was given to responsiveness, enabling the website to be able to adapt to different size screens, be it a mobile or desktop sized-screen.