Is the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.
Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.
What is the expiation for perjury?
Perjury is forbidden and one of the major sins that require turning to Allah in repentance, seeking His forgiveness, giving back rights to whom they belong, or seeking their forgiveness, and expiating for that oath.
I used artificial nails on my wedding night, but I was surprised to find out that they require at least a week to remove. However, I performed all my prayers during that period. What is the ruling on those prayers?
If these nails prevent water from reaching one's skin then your prayer are invalid and obliged to redo all of them. And Allah Knows Best.