From 97f31358ab92f10c043aa7b6e2ae83cb284d7275 Mon Sep 17 00:00:00 2001 From: Marie Malarme Date: Thu, 4 Mar 2021 19:36:10 +0000 Subject: [PATCH] fifty-shades-of-cold: change file naming --- dom/fifty-shades-of-cold_test.js | 2 +- subjects/fifty-shades-of-cold/README.md | 8 ++++---- .../{data.js => fifty-shades-of-cold.data.js} | 0 .../{index.html => fifty-shades-of-cold.html} | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename subjects/fifty-shades-of-cold/{data.js => fifty-shades-of-cold.data.js} (100%) rename subjects/fifty-shades-of-cold/{index.html => fifty-shades-of-cold.html} (100%) diff --git a/dom/fifty-shades-of-cold_test.js b/dom/fifty-shades-of-cold_test.js index 67c2897c..f26b9966 100644 --- a/dom/fifty-shades-of-cold_test.js +++ b/dom/fifty-shades-of-cold_test.js @@ -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() diff --git a/subjects/fifty-shades-of-cold/README.md b/subjects/fifty-shades-of-cold/README.md index 12df8f85..24991e7b 100644 --- a/subjects/fifty-shades-of-cold/README.md +++ b/subjects/fifty-shades-of-cold/README.md @@ -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 diff --git a/subjects/fifty-shades-of-cold/data.js b/subjects/fifty-shades-of-cold/fifty-shades-of-cold.data.js similarity index 100% rename from subjects/fifty-shades-of-cold/data.js rename to subjects/fifty-shades-of-cold/fifty-shades-of-cold.data.js diff --git a/subjects/fifty-shades-of-cold/index.html b/subjects/fifty-shades-of-cold/fifty-shades-of-cold.html similarity index 100% rename from subjects/fifty-shades-of-cold/index.html rename to subjects/fifty-shades-of-cold/fifty-shades-of-cold.html