DEV Community

Lucas Cunha
Lucas Cunha

Posted on

1

Esconder e Exibir DIVs

Esta foi a solução que encontrei para fazer aparecer na tela somente o conteúdo da DIV selecionada.

Está bem simples, mas como eu estou começando ainda a aprender JS, acho que foi a forma mais didática que consegui fazer e me ajudou a entender o conceito.

Top comments (0)

Image of Checkly

Replace beforeEach/afterEach with Automatic Fixtures in Playwright

  • Avoid repetitive setup/teardown in spec file
  • Use Playwright automatic fixtures for true global hooks
  • Monitor JS exceptions with a custom exceptionLogger fixture
  • Keep your test code clean, DRY, and production-grade

Watch video