93 lines
2.4 KiB
YAML
93 lines
2.4 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_text
|
|
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: "http://dev.perficientxd.com/skill_assets/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:
|
|
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
|
|
input_options: [ option-1, option2, "option 3", option-4]
|
|
sort: 7
|
|
active: true
|
|
|
|
fed9:
|
|
quiz: fed
|
|
question: Grunt or Gulp?
|
|
category: Javascript
|
|
input_type: radio
|
|
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"]
|
|
sort: 9
|
|
active: true
|