css + newnote loop fix

note to self: don’t use same var name in for loops. changes value