Oops!
++ Looks like you hit the browser's Back button. You can't go backwards in the test, + but you'll have a chance at the end to review your answers and make changes. +
+ +diff --git a/app/assets/images/icon-dropdownlist.png b/app/assets/images/icon-dropdownlist.png new file mode 100644 index 0000000..759e862 Binary files /dev/null and b/app/assets/images/icon-dropdownlist.png differ diff --git a/app/assets/images/icon-unorderedlistbullet.png b/app/assets/images/icon-unorderedlistbullet.png new file mode 100644 index 0000000..7cbd331 Binary files /dev/null and b/app/assets/images/icon-unorderedlistbullet.png differ diff --git a/app/assets/images/perficientdigital.png b/app/assets/images/perficientdigital.png new file mode 100644 index 0000000..cf0c8ac Binary files /dev/null and b/app/assets/images/perficientdigital.png differ diff --git a/app/controllers/candidate_controller.rb b/app/controllers/candidate_controller.rb new file mode 100644 index 0000000..aa6cb4c --- /dev/null +++ b/app/controllers/candidate_controller.rb @@ -0,0 +1,19 @@ +class CandidateController < ApplicationController + def welcome + end + + def question + @question = Question.where(input_type: 'live-coder').order("RAND()").first + @status = QuizStatus.new(Candidate.order("RAND()").first) + @answer = @question.answers.order("RAND()").first + end + + def summary + end + + def thankyou + end + + def saved + end +end diff --git a/app/views/candidate/question.html.erb b/app/views/candidate/question.html.erb new file mode 100644 index 0000000..942631c --- /dev/null +++ b/app/views/candidate/question.html.erb @@ -0,0 +1,53 @@ +<% + content_for :title, "Skills Assessment" + content_for :category, @question.category + content_for :footer_title, "Skills Assessment" +%> +
+ + diff --git a/app/views/candidate/saved.html.erb b/app/views/candidate/saved.html.erb new file mode 100644 index 0000000..8d2eb0e --- /dev/null +++ b/app/views/candidate/saved.html.erb @@ -0,0 +1,8 @@ ++ Your test results have been saved. You can visit again later with your candidate ID to complete + the test starting from where you left off. +
+ +Find me in app/views/candidate/summary.html.erb
diff --git a/app/views/candidate/thankyou.html.erb b/app/views/candidate/thankyou.html.erb new file mode 100644 index 0000000..4f04a58 --- /dev/null +++ b/app/views/candidate/thankyou.html.erb @@ -0,0 +1,5 @@ ++ Your answers have been submitted. We will review and your recruiter + will contact you if we would like to set up an interview. +
+ diff --git a/app/views/candidate/welcome.html.erb b/app/views/candidate/welcome.html.erb new file mode 100644 index 0000000..db8866f --- /dev/null +++ b/app/views/candidate/welcome.html.erb @@ -0,0 +1,43 @@ +<% content_for :title, "Skills Assessment" %> + + + ++ Looks like you hit the browser's Back button. You can't go backwards in the test, + but you'll have a chance at the end to review your answers and make changes. +
+ ++ This is a skills assessment test. It's the first step in the process of interviewing + for a Front-End Development position with Perficient Digital. +
++ The questions will test your knowledge in the areas of HTML, CSS, and JavaScript. + Please note that you can only move forward through the test, not back, + and you must attempt to answer the question before moving to the + next one. You'll have an opportunity at the end of the test to review and update your + answers if need be. At any time, you may save your progress and log back in to continue + taking the test from where you left off. +
++ Please answer to the best of your ability—it's totally okay to say + "I don't know"!—and above all, relax and have fun! Once you submit your + answers, we will review your assessment and your recruiter will be in touch. +
+ + ++ This is a question where you will be asked to write code, and it utilizes a JavaScript-enabled + environment. It looks like JavaScript is not loaded for some reason. Please check the box below + to acknowledge that you agree to come back at a later time to finish answering this question + before you can submit the test. +
+ + +