0

I need help

Why is the pick you class in the title screen https://sololearn.com/compiler-playground/WOq41056l0oN/?ref=app

9th Jul 2025, 1:50 PM
Brian O'Connell
Brian O'Connell - avatar
4 Respuestas
+ 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)
9th Jul 2025, 2:10 PM
Afnan Irtesum Chowdhury
Afnan Irtesum Chowdhury - avatar
+ 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 }
9th Jul 2025, 2:01 PM
Lisa
Lisa - avatar
0
What <div> ? And how
9th Jul 2025, 5:42 PM
Brian O'Connell
Brian O'Connell - avatar
0
> the <div> with the id 'classes' display: none;
9th Jul 2025, 5:47 PM
Lisa
Lisa - avatar