Problems with the tab panel | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

3rd Jun 2017, 7:25 PM
Gilbert Angulo
Gilbert Angulo - avatar
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 (#)
3rd Jun 2017, 7:39 PM
Maz
Maz - avatar
+ 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
5th Jun 2017, 6:53 PM
Gilbert Angulo
Gilbert Angulo - avatar
+ 27
@Maz Check the code now :3
4th Jun 2017, 1:17 AM
Gilbert Angulo
Gilbert Angulo - avatar
+ 27
yes, you can :)
5th Jun 2017, 6:07 PM
Gilbert Angulo
Gilbert Angulo - avatar
+ 26
@Maz thank you :D
3rd Jun 2017, 7:44 PM
Gilbert Angulo
Gilbert Angulo - avatar
+ 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. :)
5th Jun 2017, 6:22 PM
Maz
Maz - avatar
+ 7
Tokyo Ghoul fans, assemble!
3rd Jun 2017, 8:15 PM
Dao
Dao - avatar
+ 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 )
3rd Jun 2017, 8:12 PM
visph
visph - avatar
+ 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 ;)
5th Jun 2017, 6:13 PM
visph
visph - avatar
+ 1
can i save your html? just be my refenrence
5th Jun 2017, 6:03 PM
adit best
adit best - avatar