+ 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?

13th Aug 2020, 3:02 AM
Bits!
2 Respuestas
+ 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.
13th Aug 2020, 3:05 AM
Sandra Meyer
Sandra Meyer - avatar
+ 7
You can do it through CSS //The code ol { Visibility : hide ; } ul { Visibility : none ; }
10th Sep 2020, 12:37 PM
Abdurrahman Ismail
Abdurrahman Ismail - avatar