You can find the tutorial on the basics of scripting in GEE in this repository under Module1.
Watch this video to learn about using the repository and save the scripts to your own repository:
The tutorial has 5 exercises in 5 scripts of the repository:
Read the comments in the scripts. Edit and execute the code by following the instructions in the scripts.