The City of LA limits fence heights in R-1 zones to 3.5 feet along sidewalks and streets (for corner houses, this applies to both front and side bordering the sidewalk or street), and 6 to 8 feet on the sides depending on size and location of your property.
For more details, download the Fence info sheet from the LA Building & Safety Dept. here.