#Trying to make something disappear in js, but it wont work, cuz im a dumbass and i dont know what i-
57 messages · Page 1 of 1 (latest)
Could you just add
for (const dot of dots) {
dot.style.display = 'none';
}
?
In your set timeout probably?
setTimeout(() => {
calibrated.style.display = "none";
for (const dot of dots) {
dot.style.display = 'none';
}
}, 2000);
^ What Jacob said works
thanks, this worked great, but what about making the entire screen dim similar to the calibrated popup
would you know how to make the entire screen dim similar to the calibrated popup
It's an overlaid <div> with black color and opacity set to 0.5
You didn't write this code?
What do you mean by that?
Not gonna do a call right now
You can type it out
You want the black overlay to show up another time?
Don't set it to display: none
no, i want there to be a black overlauy at all times
and when the calibration is finished
then it goes away
with the dots and the calibrated message
because now the background it too light
It's not visible, because you haven't set it to be visible
So, change that?
wait wait hold on
You knew you set it to be display: none but you don't want it to be that?
Just remove that from there, and you got that done
yeah but now it always says calibrated
And you can get the <p> tag inside it, and change that to say nothing or be hidden until you have calibrated things?
<p style:"display:none;">?
damn dawg
preciate it tho
Figured, cause you had everything basically already there
Just didn't know what to do with any of it
got this after putting that in the paragraph tag
it works but the error is there lol