You must hand in by using git
bitbucket.org,
gitlab.com, or
github.com,
git push your local repo to the above remote repo.
node_modules/
.gitignore file.
Send a mail to <nmla@iba.dk> with:
handin <subjectname>'
in the subject line of your mail
Take the code from todays lesson and implement it. You will get it with
git clone https://phidip@bitbucket.org/phidip/assa0.git
http://api.openweathermap.org/data/2.5/weather?q=Kolding,dk&appid=818105d2f232ae11a90fe3f295d523cc
and display it with the city data.
The
q=Kolding,dk should be exchanged for the
selected city, and its code2 countrycode.
The appid displayed above is mine.
You should get your own, it is free, and they do NOT spam
you with mails. Find the service on their site and use it.
While in class get the IP-address of one of your classmates or
your teacher. Assuming that the IP address is 11.22.33.44,
write an HTML5 page that accesses that
IP with the url http://11.22.33.44/countries/Denmark
using AJaX. The HTML5 page must then display the received
data.
The prerequisite of course, is that the code from todays lesson has been implemented, and that the service is up and running.