When I try to type on the keyboard nothing happens. The mouse works fine. I took an old keyboard from my desktop and plugged it in to the back of the laptop it works fine. But that is a pain. Help please
Dell keyboards fail often enough, particularly USB keyboards... but PS/2 keyboards also fail more frequently, just as a lightbulb can fail. We even see new Dell keyboards arrive bad in the box.
Since a replacement keyboard works, you can get a new one for $10 to $12, or a used one for $2. Repair shops throw hundreds away every year. Just ask for one, and you will probably get it free.
But before you install it, look for damage or crud in the socket.