I understand that children are to be kept inside after dusk because the jinns become more active during that time.
Does that ruling apply to teenagers as well? Even if the person is not out around town, but in front of a friends house?
The rule is not only for teenagers but to everyone, and applies to children in particular.
Here's a good link with a detailed explanation: http://islamqa.info/en/125922
From it we see that we should observe the following:
On a different note, if you don't have a valid reason to go out at night, just remain at home. If you're a teen, here are some things you can do during the night without wasting time in front of your friends' homes.