Estudia si te sirve como te coloco ahora... pues seria modificar el JS :)
Código HTML:
Ver original<p class="textToRead sec_1"/> Dependency Injection: Huh?
Chances are, at some point in your learning, you've come across the term, "dependency injection." If you're still relatively early in your learning, you likely formed a confused expression and skipped over that part. Still, this is an important aspect of writing maintainable (and testable) code. In this article, I'll explain it in as simple a way as I'm capable of.
<p class="textToRead sec_1"/> Otro texto largo y aburridor
<p class="textToRead sec_1"/> Otro texto masss largo y aburridor
<p class="textToRead sec_1"> Otro texto masss largo y mssssssss aburridor!!!
<p class="textToRead sec_2"/> Que feliz que estoy de estar vivo!
<p class="textToRead sec_2"> Otro parrafo MUY motivador
<p class="textToRead sec_3"/> Hablemos de carros :)
<p class="textToRead sec_3"> Emm...
<!-- aca se muestra : -->
<div class="textToChange" id="sec_1">
<!-- aca se muestra : -->
<div class="textToChange" id="sec_2">
<!-- aca se muestra : -->
<div class="textToChange" id="sec_3">