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
1 months agoBrandon
16 days agoBarney
20 days agoAnnita
22 days agoFidelia
1 months agoBrice
15 days agoAn
17 days agoRoslyn
29 days agoPatti
2 months agoEttie
12 days agoChaya
14 days agoGerman
24 days agoChaya
29 days agoGearldine
2 months agoThora
30 days agoChaya
1 months agoVinnie
1 months agoMiss
2 months agoQuiana
1 months agoAriel
1 months agoGwen
2 months agoLatricia
2 months agoProvidencia
2 months agoBea
2 months agoProvidencia
2 months ago