Why wouldn't my laptop connect to the Wi-Fi?

I was on my iPhone this morning and the Wi-Fi was working normally, but when I powered up my MacBook Pro, it said it was unable to connect to the Internet and wouldn't load any pages, yet the Wi-Fi on my phone was working fine.

I checked everything, it was all normal, so I just restarted my computer and the Wi-Fi was working. Why did it do this? It's never done this before. This laptop is also brand new and shouldn't have a problem connecting to the Internet

It may be an obvious question, but is the wireless connection on your computer, turned on?

  • Wouldn't turning off iPhone while charging shorten battery life? They say the iPhone has a battery life of 400 full charge cycles before it starts its decline. Ok here is the thing… A lot of talk on how to save battery life on the iPhone by charging habits such as turning the phone off while charging, airplane mode while charging, turn off Wi-Fi bluetooth etc… But if the phone charges faster… Wouldn't that increase the amount of full charge/discharge cycles and there for decreasing the life of the battery?
  • Why won't my Iphone 4s connect to my new HP laptop? I just bought my laptop about 2 days ago and i downloaded itunes. As soon as i plugged in my iphone, a background noise popped up, and nothing happened. So i opened itunes and it would not show my iphone. Also in my computer, it did not register it either. PS: i know its not a faulty cord, because i tried 3 different ones, and every time i plug it in or unplug it makes that background noise.
  • Why won't my laptop connect to my wireless? Ok I have a ps3, iPhone and a iPad all three are connected to the Internet. However my laptop won't it say's I have Limited access. I don't understand why my laptop won't connect but the other devices do?
  • Why does my Wi-Fi connect to my ipad and iphone but not my laptop? My Wi-Fi on my laptop will say its connecting but then doesn't. It says my cord is broken or not plugged in but I've checked it and there's nothing wrong. My Wi-Fi connects fine to my iPad and iPhone. Not understanding why it won't connect to my laptop anymore.