Need example code for two buttons from momentary toggle

[edit] I do not like this example... it uses INPUT for the buttons, leaving out the pulling resistor.
https://www.makeuseof.com/wire-and-program-multiple-push-buttons-with-an-arduino/
Use this for buttons...
https://docs.arduino.cc/built-in-examples/digital/InputPullupSerial/