Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

nsert an if else statement that sets the style.display property of the item to “block” if the className property of the option equals the category variable, otherwise set the style.display property to “none” (to hide the option).

Puzzled Partridge answered on May 6, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • display block class javascript
  • class set every element to display none
  • how to check div is display:none or block in javascript
  • conditional css class styling
  • is display-block a class

  • nsert an if else statement that sets the style.display property of the item to “block” if the className property of the option equals the category variable, otherwise set the style.display property to “none” (to hide the option).

    0
    Popularity 1/10 Helpfulness 1/10 Language typescript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 06 2023
    Puzzled Partridge
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.