+ 35
Problems with the tab panel
i can't open the number two (Characters) and the first is the unique that appears in all the code https://code.sololearn.com/WypD7s2OO9HM/?ref=app
10 Answers
+ 13
Remove the hashtag (#) from your id = "", it must be used in the "href" attribute only.
Keep it up, i'm curious to see the final result. :)
- EDIT -
@visph, i always apprecciated your corrections and your experience, but this is obviously and naturally i meant about his code and not the general uses of the hastag (#)
I wanted to pointed out that specific problem instead of writing all uses of the hashtag (#)
+ 28
keep calm, @Maz only answered my problem in my code, because i used the "#" in the wrong place, for this she said that i need must use it in "href" only :)
Thank you both for responding
+ 27
@Maz Check the code now :3
+ 27
yes, you can :)
+ 26
@Maz thank you :D
+ 13
I did not notice any JS function call (and to be honest, not even now), otherwise surely i would say the same.
No problem anyway, i'm not hurt for this. :)
+ 7
Tokyo Ghoul fans, assemble!
+ 5
Hashtag ( # ) must not only be used in 'href' attribute ( to refer to a specific ID element to scroll to at document loading )... it will also be used to identify ids names in css selectors rules, as well as in JS document.querySelector() and querySelectorAll() methods parameter, but not in getElementById() one ( as the parameter is necessarly an id name )
+ 5
@Maz:
I see your edit only now...
Sorry if I had hurt you, but when you wrote "it must be used in the "href" attribute only" it sounds to me as no other way to use '#', all the more that we were not talking about just <a> link element, but also the mistake was to use it as parameter of a JS function call ;)
+ 1
can i save your html? just be my refenrence