Почему не копирует? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Почему не копирует?

Все работает но не копирует текст, почему? https://code.sololearn.com/Wa6nuRBVbuXu/?ref=app https://code.sololearn.com/Wa6nuRBVbuXu/?ref=app

14th Jul 2023, 10:43 AM
UlTWorker
UlTWorker - avatar
3 Answers
+ 5
UlTWorker , Your code is correct just need 1 change.. 1:-Remove `disabled ` from html line 7. use this `<input type="text" id="di" >`
14th Jul 2023, 11:51 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 8
https://code.sololearn.com/W88ga8kmZmJO/?ref=app It is copied... If you use, console.log(di.value)...in your code, it will display the copied colour code...
14th Jul 2023, 11:02 AM
Riya
Riya - avatar
+ 4
Thank's all
14th Jul 2023, 2:34 PM
UlTWorker
UlTWorker - avatar