I believe you write ‘l'’ infront of a word starting with vowel. And Le/La in front of masucline/feminine noun. But as I am still learning myself, I could be wrong.
Child could be either fem or masculine so I get the l' in that case. But what if you have specific feminine or masculine noun that starts with a vowel? Do you still use l'? Or do you use le/la?