+ 5

[solved] Typing effect function

Please I need someone to help me build an onclick event function that takes two arguments. let's say we name the function typeWrite(x,y) Where x is an id of a particular element and y is a long texts. whenever typeWrite(x,y) function is called, it grabs any element that has the id attribute value of x, and sets y as it's innerText in a typing effect. Here's the code template. https://code.sololearn.com/WIa3790DhV8G/?ref=app The problem is solved. Here is the solution. https://code.sololearn.com/Wo6VI8dhjeS1/?ref=app

7th Jan 2021, 4:13 AM
Stonny
Stonny - avatar
4 Respuestas
+ 8
https://code.sololearn.com/WXYV1s9r5Qu4/?ref=app check the js
7th Jan 2021, 4:30 AM
Krish
Krish - avatar
+ 4
Thanks Krish Your solution helped me so much. I twisted it a little bit to get what I actually needed. thanks so much. https://code.sololearn.com/Wo6VI8dhjeS1/?ref=app
7th Jan 2021, 7:03 AM
Stonny
Stonny - avatar
+ 2
Stonny I think this lesson might help you more https://code.sololearn.com/WUfKwT785jx0/?ref=app
8th Jan 2021, 2:22 PM
Krish
Krish - avatar
+ 1
Krish [less active] thanks so much. It's really helpful
8th Jan 2021, 2:26 PM
Stonny
Stonny - avatar