If you're unsure of the reason the stove isn't lighting - it could either be a problem with your ignitor or with your gas supply.
Pro-tip: To check the latter, leave the stove going for 1/2 an hour with all the doors and windows closed, and then strike a match