@hbisada I recommend you disconnect all power cord, external cables and storage devices (if any) from the computer, and then Press and hold the power button on the computer for about 30 seconds, to release all the excessive static that could be on causing the no power issue, once done, reconnect only the power cord, the monitor, the keyboard and mouse, turn on the computer and check if it works fine.
If it does not power on, try with an alternate power cord, another wall outlet without the extension and let me know what works.
I hope that answers your query,
If it did, simply select "Accept as solution", to help the community grow,
And if you wish to thank us for our efforts, click on the thumbs up for kudos.
Have a great day ahead.
Riddle_Decipher
I am an HP Employee