When I turned the Mac back on and pressed command R, the question mark still comes back.
I have done a factory reset as directed. Now the only thing that comes on the screen is a flashing question mark and apple support website which told me to turn off computer, turn back on and use command + R. After doing so, the question mark still comes back.
MacBook Air 13″, macOS 12.3