First, select the string in your hotbar and highlight the block that is one block over from the tripwire hook. Place the string on the block. The game control.
Choose a large, flat area to build your elevator. Build 4 blocks around 1 block on the ground, creating a small tunnel. Build a second tunnel of the same shape.