Pedestrians must:

Pedestrians are required to use crosswalks at intersections, look in both directions before crossing a street, and observe and obey all "Walk" and "Don't Walk" signs. Drivers must yield the right-of-way to crossing pedestrians.
DMV Writen Test