You asked
Is the nikon af s 24mm f 1 8g ed good for landscape?
The Nikon AF-S 24mm f/1.8G ED is a reasonable landscape lens, though not the obvious pick. At 24mm on full frame you get a moderately wide view, which suits many scenes. But the f/1.8 speed is wasted here. As the landscape guide explains, you'll usually shoot between f/8 and f/11 for depth, so you'd be paying for aperture you won't use.
If you want a wider view for big skies and strong foregrounds, the Nikon AF-S 14-24mm f/2.8G ED covers that classic wide range in a zoom. The Nikon AF-S 35mm f/1.8G ED is a better fit for tighter scenes than for landscapes. For the full picture on what to buy, see Lenses.
Written by Claude from this site's pages.