Please choose the correct solution to the question: How do I attach a subfloor to a vapor barrier when making a sunroom addition for a house?

Solution1: Attach the to the joists with flooring screws so it is less likely to squeak

Solution2: Attach the to the joists with a staple gun so it is less likely to squeak

Answer format: solution1/solution2