The only problem that I had, and still haven't solved, was to pass the value of the clicked button over to the thank you page. The problem I had was that I wasn't sure when the page was created so I had difficulty finding the element with JQuery. I tried logging the confirmation page request, to see if it would be in the request body. Will probably revisit the exercise once I find out how.
Gowsalaya
@GowsalayadeviAll comments
- @VernonDodoSubmitted over 2 years ago@GowsalayadeviPosted over 2 years ago
Hi Vernon, I couldn't view your code on GitHub. however, you could use event. target method to get the value of the rating and assign it to the element on the second page before you call the show button.
Thanks, Gowsalya
0 - @Nghuynh07Submitted over 2 years ago
I am struggling with responsive design. Any best practices or feed back to improve would awesome
@GowsalayadeviPosted over 2 years agoHi Huynh, you could change the media query max-width to somewhere between 400 to 500, so the layout changes to 3-column when it reaches that width. Thanks, Gowsalaya
0 - @GowsalayadeviSubmitted over 2 years ago
- @Kenzar-SanSubmitted over 2 years ago
The code probably It's a mess, so sorry for that. First, I couldn't put the classes where It was supposed to be, so I put kinda close. I didn't know how to reduce the size of <submit>, tried several times but didn't manage to do it. So I let how I managed to get. And second, I managed to change the first container to the second container using JavaScript, but couldn't put the number chosen in <span id="score">. The site reads the number, however the textContent don't get the value, tried several times changing with no sucess. I put the lines 24 and 29 of the JavaScript as a commentary.
@GowsalayadeviPosted over 2 years agoHi, You could use "flex-shrink" to reduce the size of the button and on Line 24 // score.textContent = "value", it should be // score.textContent = value .
Thanks, Gowsalaya
0