Help with a new bathroom light/fan fixture
Without all details or photos, you need 2 wire on each side of your switch or a single wire with jumper on your line in side, then 2 (2 black or 1 black and 1 red) wires from the load side. Whites all together. At your fan, you need white and ground and the 2 other wires. From load, 1 wire goes to fan black/blue/red whatever color, and the other load side goes to the light. Here, tie all whites together too. Here is a sample drawing I found: