You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Toggling the menu should change the arrow and show/hide the menu list.
40
+
Membuka dan menutup menu seharusnya menganti posisi anak panah dan menunjukan atau menyembunyikan daftar menu.
41
41
42
-
All these changes are perfectly handled by CSS. In JavaScript we should label the current state of the menu by adding/removing the class `.open`.
43
-
44
-
Without it, the menu will be closed:
42
+
Semua pergantian ini sangat sempurna untuk di tanggani oleh CSS. Pada Javascript kita harus memberi label pada kondisi menu saat ini dengan menambahkan/menghapuskan kelas(_class_) `.open`.
45
43
44
+
Tanpanya, menu akan tetap tertutup:
46
45
```css
47
46
.menuul {
48
47
margin: 0;
@@ -58,7 +57,7 @@ Without it, the menu will be closed:
58
57
}
59
58
```
60
59
61
-
...And with`.open`the arrow changes and the list shows up:
60
+
...Dan dengan`.open`anak panah akan berubah dan daftar akan kelihatan:
0 commit comments