+ 1
How can I make this work?web.
Please anybody help me https://code.sololearn.com/WBtwvsYa5RqG/?ref=app
3 Answers
+ 1
First
You wrote the function getAttribute wrong, it is case sensitive, you accidently wrote the "a" in it small instead of capital
Second
The java script part was being run before the html was loaded so it was giving an error, to fix that you should put the java script code using the script tag in the body tag in the html area.
https://code.sololearn.com/WTA1ZtU98Ajn/?ref=app
+ 1
Jalaj Madaan thanks man
0
Np