Skip to content

target-soft/weatherjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parse a weather service

A simple coding exercise that will test if:

  • you can code JavaScript
  • you can create, open and parse an HTTP request
  • you can parse response data to valid HTML

Show weather data in a HTML file


The HTML should display the following information:

  • Location (as Title)
  • Weather description
  • Temperature in degrees (e.g. 30°C)
  • Sunrise / sunset in UTC dateformat (e.g. Mittwoch, 10. Dezember 2018, 04:55:26)

Extend the MyWeather class and create some helper methods for better readability

Show the result as an unsorted list with title or something similar like that, be creative!


<body>
    <div>
        <Title>foo</Title>
        <List>
            <ListEl> Description: foo bar </ListEl>
            <ListEl> ... </ListEl>
            <ListEl> ... </ListEl>
        </List>
    </div>
<body>

ADVANCED: (Optional) You can use an HTML input field to enter the location and by pressing a button the result is rendered in the body (described above)


Calling the index.html the result should be visible if all inputs are correct implemented.


Clone the project into your own github repository. Once you are finished email us the name and branch of your solution on github. We will clone and test it. Please refrain from changing your code once you have contacted us.

About

weather service coding test (JavaScript)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors