Basel offers many affordable accommodation possibilities. If you are flexible with transportation, you can also check options in Germany (along tram no. 8 to Weil am Rhein) or France (along tram
no. 3 to St. Louis). You may find the best solution yourself by using some platforms like booking.com or airbnb.com (Hotel Basilisk was shut down).