Java vs .Net developer

Hey guys!! I wanna ask you a question. I’m new in the code world (I’m able to use html and css), and I have a chance to get a free course. I have to choiche between java and .net, I’ve read some about but I haven’t clear mind yet. I’d like work on the web developing.
What do you think?
Thankss