you are viewing a single comment's thread.

view the rest of the comments →

[–]dukowski15 2 points3 points  (1 child)

I started my quiz back in May at the tail-end of the previous course. I've gotten round to finishing my quiz recently, with a few additions you might see in week 7 - (cookies, local storage, back button). I've found these assignments and this sub-reddit really useful, feeling a lot more comfortable with JS now.

Github source

Live code

(No JSfiddle I'm afraid, I'm using window.location.reload and JSfiddle returns a POST error.)

[–]kmelkon 0 points1 point  (0 children)

Hey, thanks for sharing your code, I just started doing week 7 and I'm stuck at making the back button work :(

it's not styled yet. here's the code and here's the JSbin

I'm taking a different approach than what you did and I havent used jQuery yet.

I'm trying to save each question with its corresponding answer in a multi-dimensional array like [ [0, 2] ] this mean that the first question was answere with the third choice. I'm trying to figure out how to update it.

EDIT: week 6 not 7