I'm having trouble getting the Layer List and the Basemap Gallery widgets to work on my 2D Map and 3D Scene view program. I got the Search and Legend widgets to work, but I can't figure out what's causing the Layer List and Basemap Gallery widgets to not run. I tried following the sample code on the ArcGIS API website but i'm left using the Esri forums as my last resort for figuring out this error. If anyone could diagnose my code and fix what's causing the Basemap Gallery widget to not run, I would hugely appreciate it! I have attached my HTML code. Thanks.