change getElementsByClassName to querySelectorAll in demo list