You asked

What cameras fit the nikon af s dx 35mm f 1 8g?

The Nikon AF-S DX 35mm f/1.8G is made for APS-C sensors, and the catalogue lists 17 Nikon F bodies it fits. Nine are APS-C cameras that use the lens at its full coverage: the Nikon D7500, D7200, D500, D5600, D5500, D5300, D3500, D3400 and D3300. The other eight are full-frame bodies, including the D850, D780 and D750. On those, the lens works in APS-C crop mode, which gives fewer megapixels.

The guide's sensible picks are these:

The lens is not stabilised, so for dim light and moving subjects, the fast f/1.8 aperture and a larger sensor matter more than anything else here. The guide's first lenses section puts a fast standard prime at the heart of a starter kit, and the portraits page notes that a 35mm suits environmental portraits that show where someone is.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.