A teenager has admitted making indecent images of children and possessing extreme pornography.