The electron configuration of boron is #1s^2 2s^2 2s^1#
Valence electrons are the ones in the highest energy levels. For boron this would be the 2 electrons in the 2s sublevel and the 1 electron in the 2p sublevel.
The videos below might be helpful for this concept.
Hope this helps!