I am new to chess, why didn't I win.

how are you new to chess when you jojned in 2020
i started chess in the start of 2021
on 23 you didnt win because it wasnt a check and rooks dont move diagonally

The Info page says black won by resignation.
https://www.chess.com/game/live/137884226532?username=zain2212
Also, you were completely lost at that point.