mirror of https://github.com/01-edu/public.git
where-do-we-go: precise instructions for the compass
This commit is contained in:
parent
55a8fc520e
commit
8561880444
|
@ -14,7 +14,10 @@ Write the function `explore` which creates a page displaying the list of `places
|
|||
- using the corresponding `color` as text color
|
||||
- updates the `name`, `coordinates` and `color` on scroll, when the top of the next image reaches the middle of the screen height
|
||||
- has the `href` attribute set to open **a new tab** redirecting to a Google Maps' URL with the coordinates of the place currently displayed
|
||||
- display a compass indicating the latitude direction ; `N` for North if the user is scrolling up, `S` for South if he's scrolling down
|
||||
- display a compass as a `div` tag indicating the latitude direction which:
|
||||
- has the class `direction`
|
||||
- displays `N` for North if the user is scrolling up
|
||||
- displays `S` for South if he's scrolling down
|
||||
|
||||
### Notions
|
||||
|
||||
|
|
Loading…
Reference in New Issue