* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
56 lines
944 B
Markdown
56 lines
944 B
Markdown
---
|
|
id: 5f3477aefa51bfc29327200b
|
|
title: Part 15
|
|
challengeType: 0
|
|
dashedName: part-15
|
|
---
|
|
|
|
# --description--
|
|
|
|
You have styled three elements by writing CSS inside the `style` tags. This works, but since there will many more styles, it's best to put all the styles in a separate file and link to it. Start by rewriting the styles you have created into the `styles.css` file. Make sure to exclude the opening and closing `style` tags.
|
|
|
|
# --hints--
|
|
|
|
Test 1
|
|
|
|
```js
|
|
|
|
```
|
|
|
|
# --seed--
|
|
|
|
## --seed-contents--
|
|
|
|
```html
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Camper Cafe Menu</title>
|
|
<style>
|
|
h1, h2, p {
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>CAMPER CAFE</h1>
|
|
<p>Est. 2020</p>
|
|
</header>
|
|
<main>
|
|
<section>
|
|
<h2>Coffees</h2>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
<html>
|
|
```
|
|
|
|
```css
|
|
--fcc-editable-region--
|
|
|
|
--fcc-editable-region--
|
|
```
|
|
|