I understand that the laptop stuck at the HP logo.
I have a few steps that should help,
Some HP Notebook PCs come with two sticks of memory and have two memory slots. If you experience a black screen or blue screen with HP logo, the problem could be with one of the sticks of memory or with one of the memory slots.
To determine what is causing the failure, try to isolate the problem by:
Performing a memory self-test
Checking for loose memory modules
Testing the memory modules
Testing the memory slots
For more details: Click here (Windows 10-Notebook)
Here's a related HP Forums post for more information that seems to have helped others as well: Click here
Keep us posted,
If you would like to thank us for our efforts to help you,
Give us a virtual high-five by clicking the 'Thumbs Up' icon below, followed by clicking on the "Accept as solution" on this post,