The condition described is known as myopia, or nearsightedness. In myopia, a person can see objects close to them clearly (like a textbook) but has difficulty seeing distant objects (like a whiteboard) due to the light entering the eye being focused in front of the retina.