Follow the step-by-step instructions to make Target Practice. The first thing you need to do is to place a smooth quartz block on the ground and target block at the top.
After this place one more smooth quartz block at the top and then a redstone lamp at the top of the quartz block.
Now you need to add a redstone torch on the target block as shown in the image below.
The next thing you need to do is to place a smooth quartz block at the top of the torch and add another redstone torch at the top as shown in the image below.
Now you can hit the target block with your crossbow to light up the redstone lamp.