skill-assessment-app/test/fixtures/questions.yml
2016-07-31 18:54:12 -05:00

92 lines
2.2 KiB
YAML

# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
fed1:
quiz: fed
question: Select an example of media query from below.
category: CSS
input_type: radio
input_options: [ option-1, option2, "option 3"]
sort: 0
active: true
fed2:
quiz: fed
question: What are some ways you can improve a site's performance (load time)?
category: Performance
input_type: checkbox
input_options: [ option-1, option2, "option 3", option-4, option5]
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: Briefly explain the principles of Progressive Enhancement.
category: Performance
input_type: text
input_options:
sort: 3
active: true
fed5:
quiz: fed
question: Which is your favorite grid system?
category: CSS
input_type: radio
input_options: [ option-1, option2, "option 3"]
sort: 4
active: true
fed6:
quiz: fed
question: List one advantage of using IDs over classes. List one disadvantage.
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