Skip to content

Instantly share code, notes, and snippets.

@cameronbrill
Last active April 19, 2021 03:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cameronbrill/87bd039f99a487295f183a6d3384454b to your computer and use it in GitHub Desktop.
Save cameronbrill/87bd039f99a487295f183a6d3384454b to your computer and use it in GitHub Desktop.
get total number of quizlet cards made by user
z=0;
document.getElementsByClassName("SetPreview-cardBylineTermsCount").forEach(val => {z+=parseInt(val.innerText.split()[0])});
console.log(z);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment