+ 4
How do I hide a list in HTML?
I also want to make a function based on the list so that if I write my name and age on the text, code finds the matching name and the age from the list?
2 Respostas
+ 5
Hiding elements is possible on various ways, e.g. by setting visible-attribute to false. For the js function it would be useful to have your HTML code and the surrounding js to help.
+ 7
You can do it through CSS
//The code
ol {
Visibility : hide ;
}
ul {
Visibility : none ;
}