+ 3

why in form (radio) attributes is not working?

there are radio attributes are not working in this simple code please solve this problem https://code.sololearn.com/WHxp9a6ZDpTw/?ref=app

19th Jul 2020, 9:43 AM
Aayush Jat
Aayush Jat - avatar
20 Respuestas
+ 2
Guys please don't argue over little things, are we not here to help each other? Code examples will most likely look the same. Without copyright notice or explicit author warning written, we can't call it plagiarism or crime. This is a community for studying code. If someone wishes to keep a copyright then please do not post a code as an example, people here will and can copy it. Good day guys 🙏
19th Jul 2020, 10:13 AM
Ipang
+ 9
An additional info to Mustafha Ahmad 's answer, there's no necessary to add end tag after <input>
19th Jul 2020, 9:51 AM
WenHao1223
WenHao1223 - avatar
+ 9
Ayush Jat this is my code Hope this helpful! Programming is fun! 😄🤗 https://code.sololearn.com/WxYz3MC280mJ/?ref=app
19th Jul 2020, 9:53 AM
WenHao1223
WenHao1223 - avatar
+ 8
Ayush Jat because you haven't verify your account
19th Jul 2020, 10:12 AM
WenHao1223
WenHao1223 - avatar
+ 5
Ayush Jat Check this. I tried to edit it and now it's fixed :) you had some errors with the quoted ' ' . I have a fixed them if you still have any doubt feel free to tag me https://code.sololearn.com/WqU8NdWxRVKO/?ref=app
19th Jul 2020, 9:53 AM
Nilesh
Nilesh - avatar
+ 5
Mustafha Ahmad You should not do that. Copying codes is a crime
19th Jul 2020, 9:59 AM
Nilesh
Nilesh - avatar
+ 4
Ipang Yes agree with you Instead of ' he is putting ' '
19th Jul 2020, 9:58 AM
Nilesh
Nilesh - avatar
+ 3
Mustafha Ahmad You have simply copied my code :(
19th Jul 2020, 9:57 AM
Nilesh
Nilesh - avatar
+ 3
(wenhao1223) why i cannot messege you?
19th Jul 2020, 10:11 AM
Aayush Jat
Aayush Jat - avatar
+ 2
Same problem with OP's previous thread. OP wrap attribute values with adjacent single quotes. For those who are interested ... https://www.sololearn.com/Discuss/2400883/?ref=app
19th Jul 2020, 9:56 AM
Ipang
+ 2
NiLesh[📴] I’m sorry you think I copied your code. There is a difference. The name should be ‘gender’ and the values shoud be ‘male’ and ‘female’. The reason is that when you submit the form you get the same variable name ‘gender’ with the correct value ‘male’ or ‘female’
19th Jul 2020, 10:06 AM
Gabriel Ilie
Gabriel Ilie - avatar
+ 2
https://code.sololearn.com/WTbzm1CHFwkk/?ref=app Bro. in your code in biggest mistake is double invoted comma are missing...
20th Jul 2020, 4:10 AM
mehul parmar
mehul parmar - avatar
+ 1
You should put like this: <input type="radio">
19th Jul 2020, 9:45 AM
Mustafha Ahmad
Mustafha Ahmad - avatar
+ 1
it does not work bro🤔
19th Jul 2020, 9:50 AM
Aayush Jat
Aayush Jat - avatar
+ 1
Ok...Don't worry, I don't have that habit,but I copied just to clarify the problem quickly...
19th Jul 2020, 9:58 AM
Mustafha Ahmad
Mustafha Ahmad - avatar
+ 1
Sorry
19th Jul 2020, 10:01 AM
Mustafha Ahmad
Mustafha Ahmad - avatar
+ 1
You have didn't given quotation mark well
19th Jul 2020, 1:02 PM
Benakesh yadav
Benakesh yadav - avatar
+ 1
Use 'radio'Ayush Jat
20th Jul 2020, 9:02 AM
Priyanshu Gupta(प्रियांशु गुप्ता)
Priyanshu Gupta(प्रियांशु गुप्ता) - avatar
0
(wenhao1223)-please solve my problem
19th Jul 2020, 9:52 AM
Aayush Jat
Aayush Jat - avatar
0
Write a radio type in single quotes
20th Jul 2020, 2:19 PM
Chandan Kumar
Chandan Kumar - avatar