Laptop doesn’t start up and hard drive self test receives test status #1-07 fail?

Hi and welcome to my blog,
I opened this blog to help anyone who is preparing for his SAT.
I remember myself when I started - I was so lost and in such a panic.
Luckily I got this great SAT guide that helped me a lot . So study hard and good luck!
I’m using HP Pavilion dv2911us laptop running Windows Vista Home Edition.
The problem started when I was arguing with someone online and started banging on my keyboard while typing out of frustration and all of the sudden, the screen messed up and began to show rainbows etc. So I manually rebooted by taking out the battery. After trying to load Windows up normally (not in safe mode), it reached an error screen that said something like Windows cannot start up, we suggest launching start up repair, so I do it and it loads some files and eventually reaches a black screen and just stay there. I can see my mouse cursor and move it but that’s it.
After attempting to do that several times repeatedly, I eventually tried entering BIOS and doing random things. One of those things was the Hard Drive Self Test under Diagnostics. However, the test would always fail, giving me a test status of error #1-07 fail. What does that mean?
What exactly is the problem? What is the solution? Thanks in advance!
Disable the self test procedure by logging in the BIOS.
Boot in Windows
Connect an external USB drive and copy all of your stuff on the external drive.
Switch off your laptop.
Send it back to the manufacturer if it’s still on guarantee.
or
Replace the hard drive with a new one if your rig is old.
GL
The Machine