commit
96dcc4486c
@ -1,17 +1,17 @@
|
||||
*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]
|
||||
- [ ] [false]
|
||||
- [ ] true
|
||||
- [ ] false
|
||||
|
||||
2. [The head of an HTML doc can contain:]
|
||||
2. The head of an HTML doc can contain:
|
||||
|
||||
- [ ] [the title tag]
|
||||
- [ ] [metadata]
|
||||
- [ ] [all the above]
|
||||
- [ ] the title tag
|
||||
- [ ] metadata
|
||||
- [ ] all the above
|
||||
|
||||
3. [You can't use deprecated tags in your markup]
|
||||
- [ ] [true]
|
||||
- [ ] [false]
|
||||
- [ ] [false, but they have been deprecated for good reason]
|
||||
3. You can't use deprecated tags in your markup
|
||||
- [ ] true
|
||||
- [ ] false
|
||||
- [ ] 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.*
|
||||
|
||||
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]
|
||||
- [ ] [false]
|
||||
- [ ] true
|
||||
- [ ] false
|
||||
|
||||
2. [Use JavaScript closures to perform the following:]
|
||||
2. Use JavaScript closures to perform the following:
|
||||
|
||||
- [ ] [write functions within functions]
|
||||
- [ ] [enclose the DOM]
|
||||
- [ ] [close script blocks]
|
||||
- [ ] write functions within functions
|
||||
- [ ] enclose the DOM
|
||||
- [ ] 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]
|
||||
- [ ] [scope]
|
||||
- [ ] [functions]
|
||||
- [ ] arrays
|
||||
- [ ] scope
|
||||
- [ ] functions
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,75 +1,26 @@
|
||||
<template>
|
||||
<div>
|
||||
<router-link class="link" to="quiz/1"
|
||||
>Lesson 1: Pre-Lecture Quiz</router-link
|
||||
>
|
||||
<router-link to="quiz/2">Lesson 1: Post-Lecture Quiz</router-link>
|
||||
<router-link class="link" to="quiz/3"
|
||||
>Lesson 2: Pre-Lecture Quiz</router-link
|
||||
>
|
||||
<router-link class="link" to="quiz/4"
|
||||
>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
|
||||
>
|
||||
<router-link
|
||||
v-for="q in questions"
|
||||
:key="q.id"
|
||||
:to="`quiz/${q.id}`"
|
||||
class="link"
|
||||
>
|
||||
{{ q.title }}
|
||||
</router-link>
|
||||
</div>
|
||||
</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