0
Im getting an error when I use getelementbyId method in js.
I have put the code in public, please help. it is named as get.js
6 Respuestas
+ 15
window.onload = function() {
var blue = "Blue";
var re = document.getElementById("red");
re.textContent = blue;
};
+ 14
@Surya Yep! ^_^
+ 13
You tried to grab an element before the page fully-loads...
+ 13
I don't use emails ~_~...... do you have Discord? Join out team :
https://discord.gg/TrBtd4M
+ 1
thanks a ton , Val.. can I call you that? :) (it's too long)
0
hi Val .. since you are a coder.. I'm also learning to code.. you can connect with me on suryapjr@gmail.com.. :)