Given some elements like <section style="order: 1">
, <section style="order: 2">
, and <section style="order: 3">
how can I use querySelectorAll()
to get the first, ie, that in which the value of order
is 1
?
Not sure how to get past this: document.querySelectorAll("[style]")