Browse Source

Updated the instructions to build path for images

pull/620/head
MarieMalarme 4 years ago committed by GitHub
parent
commit
f96043ffc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      subjects/where-do-we-go/README.md

2
subjects/where-do-we-go/README.md

@ -7,7 +7,7 @@ Tired of staying home for too long, you decide to develop a page to index ideas
Write the function `explore` which creates a page displaying the list of `places` provided in the data file below:
- sort the `places` from the Northest to the Southest
- display a fullscreen-size `<section>` for each place ; use the pics hosted in the `images` folder ([this link](/public/subjects/where-do-we-go/images/)) to set the `background` attribute with the corresponding image URL. The URL has to be set like so: `./images/name-of-the-place.jpg` ; you can see [here](https://github.com/01-edu/public/tree/master/subjects/where-do-we-go/images) the list of images that the folder contains
- display a fullscreen-size `<section>` for each place ; use the pics hosted in the `images` folder ([copy this link to get the folder path](/public/subjects/where-do-we-go/images/)) to set the `background` attribute with the corresponding image URL. The URL has to be formatted like so: `images_folder_path/name-of-the-place.jpg` ; you can see [here](https://github.com/01-edu/public/tree/master/subjects/where-do-we-go/images) the list of images that the folder contains
- display a location indicator as a `<a>` tag in the middle of the screen which:
- has the class `location`
- displays as text strings separated by `\n`, the `name` and the `coordinates` of the current place featured in the image

Loading…
Cancel
Save