Map Search Map not displaying correctly

Using MapBox. Map Div has entire Javascript code for search. Display of Map shows only half of the image. How to show entire map?

I think we’re going to need more information to help.

Are you working on this in an online IDE that you can share? If you are working locally, can you push that up to a repo so we can see?