mirror of https://github.com/01-edu/public.git
fifty-shades-of-cold: change file naming
This commit is contained in:
parent
14be0da60a
commit
97f31358ab
|
@ -1,4 +1,4 @@
|
|||
import { colors } from './subjects/fifty-shades-of-cold/data.js'
|
||||
import { colors } from './subjects/fifty-shades-of-cold/fifty-shades-of-cold.data.js'
|
||||
|
||||
colors.sort()
|
||||
|
||||
|
|
|
@ -30,16 +30,16 @@ Check the `colors` array provided in the data file below.
|
|||
- [`className`](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)
|
||||
- [`classList`](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList): `contains()`, `replace()`
|
||||
|
||||
### Provided files
|
||||
### Files
|
||||
|
||||
You have at your disposal the following files that you can download to test locally:
|
||||
You only need to create & submit the JS file `fifty-shades-of-cold.js` ; we're providing you the following files to download (click right and save link) & test locally:
|
||||
|
||||
- the HTML file [index.html](/public/subjects/fifty-shades-of-cold/index.html) to open in the browser, which includes:
|
||||
- the HTML file [fifty-shades-of-cold.html](/public/subjects/fifty-shades-of-cold/fifty-shades-of-cold.html) to open in the browser, which includes:
|
||||
|
||||
- the JS script running some code, and which will also allow to run yours
|
||||
- some CSS pre-styled classes: feel free to use those as they are, or modify them
|
||||
|
||||
- the data file [data.js](/public/subjects/fifty-shades-of-cold/data.js) from which you can import `colors`
|
||||
- the data file [fifty-shades-of-cold.data.js](/public/subjects/fifty-shades-of-cold/fifty-shades-of-cold.data.js) from which you can import `colors`
|
||||
|
||||
### Expected result
|
||||
|
||||
|
|
Loading…
Reference in New Issue