added child question checking logic
added styles