Why the number code for apostrophe i.e, ' and entity name ' is not working in my keyboard project .[solved] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why the number code for apostrophe i.e, ' and entity name ' is not working in my keyboard project .[solved]

Why the number code for apostrophe i.e, ' and entity name ' is not working in my keyboard project while That for double qoute &qout; or " is working well; referance for code https://www.tutorialspoint.com/html/html_entities.htm My code check in line 88 and 164 . Click on ' to see error third row right side https://code.sololearn.com/WzQ970cIiUFz/?ref=app

1st Aug 2020, 11:34 AM
Divya Mohan
Divya Mohan - avatar
4 Answers
0
Divya Mohan try to use this in line 88 <button onclick='text.value+="&#39;"'> '</button>
1st Aug 2020, 12:15 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 1
Thankyou AKSHAY
1st Aug 2020, 12:18 PM
Divya Mohan
Divya Mohan - avatar
0
Divya Mohan it will work I have exchanged the double inverted commas with single for onclick and double for text.value..
1st Aug 2020, 12:16 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
Divya Mohan welcome 😊
1st Aug 2020, 3:46 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar