There are 2 modal windows
<div class="modal_show_prises"> <p class="modal_show_prises__text"></p> </div> <div class="modal_show_certificate"> <p class="modal_show_ertificate__text"></p> </div> both units are ideal in style
I always thought that reusing blocks in BEM, I wrote the code for one element and then use it for other elements, but in my example it turns out that we need to style the styles for both blocks
There is a way out - to assign a more general class, for example modal, but whereas in the structure, it is determined that one window is responsible for showing prizes, the second is for showing certificates
<div class="modal"> <p class="modal__text"></p> </div> <div class="modal"> <p class="modal__text"></p> </div>