multiple Onload functions in Web CV template | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

multiple Onload functions in Web CV template

I want to load several functions when the side loads. However, it runs only the first even with my workaround. If you run the code you can see what other issues exist. For the design template I used the N-19 design from Coding Market. If you like it check their Youtube Channel und GitHub. I modified the template for my need, though. I use Javascript to make it more interactive. I like that it is printable. https://code.sololearn.com/WI6hFlNLwrYz/?ref=app

4th Dec 2020, 8:36 PM
Amar Samdan
Amar Samdan - avatar
3 Answers
+ 2
window.onload = function() { event1(); event2(); event3(); }
14th Jan 2021, 3:13 AM
Samiun Nafis
Samiun Nafis - avatar
+ 1
Thanks for your response! I tried that. However, it only calls the first function when I tried.
14th Jan 2021, 12:45 PM
Amar Samdan
Amar Samdan - avatar
+ 1
Amar Samdan Try putting all of your codes/methods in onload functions.
14th Jan 2021, 12:48 PM
Samiun Nafis
Samiun Nafis - avatar