-
-
Save fabiomirandaa/469da1e138cc161947737f3a722e0284 to your computer and use it in GitHub Desktop.
Console de títulos das seções da página de curso da Udemy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let scopeCourseUdemy = document.querySelectorAll(".section-title-text"); | |
scopeCourseUdemy = Array.from(scopeCourseUdemy); | |
scopeCourseUdemy.forEach(section => { | |
console.log(section.textContent); | |
return section; | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gist usado para conseguir jogar os títulos das seções dos cursos da Udemy no console, facilitando a organização de tarefas em TODO-lists e Pomodoros da vida. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment