Created
December 12, 2016 01:45
-
-
Save hkdeven/ff801c78a63e9ba80b83989523fa99a1 to your computer and use it in GitHub Desktop.
What is JSX, ES5, ES6 blog article fig2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="map-wrapper"> | |
<p>Here's a map!</p> | |
<div id="map"></div> | |
<script> | |
var map; | |
function initMap() { | |
map = new google.maps.Map(document.getElementById('map'), { | |
center: {lat: -34.397, lng: 150.644}, | |
zoom: 8 | |
}); | |
} | |
</script> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment