The 18-55 is good for a general learning lens. Enjoy the purchase. Add a 50mm f/1.8 as soon as possible for lowlight and beauty shallow dof shots. It makes an enormous difference in image quality compared to the 18-55, almost unlocks your camera's ability. If you find you do lots of wide landscapes, add a 300$ 10-18mm. A smashing ultra wide angle lens. And if you find yourself needing more reach zoom/compression get a 55-250mm STM IS.
I always advice Canon shooters to have that set:
10-18mm STM IS
50mm f/1.8 II
55-250mm STM IS
the three will cover everything you need including extreme telephoto, ultra wide angle, and lowlight/shallow dof. I don't advice the 18-55mm with them because at the wide end I would use the 10-18mm better and at the 55mm end I would use the 50mm 1.8 much better. But it doesn't hurt to have one anyway.
I don't like the 40mm pancake as it's too slow for a prime lens, especially on a s35/APS-C body where it's effectively a 60mm f4-ish. After using both I much preffered the 1.8 image, which offers significantly shallower depth of field because of the longer focal length and wider iris. It's a 80mm f2.8 equivalent, an ideal lens for people shooting and close ups. As weak and cheap as the lens feels, I never broken one even after abusing them.
Some people don't like shallow depth of field and use heavy lighting set ups, for those the 40mm 2.8 should be a better option for the better build.
The 40 can be used at 2.8 , shallowing the field a lot, and with great sharpness, and when want more 85 1.8 is more, the 50 nifty is noisy and jumpy with the STM System, not only cheap build.