Apricode Interview Question

Theoretical: write a function in Python which calculate the nth number in Fibonacci. in javaScript: 1. sort an array of numbers, 2. use javaScript to create squares in a web page, in different colors, then make them change there place in circularity way.