+ 1

Survey feedback

https://code.sololearn.com/Wo7twNe9FCwA/?ref=app This is just a survey that I did. Iā€™ve only started learning, so i know the code might not look very clean, I just wanted to incorporate, all that Iā€™ve been learning. I would appreciate some feedback and also help on how to make the first survey question, the table row clickable, how to make it possible for the user to click the correct number?. I strugged with that.

25th Apr 2020, 8:53 PM
Julia Adekunle
Julia Adekunle - avatar
7 Answers
+ 2
That's nice Julia Adekunle You can improve this code more by adding some styles,colors And some Dom manipulation using js. Keep going.šŸ˜
25th Apr 2020, 11:20 PM
! Bad Coder
! Bad Coder - avatar
+ 2
ohh alright that makes sense, iā€™ve never heard of dom manipulation but definitely worth looking into. Thank you ! Bad Coder and Abdoul Hakim . iā€™ve not started learning css or javascript yet but iā€™m sure when i do, it would make a world difference. i really appreciate your feedbacks, thanks again :)
26th Apr 2020, 3:36 PM
Julia Adekunle
Julia Adekunle - avatar
+ 1
You need to know JavaScript to get value of checkbox and Radio button and store selected value in object.
25th Apr 2020, 9:43 PM
AĶ¢J
AĶ¢J - avatar
+ 1
thank you. iā€™m mainly just asking about how to make it possible to click on the numbers in the table row in the first question.
25th Apr 2020, 10:48 PM
Julia Adekunle
Julia Adekunle - avatar
+ 1
Julia Adekunle You can simply give the selection for first point using select tag. It would be easy to select value.
26th Apr 2020, 4:10 PM
AĶ¢J
AĶ¢J - avatar
+ 1
thatā€™s a good suggestion AJ #Infinity Love , iā€™ve tried it but it turns it into like a drop down list, which isnā€™t what iā€™m going for. Thanks you :)
26th Apr 2020, 6:03 PM
Julia Adekunle
Julia Adekunle - avatar
0
Hi Julia Adekunle I dont't think there's a way to make the table row clickable with pure html, but I am sure that with simple css styling you can make a "click-effect". If you also want to add some logic, then you'll need JavaScript
26th Apr 2020, 9:34 AM
Abdoul Hakim
Abdoul Hakim - avatar