Hold up, guys. Shouldn't we be using 'document.querySelector' instead of all this 'getElementById' and 'getElementsByTagName' nonsense? That's the modern way to do it, you know.
Okay, let me get this straight. We need to access the first element, not the second one. So option A is just plain wrong. C is clearly the correct answer here.
I'm pretty sure the correct answer is C. The code needs to access the first element with the ID 'condiments', and that's exactly what the option C code does.
Yuonne
2 months agoBrandon
1 months agoBarney
1 months agoAnnita
1 months agoFidelia
2 months agoBrice
1 months agoAn
1 months agoRoslyn
2 months agoPatti
2 months agoEttie
1 months agoChaya
1 months agoGerman
2 months agoChaya
2 months agoGearldine
2 months agoThora
2 months agoChaya
2 months agoVinnie
2 months agoMiss
3 months agoQuiana
2 months agoAriel
2 months agoGwen
2 months agoLatricia
3 months agoProvidencia
3 months agoBea
3 months agoProvidencia
3 months ago