teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

前提条件が変わったため追記。

2016/11/02 05:29

投稿

kei344
kei344

スコア69625

answer CHANGED
@@ -1,3 +1,13 @@
1
1
  ```CoffeeScript
2
2
  if x >=10 && x < 15 && $('li.no:first-child').length <1
3
+ ```
4
+
5
+ ---
6
+
7
+ **追記:**
8
+
9
+
10
+ ```CoffeeScript
11
+ if x == 10 && $('li.no:first-child').length <1
12
+ else if x == 15 && $('li.no:nth-child(2)').length <1
3
13
  ```