0
I need help
Why is the pick you class in the title screen https://sololearn.com/compiler-playground/WOq41056l0oN/?ref=app
4 odpowiedzi
+ 1
Brian O'Connell Because you're using wrong names for classes.
Line 31: you're trying to retrieve an element with 'pickclass' id, but you don't have one in the HTML code. I think you meant to use 'classes' instead, that is in your code.
Also in CSS, first of all enclose the style rule for button with curly brace }. Then, hide the <div> with the id 'classes'.
And avoid using <center> tag, it is deprecated in HTML5. Use CSS flexbox or margin instead(or better yet for your case, use text-align: center)
+ 1
That's what you wrote in line 22 of the html tab.
We should not use <center>, use CSS instead.
The styling rule for the button is missing a closing }
0
What <div> ? And how
0
> the <div> with the id 'classes'
display: none;