Move site to src/ and wiki to docs/wiki #2
@@ -19,15 +19,15 @@ 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
|
||||
|
||||
|
||||
@@ -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=docs/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
|
||||
|
||||
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=docs/wiki/images/colour-vocab.png file:///laluan/ke/index.html
|
||||
--screenshot=docs/wiki/images/colour-vocab.png file:///laluan/ke/src/index.html
|
||||
```
|
||||
|
||||
+2
-2
@@ -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=docs/wiki/images/colour-vocab.png file:///path/to/index.html
|
||||
--screenshot=docs/wiki/images/colour-vocab.png file:///path/to/src/index.html
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user