Do-It-Yourself Geo Apps MOOC
Do-It-Yourself
Exercise
Experiment with the ArcGIS API for
JavaScript
Section 7 Exercise 2
02/2017
Do-It-Yourself Geo Apps MOOC
Experiment with the ArcGIS API
for JavaScript
Time to complete
Approximately 60-70 minutes.
Introduction
This do-it-yourself exercise is designed to allow you to apply what youve learned in this
sections first exercise with less guidance. Feel free to be creative! It also provides you with an
opportunity to further explore available resources and samples.
Note: Completing this exercise is not necessary to earn your certificate, but completion is
required to be eligible to earn an award from Esri!
Further Explore the ArcGIS API for JavaScript
In this sections guided exercise, you altered sample code to change the web map shown in an
app, as well as changed the selection outline in Esris JavaScript sandbox. In this exercise, we
encourage you to challenge yourself and grow your custom-app development skills.
If you are new to JavaScript development, try working with some of the other JavaScript
samples or one of Esris HackerLabs. Read through the resources at the end of this exercise to
learn more about web programming. Dont be afraid to tinker and ask questions.
If you do have experience with JavaScript, you can always build an app without using a
template, relying on the API for JavaScript guide. Or, you can download existing template
source code from GitHub and modify it to suit your needs. You will need to host your custom
app on a web server and then register it in ArcGIS Online before you can share it with the
MOOC community.
Copyright 2017. All rights reserved. 2
Do-It-Yourself Geo Apps MOOC
Share Your App
If you created a custom app with the ArcGIS API for JavaScript, or any of the other APIs or
SDKs, we want to see it! Share it with your peers in the Custom Apps group if you want
feedback from the MOOC community.
There are three main ways you can share your geo apps to the appropriate group.
1. When you create a new web app from a web map
In the Share dialog, before clicking Create a Web App, share your web map with
Everyone (public) and the correct group, as shown in the image below.
Then, in the Create a New Web App dialog, select Share This App In The Same Way As
The Map.
Copyright 2017. All rights reserved. 3
Do-It-Yourself Geo Apps MOOC
2. From My Content
From your My Content page, select the web application and click Share.
In the Share dialog that appears, select Everyone (public) and the appropriate group.
Copyright 2017. All rights reserved. 4
Do-It-Yourself Geo Apps MOOC
3. From the Item Details page
On the Item Details page, click the Share button.
In the Share dialog, select Everyone (public) and the appropriate group.
Copyright 2017. All rights reserved. 5
Do-It-Yourself Geo Apps MOOC
Tagging your apps appropriately will also help users search and find them.
Promote Your App in Udemy and on Twitter
Let your peers know about your creation in Udemy. Post a comment in this lecture space to
promote your app. You can also use the hashtag #DIYGeoApps to post your creations on
Twitter.
View and Rate Your Peers Geo Apps
All shared work is easily accessed from your Do-It-Yourself Geo Apps organization Home page.
Be sure to view the work of your fellow students and assess the quality of their apps.
Copyright 2017. All rights reserved. 6
Do-It-Yourself Geo Apps MOOC
After viewing the application, dont forget to rate it and give feedback in the Comments
section.
Copyright 2017. All rights reserved. 7
Do-It-Yourself Geo Apps MOOC
Earn an Award!
The makers of the most popular geo apps will earn awards at the end of the course, so it is in
your best interest to share your apps to the appropriate groups, make your apps searchable,
and to promote them in Udemy and Twitter.
Learn More
Learn more about the topics in this section:
Resources
HTML
http://www.w3schools.com/html/
https://www.codecademy.com/learn/web
CSS
http://www.w3schools.com/css/
https://www.codecademy.com/learn/web
JavaScript
https://www.codecademy.com/learn/javascript
https://www.codeschool.com/learn/javascript
https://teamtreehouse.com/learn-to-code/javascript
http://javascriptplayground.com/
http://www.codeavengers.com/
http://www.codewars.com/
http://coderbyte.com/
Copyright 2017. All rights reserved. 8