Bike GPS computer with real-time elevation profile
i use my mobile phone and bought a universal bike phone holder which sits on the handle bar,i use 3 different apps (not at the same time) strava, relive and komoot, all have a free app or paid subscription  personally i prefer strava because you can download the data to a pc then upload to relive to create an videomap of your trip, photos can be included along the route