182 lines
4.1 KiB
YAML
182 lines
4.1 KiB
YAML
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
fed1:
|
|
quiz: fed
|
|
question: 'You have a bit of text that you want to be available for screen readers but not visible on the screen, so you set it with CSS to “visibility: hidden”. Is this the best decision?'
|
|
category: CSS
|
|
input_type: text
|
|
input_options:
|
|
sort: 0
|
|
active: true
|
|
|
|
fed2:
|
|
quiz: fed
|
|
question: What function can be used to determine if a value is present in a given array?
|
|
category: JavaScript
|
|
input_type: checkbox
|
|
input_options:
|
|
- 'indexOf()'
|
|
- 'present()'
|
|
- 'inArray()'
|
|
sort: 1
|
|
active: true
|
|
|
|
fed3:
|
|
quiz: fed
|
|
question: How would you create a widget that would fit in a 250px wide area as well as a 400px wide area?
|
|
category: CSS
|
|
input_type: live_code
|
|
input_options:
|
|
sort: 2
|
|
active: true
|
|
|
|
fed4:
|
|
quiz: fed
|
|
question: Does your app/website need a doctype? Why or why not?
|
|
category: HTML
|
|
input_type: text
|
|
input_options:
|
|
sort: 3
|
|
active: true
|
|
|
|
fed5:
|
|
quiz: fed
|
|
question: What is the best way to track user interaction within a group of dynamically generated child elements?
|
|
category: JavaScript
|
|
input_type: radio
|
|
input_options:
|
|
- 'Dynamic listeners'
|
|
- 'Event delegation'
|
|
- 'Callback functions'
|
|
- 'HTML data attributes'
|
|
sort: 4
|
|
active: true
|
|
|
|
fed6:
|
|
quiz: fed
|
|
question: Comment on how realistic the following image is.
|
|
attachment: "https://dev.perficientdigital.com/skills-app-images/commets_css.jpg"
|
|
category: CSS
|
|
input_type: text
|
|
input_options:
|
|
sort: 5
|
|
active: true
|
|
|
|
fed7:
|
|
quiz: fed
|
|
question: Provide a code example to manipulate the DOM using jQuery/JavaScript to change the classname of a div 'classB' to 'classC', only if the div 'classA' exists in the page?
|
|
category: Javascript
|
|
input_type: live_code
|
|
input_options:
|
|
:html: "<p>Sample seed HTML</p>"
|
|
:css: "body { color: #644; }"
|
|
sort: 6
|
|
active: true
|
|
|
|
fed8:
|
|
quiz: fed
|
|
question: Select the HTML from below that would create an input field which restricts the number of characters inside it to 10.
|
|
category: HTML
|
|
input_type: radio_other
|
|
input_options:
|
|
- option-1
|
|
- option2
|
|
- "option 3"
|
|
sort: 7
|
|
active: true
|
|
|
|
fed9:
|
|
quiz: fed
|
|
question: Grunt or Gulp?
|
|
category: Javascript
|
|
input_type: checkbox_other
|
|
input_options:
|
|
- Grunt
|
|
- Gulp
|
|
- Neither
|
|
- Either
|
|
sort: 8
|
|
active: true
|
|
|
|
fed10:
|
|
quiz: fed
|
|
question: StarWars or Star Trek?
|
|
category: Performance
|
|
input_type: checkbox
|
|
input_options:
|
|
- "Live long and prosper"
|
|
- "Who ya gonna call?"
|
|
- "Who you calling Scruffy?"
|
|
- "J.J. Abrams"
|
|
- "wibbly wobbly, timey wimey"
|
|
sort: 9
|
|
active: true
|
|
|
|
fed11:
|
|
quiz: fed
|
|
question: nope, nope nope?
|
|
category: Performance
|
|
input_type: checkbox
|
|
input_options:
|
|
- "Live long and prosper"
|
|
- "Who ya gonna call?"
|
|
- "Who you calling Scruffy?"
|
|
- "J.J. Abrams"
|
|
- "wibbly wobbly, timey wimey"
|
|
sort: 91
|
|
active: false
|
|
|
|
fed12:
|
|
quiz: fed
|
|
question: yet, another old fake question
|
|
category: Performance
|
|
input_type: checkbox
|
|
input_options:
|
|
- "Live long and prosper"
|
|
- "Who ya gonna call?"
|
|
- "Who you calling Scruffy?"
|
|
- "J.J. Abrams"
|
|
- "wibbly wobbly, timey wimey"
|
|
sort: 91
|
|
active: false
|
|
|
|
|
|
admin1:
|
|
quiz: admin
|
|
question: 'You have a question you want to ask.'
|
|
category: Admin
|
|
input_type: text
|
|
input_options:
|
|
sort: 0
|
|
active: true
|
|
|
|
|
|
studio1:
|
|
quiz: studio
|
|
question: 'Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum.'
|
|
category: Ipsum
|
|
input_type: text
|
|
input_options:
|
|
sort: 0
|
|
active: true
|
|
|
|
studio2:
|
|
quiz: studio
|
|
question: 'Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum.'
|
|
category: Magna
|
|
input_type: text
|
|
input_options:
|
|
sort: 0
|
|
active: true
|
|
|
|
|
|
studio3:
|
|
quiz: studio
|
|
question: 'Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum.'
|
|
category: Commodo
|
|
input_type: text
|
|
input_options:
|
|
sort: 0
|
|
active: true
|
|
|