You asked

What should I budget for a new battery and memory card with a used nikon d3400?

The guide doesn't give prices for batteries or memory cards, so it can't put a figure on this. What it does say is clear on the priorities. The buying used page advises budgeting for a new genuine battery with any used body, because old batteries lose capacity. Budget for that first.

The first camera page also recommends a spare battery and a decent memory card as part of a sensible starter kit. Mirrorless cameras eat batteries, and the D3400 is a DSLR, so a spare is less urgent, but it is still worth having for a day of shooting. The travel page adds a second card for trips, which is useful if you shoot a lot in one go.

For the D3400 itself, the Nikon D3400 page lists its specs and lens options but no accessories, so check current shop prices for a genuine battery and a card of the size you need. Prices change, so compare before you buy.

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}.