[SOLVED]Why my function not working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

[SOLVED]Why my function not working?

Supposedly after pressing the button twice then the iframe will be displayed, but why nothing happens. What's wrong with my function? https://code.sololearn.com/W0Zs0kZvxNv5/?ref=app

28th Aug 2021, 11:15 AM
Anargya Prima Anubhawa
Anargya Prima Anubhawa - avatar
8 Answers
+ 3
Anargya P Anubhawa There are three ways of inserting a style sheet: external CSS, internal CSS and inline CSS. I think you need to repeat the HTML and CSS to learn the difference between them and the syntax.
28th Aug 2021, 11:41 AM
JaScript
JaScript - avatar
+ 2
Hmm, ok JaScript
28th Aug 2021, 11:47 AM
Anargya Prima Anubhawa
Anargya Prima Anubhawa - avatar
+ 2
Happy coding!
28th Aug 2021, 12:57 PM
JaScript
JaScript - avatar
+ 1
Remove this onclick = "" To onclick = function()
28th Aug 2021, 11:19 AM
Vtec Fan
Vtec Fan - avatar
+ 1
Rushikesh Still, the iframe is not displaying
28th Aug 2021, 11:21 AM
Anargya Prima Anubhawa
Anargya Prima Anubhawa - avatar
0
Which function?
28th Aug 2021, 11:18 AM
Vtec Fan
Vtec Fan - avatar
0
Uhh, i just delete the div and it work:) https://code.sololearn.com/WAg7TF1Var4a/?ref=app
28th Aug 2021, 1:35 PM
Anargya Prima Anubhawa
Anargya Prima Anubhawa - avatar