What is the best solution in this case, php or node.js?

Hello, Campers
please I have question
in my case, I want to develop html websites and wordpress websites at the same time
I know only php used for wordpress not node.js
but node.js became popular as backend for html websites
so I am confused which one I should learn to do both jobs html websites and at the same time wordpress?
and many thanks in advance