Move site to src/ and wiki to docs/wiki #2
@@ -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
|
Built with plain HTML and CSS for Udemy's *100 Days of Code*, lesson 5.4
|
||||||
(Color Vocab Project).
|
(Color Vocab Project).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Vocabulary
|
## Vocabulary
|
||||||
|
|
||||||
@@ -19,23 +19,23 @@ Built with plain HTML and CSS for Udemy's *100 Days of Code*, lesson 5.4
|
|||||||
|
|
||||||
## Run it
|
## 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
|
## Files
|
||||||
|
|
||||||
| Path | Purpose |
|
| Path | Purpose |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `index.html` | The page. Given by the exercise and left unchanged. |
|
| `src/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. |
|
| `src/style.css` | All styling: 200px × 200px images, normal-weight titles, one text colour per colour word. |
|
||||||
| `assets/images/` | The five colour swatches. |
|
| `src/assets/images/` | The five colour swatches. |
|
||||||
|
|
||||||
## Wiki
|
## Wiki
|
||||||
|
|
||||||
Documentation in three languages lives in [`wiki/`](wiki/):
|
Documentation in three languages lives in [`docs/wiki/`](docs/wiki/):
|
||||||
|
|
||||||
- [English](wiki/Home.md)
|
- [English](docs/wiki/Home.md)
|
||||||
- [Dansk](wiki/Home-da.md)
|
- [Dansk](docs/wiki/Home-da.md)
|
||||||
- [Bahasa Malaysia](wiki/Home-ms.md)
|
- [Bahasa Malaysia](docs/wiki/Home-ms.md)
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
## 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
|
## Sådan virker den
|
||||||
|
|
||||||
@@ -49,5 +49,5 @@ Skærmbilledet er taget med headless Chrome i et 480 px bredt vindue:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
chrome --headless=new --hide-scrollbars --window-size=480,1490 \
|
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
|
||||||
```
|
```
|
||||||
@@ -19,7 +19,7 @@ dibina dengan HTML dan CSS sahaja.
|
|||||||
|
|
||||||
## Cara menjalankan
|
## 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
|
## Cara ia berfungsi
|
||||||
|
|
||||||
@@ -51,5 +51,5 @@ Tangkapan skrin diambil dengan Chrome headless dalam tetingkap lebar 480 px:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
chrome --headless=new --hide-scrollbars --window-size=480,1490 \
|
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
|
||||||
```
|
```
|
||||||
@@ -19,7 +19,7 @@ and CSS only.
|
|||||||
|
|
||||||
## How to run
|
## 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
|
## How it works
|
||||||
|
|
||||||
@@ -49,5 +49,5 @@ The screenshot was taken with headless Chrome at a 480 px wide window:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
chrome --headless=new --hide-scrollbars --window-size=480,1490 \
|
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
|
||||||
```
|
```
|
||||||
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 144 B |
|
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 415 B |
|
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 815 B |
|
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 144 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |