Let’s stop fooling around and write some code. The following is the simple HTML page for your first application. All of the index.html pages in this sample will work off this one. You’ll just be updating the JavaScript code as you go along.
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>\
6 <title>ArcGIS API for JavaScript 4</title>
7 <link rel="stylesheet" href="https://js.arcgis.com/4.4/esri/css/main.css"/> ...