A short tutorial on using Fortran with Code Blocks. To begin:
Install GNU Fortran compiler (open source, see https://fortran-lang.org/en/learn/os_setup/install_gfortran/ for instructions)
Install Code Blocks (open source, https://www.codeblocks.org/downloads/binaries/)
Useful links on installation/ setting up:
https://blog.hani-ibrahim.de/en/english-fortran-ide-for-macos.html#h0
Start Code Blocks
Open this project file "code_01/code_01.cbp"
Try to compile and run by Build > Build and run (F9)