Just starting a java script course and not sure where to start

Hey all, after studying algorithms and flow charts i decided to finally start a js course but intro of the course mentions php and html. Should i learn them first or am i good to start the course as i am? My goal is to learn react after this but im not sure if i’m gonna stick with it. Just trying to see different areas of coding before i settle on a language and get more advanced courses on that.

You will need to be familiar with html as you learn JavaScript (but they can be learned simultaneously)

You will also need CSS though you don’t ask about specifically.