Skip to content

Commit

Permalink
added question to django-quiz.md (Ebazhanov#3659)
Browse files Browse the repository at this point in the history
* added question to django-quiz.md

* Added questions to html-quiz.md

Q113 and Q114 are similar to  Q20 and Q95, respectively, but I added them anyway, just in case someone uses `Ctrl+F` to find the questions...
  • Loading branch information
bfrangi authored May 14, 2022
1 parent 044ea2a commit 475b7fb
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
7 changes: 7 additions & 0 deletions django/django-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -642,3 +642,10 @@ model=Planet
- [ ] PUT
- [x] PAUSE
- [ ] PATCH
#### Q70. Which is not a Django field type for holding integers?
- [x] NegativeIntegerField
- [ ] SmallIntegerField
- [ ] PositiveIntegerField
- [ ] BigAutoField
79 changes: 79 additions & 0 deletions html/html-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1814,3 +1814,82 @@ As Steve Krug once said, happy talk must die.
</tr>
</table>
```

#### Q112. Which description list is coded correctly?

- [ ] A

```HTML
<dl>
<dd>Server</dd>
<dt>Software used to serve webpages, like Apache.</dt>
<dt>Hardware used to provide data to other computers.</dt>
<!-- Other terms and descriptions -->
</dl>
```

- [ ] B

```HTML
<dl>
<dt>Server</dt>
<dd>Software used to serve webpages, like Apache.</dd>
<dd>Hardware used to provide data to other computers.</dd>
<!-- Other terms and descriptions -->
</dl>
```

- [ ] C

```HTML
<dt>
<dl>Server</dl>
<dd>Software used to serve webpages, like Apache.</dd>
<dd>Hardware used to provide data to other computers.</dd>
<!-- Other terms and descriptions -->
</dt>
```

- [ ] D

```HTML
<dl>
<dt>Server</dt>
<dd>Software used to serve webpages, like Apache.</dd>
<dt>Hardware used to provide data to other computers.</dt>
<!-- Other terms and descriptions -->
</dl>
```

#### Q113. What is the best semantic markup for this sentence? On July 21, 1969, Neil Armstrong said, "That's one small step for man, one giant leap for mankind.

- [x] A

```HTML
<p>On <time datetime="1969-07-21">July 21, 1969</time>, Neil Armstrong said, <q cite="https://www.hq.nasa.gov/alsj/a11/a11.step.html">That's one small step for man, one giant leap for mankind.</q></p>
```

- [ ] B

```HTML
<p>On <time datetime="07-21-1969">July 21, 1969</time>, Neil Armstrong said, <q cite="https://www.hq.nasa.gov/alsj/a11/a11.step.html">That's one small step for man, one giant leap for mankind.</q></p>
```

- [ ] C

```HTML
<p>On July 21, 1969, Neil Armstrong said, <q cite="https://www.hq.nasa.gov/alsj/a11/a11.step.html">"That's one small step for man, one giant leap for mankind."</q></p>
```

- [ ] D

```HTML
<p>On July 21, 1969, Neil Armstrong said, <q>"That's one small step for man, one giant leap for mankind."</q></p>
```

#### Q114. The value attribute is associated with which set of tags?

- [ ] `<button> <input> <form>`
- [x] `<li> <input> <option>`
- [ ] `<input> <label> <meter>`
- [ ] `<input> <option> <textarea>`

0 comments on commit 475b7fb

Please sign in to comment.