This question already has an answer here:
I want to take a picture of programming code like this:
I have a Nikon D3000 with two lens, a
AF-S DX NIKKOR 18-55mm f/3.5-5.6G
and a AF-S DX VR Zoom-Nikkor 55-200mm f/4-5.6G IF-ED. Which one should I use and what should I do to get this effect? If this effect is not possible in-camera, how can I get it?
I must emphasize that I'm not a pro photographer (evidently).