commit
96dcc4486c
@ -1,17 +1,17 @@
|
|||||||
*Complete this quiz after the lesson by checking one answer per question.*
|
*Complete this quiz after the lesson by checking one answer per question.*
|
||||||
|
|
||||||
1. [Spans and Divs are interchangeable]
|
1. Spans and Divs are interchangeable
|
||||||
|
|
||||||
- [ ] [true]
|
- [ ] true
|
||||||
- [ ] [false]
|
- [ ] false
|
||||||
|
|
||||||
2. [The head of an HTML doc can contain:]
|
2. The head of an HTML doc can contain:
|
||||||
|
|
||||||
- [ ] [the title tag]
|
- [ ] the title tag
|
||||||
- [ ] [metadata]
|
- [ ] metadata
|
||||||
- [ ] [all the above]
|
- [ ] all the above
|
||||||
|
|
||||||
3. [You can't use deprecated tags in your markup]
|
3. You can't use deprecated tags in your markup
|
||||||
- [ ] [true]
|
- [ ] true
|
||||||
- [ ] [false]
|
- [ ] false
|
||||||
- [ ] [false, but they have been deprecated for good reason]
|
- [ ] false, but they have been deprecated for good reason
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
*Complete this quiz after the lesson by checking one answer per question.*
|
*Complete this quiz after the lesson by checking one answer per question.*
|
||||||
|
|
||||||
1. [The DOM is a model to represent a document on the web]
|
1. The DOM is a model to represent a document on the web
|
||||||
|
|
||||||
- [ ] [true]
|
- [ ] true
|
||||||
- [ ] [false]
|
- [ ] false
|
||||||
|
|
||||||
2. [Use JavaScript closures to perform the following:]
|
2. Use JavaScript closures to perform the following:
|
||||||
|
|
||||||
- [ ] [write functions within functions]
|
- [ ] write functions within functions
|
||||||
- [ ] [enclose the DOM]
|
- [ ] enclose the DOM
|
||||||
- [ ] [close script blocks]
|
- [ ] close script blocks
|
||||||
|
|
||||||
3. [Fill in the blank: Closures are useful when one or more functions need to access an outer function's ______]
|
3. Fill in the blank: Closures are useful when one or more functions need to access an outer function's...
|
||||||
|
|
||||||
- [ ] [arrays]
|
- [ ] arrays
|
||||||
- [ ] [scope]
|
- [ ] scope
|
||||||
- [ ] [functions]
|
- [ ] functions
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,75 +1,26 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<router-link class="link" to="quiz/1"
|
<router-link
|
||||||
>Lesson 1: Pre-Lecture Quiz</router-link
|
v-for="q in questions"
|
||||||
>
|
:key="q.id"
|
||||||
<router-link to="quiz/2">Lesson 1: Post-Lecture Quiz</router-link>
|
:to="`quiz/${q.id}`"
|
||||||
<router-link class="link" to="quiz/3"
|
class="link"
|
||||||
>Lesson 2: Pre-Lecture Quiz</router-link
|
>
|
||||||
>
|
{{ q.title }}
|
||||||
<router-link class="link" to="quiz/4"
|
</router-link>
|
||||||
>Lesson 2: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/5"
|
|
||||||
>Lesson 3: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/6"
|
|
||||||
>Lesson 3: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/7"
|
|
||||||
>Lesson 4: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/8"
|
|
||||||
>Lesson 4: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/9"
|
|
||||||
>Lesson 5: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/10"
|
|
||||||
>Lesson 5: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/11"
|
|
||||||
>Lesson 6: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/12"
|
|
||||||
>Lesson 6: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/13"
|
|
||||||
>Lesson 7: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/14"
|
|
||||||
>Lesson 7: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/15"
|
|
||||||
>Lesson 8: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/16"
|
|
||||||
>Lesson 8: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/17"
|
|
||||||
>Lesson 9: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/18"
|
|
||||||
>Lesson 9: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/19"
|
|
||||||
>Lesson 10: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/20"
|
|
||||||
>Lesson 10: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/21"
|
|
||||||
>Lesson 11: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/22"
|
|
||||||
>Lesson 11: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/23"
|
|
||||||
>Lesson 12: Pre-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
<router-link class="link" to="quiz/24"
|
|
||||||
>Lesson 12: Post-Lecture Quiz</router-link
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import messages from "@/assets/translations";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Home",
|
||||||
|
computed: {
|
||||||
|
questions() {
|
||||||
|
return this.$t("quizzes");
|
||||||
|
},
|
||||||
|
},
|
||||||
|
i18n: { messages },
|
||||||
|
};
|
||||||
|
</script>
|
Loading…
Reference in new issue