Should I take AP Environmental Science online?

I am a junior in high school. To have a chance at valedictorian, I need one more weighted class, but I’ve already taken all that my school offers in class (only 4). I was going to take AP Environmental Science online senior year, but I would need a class I can keep an A in all year. If not Environmental Science, than what AP class should I take online?

Are you good at science? Because all of my research and opinions other people have given on here are that an A is manageable in that class. Especially if you have a strong background in bio and or chem.

I’ve always kept medium to high A’s in almost all subjects, including science. I know I would do fine in a traditional class room setting. I wouldn’t hesitate to take it if it wasn’t online. But sadly, it is online, and I have basically no previous experience with online classes.