Get a tablet with a detachable keyboard. They are cheaper, more versatile ND if you get a virus, are easy to to a reset and fix vs. a computer laptop.
I’ve thought about getting a tablet with a keyboard. I don’t know if they make decent portable thin keyboards