Lab assignment
Lab Assignment #3 - JavaScript FUNctions¶
Due 4/22¶
In this week’s lab, we learned how functions are helpful for automating tasks. Functions also form the basis of the programming we will be doing. Your assignment this week is to create a map that will move to certain makers when a button is clicked.
The requirements are:
- Add at least 3 markers to the map using a JavaScript function
- Use the
<button>
element to execute a JavaScript function to interact with your map - Add an Event Listener that executes the JavaScript function to interact with your map
Extra Credit:¶
- Use something else like images or text to move the map.
- Try something new with the Leaflet API
Submission¶
- Commit your changes to GitHub
- Find your
index.html
in theWeek_03
folder and copy the URL. It should look something like this: - https://albertkun.github.io/21S-ASIAAM-191A-Assignments/Week_03/index.html
- Paste your link as a comment in the Discussion forum for Lab Assignment #3
https://github.com/albertkun/21S-ASIAAM-191A/discussions/123
Last update: 2022-01-24