To do this in Arduino/C code, a new intermediate position for the servo is specified for each main loop until it reaches the final position. The intermediate value is the sum of 95% of the current ...
but getting an Arduino starter kit is more convenient. Most already come complete with the UNO board and a bunch of components like LEDs, a temperature sensor, a DC motor, a servo motor ...