These are chat archives for bem/talk

6th
Nov 2017
Adam Bohannon
@abohannon
Nov 06 2017 23:38
Hi all, I'm laying out the structure for an app and this is my first time using BEM. I'm 99% sure i'm getting the naming conventions wrong:
<div id="js-app" class="app">
    <div class="app__main">
      <div class="app__main__top">
        <div class="app__main__top__temp">

        </div>
        <div class="app__main__top__city">

        </div>
      </div>
      <div class="app__main__image">

      </div>
    </div>
    <div id="js-sub1" class="app__secondary">
      <div class="app__secondary__left"></div>
    </div>
    <div id="js-sub2" class="app__secondary">
      <div class="app__secondary__left"></div>
    </div>
    <div id="js-sub3" class="app__secondary">
      <div class="app__secondary__left"></div>
    </div>
  </div>