+ 1

What am I doing wrong?

I'm trying to replace all of the T`s with "Test". Why won't it work? https://code.sololearn.com/W58SKmyWLd2Y/?ref=app

6th Jul 2018, 8:31 AM
Daniel Cooper
Daniel Cooper - avatar
2 Respostas
+ 3
https://code.sololearn.com/WZeXsqtzp13b/?ref=app
6th Jul 2018, 8:37 AM
Calviղ
Calviղ - avatar
+ 1
Try replacing str.value with str.innerHTML.
6th Jul 2018, 8:35 AM
Hoàng Nguyễn Văn
Hoàng Nguyễn Văn - avatar