Printed guides existed for the game, I had one as a kid. But I didn't get it until after I had already played through the game.
You can learn the type advantages by a trial and error. You can learn what types Pokemon are by catching them.
The game tells you when a move is not effective. If that happens, try another move. You'll eventually learn the type matchups.