Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

157 poc markdown #161

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
"doctrine/doctrine-bundle": "^2.7",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.13",
"erusev/parsedown": "^1.7",
"nelmio/cors-bundle": "^2.2",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.8",
"symfony/asset": "6.1.*",
"symfony/console": "6.1.*",
"symfony/css-selector": "6.1.*",
"symfony/dom-crawler": "6.1.*",
"symfony/dotenv": "6.1.*",
"symfony/expression-language": "6.1.*",
"symfony/flex": "^2",
Expand Down
256 changes: 255 additions & 1 deletion api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions api/config/fixtures/quizzes/1_CSS_quiz/1_padding_properties.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This is the question

An example

```php
<?php echo "hello world";
// Hello
```

Another example

```php
<?php echo "hello world";
// Hello
```

## Possible answers

- [ ] 3
- [ ] 4
- [ ] 5

<details id="answer">
<summary>
<b>Answer</b>
</summary>
<p>
Answer: <strong>5</strong>
</p>
</details>
15 changes: 15 additions & 0 deletions api/config/fixtures/quizzes/1_CSS_quiz/2_style_override.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---

---

In CSS which rule overrides a previous style?

- [ ] important
- [ ] !important
- [ ] important!

<details><summary><b>Answer</b></summary>
<p>
Answer: <strong>!important</strong>
</p>
</details>
16 changes: 16 additions & 0 deletions api/config/fixtures/quizzes/1_CSS_quiz/3_text_font.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---

---

In CSS which property controls the text font?

- [ ] font-face
- [ ] font
- [ ] font-family
- [ ] font-style

<details><summary><b>Answer</b></summary>
<p>
Answer: <strong>font-family</strong>
</p>
</details>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---

---

What controls a repeating background in CSS?

- [ ] `background: repeat`
- [ ] `image-repeat: repeat`
- [ ] `repeat-background: repeat`
- [ ] `background-repeat: repeat`

<details><summary><b>Answer</b></summary>
<p>
Answer: <code>background-repeat: repeat</code>
</p>
</details>
Loading