diff --git a/README.md b/README.md index 4ff0b65..37310ef 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ the Spanish word, coloured to match its meaning, above a swatch of that colour. Built with plain HTML and CSS for Udemy's *100 Days of Code*, lesson 5.4 (Color Vocab Project). -![The finished page: Rojo, Azul, Anaranjado, Verde and Amarillo, each above a 200px colour swatch](wiki/images/colour-vocab.png) +![The finished page: Rojo, Azul, Anaranjado, Verde and Amarillo, each above a 200px colour swatch](docs/wiki/images/colour-vocab.png) ## Vocabulary @@ -19,23 +19,23 @@ Built with plain HTML and CSS for Udemy's *100 Days of Code*, lesson 5.4 ## Run it -No build step and no dependencies. Open `index.html` in a browser. +No build step and no dependencies. Open `src/index.html` in a browser. ## Files | Path | Purpose | | --- | --- | -| `index.html` | The page. Given by the exercise and left unchanged. | -| `style.css` | All styling: 200px × 200px images, normal-weight titles, one text colour per colour word. | -| `assets/images/` | The five colour swatches. | +| `src/index.html` | The page. Given by the exercise and left unchanged. | +| `src/style.css` | All styling: 200px × 200px images, normal-weight titles, one text colour per colour word. | +| `src/assets/images/` | The five colour swatches. | ## Wiki -Documentation in three languages lives in [`wiki/`](wiki/): +Documentation in three languages lives in [`docs/wiki/`](docs/wiki/): -- [English](wiki/Home.md) -- [Dansk](wiki/Home-da.md) -- [Bahasa Malaysia](wiki/Home-ms.md) +- [English](docs/wiki/Home.md) +- [Dansk](docs/wiki/Home-da.md) +- [Bahasa Malaysia](docs/wiki/Home-ms.md) ## Licence diff --git a/wiki/Home-da.md b/docs/wiki/Home-da.md similarity index 91% rename from wiki/Home-da.md rename to docs/wiki/Home-da.md index 7ad2a02..9cf735f 100644 --- a/wiki/Home-da.md +++ b/docs/wiki/Home-da.md @@ -18,7 +18,7 @@ En flashcard-side til at lære farverne på spansk, lavet kun med HTML og CSS. ## Sådan kører du den -Åbn `index.html` i en vilkårlig browser. Der er intet at installere. +Åbn `src/index.html` i en vilkårlig browser. Der er intet at installere. ## Sådan virker den @@ -49,5 +49,5 @@ Skærmbilledet er taget med headless Chrome i et 480 px bredt vindue: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=wiki/images/colour-vocab.png file:///sti/til/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///sti/til/src/index.html ``` diff --git a/wiki/Home-ms.md b/docs/wiki/Home-ms.md similarity index 91% rename from wiki/Home-ms.md rename to docs/wiki/Home-ms.md index 093dfd5..76394f1 100644 --- a/wiki/Home-ms.md +++ b/docs/wiki/Home-ms.md @@ -19,7 +19,7 @@ dibina dengan HTML dan CSS sahaja. ## Cara menjalankan -Buka `index.html` dalam mana-mana pelayar. Tiada apa-apa untuk dipasang. +Buka `src/index.html` dalam mana-mana pelayar. Tiada apa-apa untuk dipasang. ## Cara ia berfungsi @@ -51,5 +51,5 @@ Tangkapan skrin diambil dengan Chrome headless dalam tetingkap lebar 480 px: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=wiki/images/colour-vocab.png file:///laluan/ke/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///laluan/ke/src/index.html ``` diff --git a/wiki/Home.md b/docs/wiki/Home.md similarity index 91% rename from wiki/Home.md rename to docs/wiki/Home.md index aa14e10..9c0f2f2 100644 --- a/wiki/Home.md +++ b/docs/wiki/Home.md @@ -19,7 +19,7 @@ and CSS only. ## How to run -Open `index.html` in any browser. There is nothing to install. +Open `src/index.html` in any browser. There is nothing to install. ## How it works @@ -49,5 +49,5 @@ The screenshot was taken with headless Chrome at a 480 px wide window: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=wiki/images/colour-vocab.png file:///path/to/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///path/to/src/index.html ``` diff --git a/wiki/_Sidebar.md b/docs/wiki/_Sidebar.md similarity index 100% rename from wiki/_Sidebar.md rename to docs/wiki/_Sidebar.md diff --git a/wiki/images/colour-vocab.png b/docs/wiki/images/colour-vocab.png similarity index 100% rename from wiki/images/colour-vocab.png rename to docs/wiki/images/colour-vocab.png diff --git a/assets/images/blue.png b/src/assets/images/blue.png similarity index 100% rename from assets/images/blue.png rename to src/assets/images/blue.png diff --git a/assets/images/green.png b/src/assets/images/green.png similarity index 100% rename from assets/images/green.png rename to src/assets/images/green.png diff --git a/assets/images/orange.png b/src/assets/images/orange.png similarity index 100% rename from assets/images/orange.png rename to src/assets/images/orange.png diff --git a/assets/images/red.png b/src/assets/images/red.png similarity index 100% rename from assets/images/red.png rename to src/assets/images/red.png diff --git a/assets/images/yellow.png b/src/assets/images/yellow.png similarity index 100% rename from assets/images/yellow.png rename to src/assets/images/yellow.png diff --git a/index.html b/src/index.html similarity index 100% rename from index.html rename to src/index.html diff --git a/style.css b/src/style.css similarity index 100% rename from style.css rename to src/style.css