Online Classes?

Do online classes count for Stanford and/or UC’s? I want to take Spanish 3 online during the summer between sophomore and junior year so I can free up my schedule to take other electives that interest me. How and where can I take it? Thanks. (I do live in California by the way)

This is an extremely late reply, but for UC’s as long as it’s a - g approved and your school gives you credit for it… then yes. I’m in a similar situation!