Order a replacement charger. If you plug it in and it doesn't work and you don't want to go through the work of fixing it (which you should try to fix it, but still), sell the 3ds for parts and sell the charger
Check out this link! It has 9 Mac keyboard alternatives! https://www.maketecheasier.com/best-alternatives-apple-magic-keyboard/#:~:text=9%20of%20the%20Best%20...
You should check out this link. It has 10 or so alternatives to Apple's keyboard! https://www.maketecheasier.com/best-alternatives-apple-magic-keyboard/#:~:text=9%20of%20the%20Best%20...
The issue may be the screen. Try iDiagnosis https://www.pcmag.com/how-to/run-diagnostics-on-your-iphone-or-android-phone#:~:text=Designed%20for%20the%20iPh.... Reply back if that solved the issue!