What is better: the King's or the Queen's gambit?


For under 1700 I think you should go for the Queens gambit. You will learn much more this way since the chess.com analysis may actually make sense in this opening. After 1800-1900 you start developing and understanding your own playstyle in chess, then you can make a more educated decision. Very few people nowdays have the romantic aggressor in them and I think this is because its simply harder to learn chess with this playstyle thanks to computers.
In the kings gambit you will need to accept 2 things.
1. You will go for practicality over objectivity - meaning that dont look too hard on the computers evaluation.
2. When analysing your games, it is likely that even with the computers help, you may not understand where you went wrong.