You need a paid membership to Nintendo Switch Online to play course world in Super Mario Maker 2. Pretty sure you could access course world at no extra cost in the original
Nintendo Switch online service coming in 2018, with $20 annual membership cost – GeekWire