You asked
Which should I buy first a standard zoom or a fast prime for a nikon d3400 on a tight budget?
For a Nikon D3400 on a tight budget, start with the standard zoom, then add the fast prime. The first camera guide suggests the body with its kit zoom for everything, and the lenses guide makes the same point: the kit zoom is fine to start with. A zoom covers everyday shots, travel and most situations, so you learn what you actually photograph before spending on a specialist lens.
If you don't already have a zoom, the D3400 is an APS-C camera, so the camera page lists the kit-style options. The Nikon AF-S DX 18-55mm f/3.5-5.6G VR II is the sensible everyday zoom. The Nikon AF-P DX 18-55mm f/3.5-5.6G VR is a lighter alternative. Both have VR, which matters here because the D3400 has no stabilisation in the body, so it steadies the camera at slow shutter speeds, not moving subjects.
The fast prime is for people, food and dim rooms. On APS-C, the guide's equivalent of a 50mm f/1.8 is a 33-35mm f/1.4 to f/1.8. The Nikon AF-S DX 35mm f/1.8G is the DX-sized choice and gives the wider aperture that helps in low light. It gives up zoom, so you move with your feet.
The catalogue here does not give prices for these lenses, so check each lens page for its own price check before you decide.
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}.