Skip to content

Suggestion for bug-feature #23

Description

@david-lafontant

Great work! However, in the javsscript file in the bug-feature branch
it seems to me that this snippet :
btnMenu.addEventListener('change', () => { if (menuBar.style.display === 'flex') { menuBar.style.display = 'flex'; } else { menuBar.style.display = 'flex'; } }); can be improved.
Please change the event listener from change to click. I also saw the display style is the same whatever the outcome of the test. please take a look at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions