For web development you will want a laptop with a reasonable quantity of RAM, for example 16GB to start. Also consider laptops with a competent CPU which will allow you to put together and test your code quicker. Plenty of screen space is helpful as well, and a comfortable keyboard for typing for long periods of time.
I use a Macbook Pro which is great and does everything I need it to do.