Check your coil wire to the center of the distributer cap to make sure it is completely seated and make sure you have the right rotor installed properly and that it is making contact with the center post on the cap. If your getting spark out of the coil that only leaves the rotor cap or wires that can be bad.
If your getting spark to the plugs then you have a fuel issue.
Mondo, look in the YJ General Discussion and the 6th sticky from the top titled "A better way to get help when posting on the technical forum" relates to your current situation.
I realize you're a newbie and don't mean to be in any way disrespectful. The more information you can provide, especially in this case, how long you've had the Jeep and whatever diagnostics and repairs you have done in trying to correct the current situation, we will be able to provide more and better answers.
A forum community dedicated to Jeep Wrangler owners and enthusiasts. Come join the discussion about reviews, performance, trail riding, gear, suspension, tires, classifieds, troubleshooting, maintenance, for all JL, JT, JK, TJ, YJ, and CJ models!