@@ -83,23 +83,7 @@ render { bugCount, startType, status } =
8383 , centerY
8484 , Font . center
8585 ]
86- [ column [ spacing 20 ]
87- [ paragraph []
88- [ text " How many bugs should I put in your chosen file? "
89- ]
90- , Input . text
91- [ htmlAttribute ( HtmlAttrs . type_ " number" )
92- , htmlAttribute ( HtmlAttrs . min " 1" )
93- , width ( maximum 90 fill)
94- , centerX
95- ]
96- { onChange = UpdateBugCount
97- , text = String . fromInt bugCount
98- , placeholder = Nothing
99- , label = Input . labelHidden " the number of bugs you'd like to try debugging"
100- }
101- ]
102- , column [ spacing 25 , centerX ]
86+ [ column [ spacing 25 , centerX ]
10387 [ paragraph [] [ text " What file should I put the bugs in?" ]
10488 , paragraph []
10589 [ case status of
@@ -116,7 +100,23 @@ render { bugCount, startType, status } =
116100 }
117101 ]
118102 ]
119- , startButton
103+ , column [ spacing 20 ]
104+ [ paragraph []
105+ [ text " How many bugs should I put in the file? "
106+ ]
107+ , Input . text
108+ [ htmlAttribute ( HtmlAttrs . type_ " number" )
109+ , htmlAttribute ( HtmlAttrs . min " 1" )
110+ , width ( maximum 90 fill)
111+ , centerX
112+ ]
113+ { onChange = UpdateBugCount
114+ , text = String . fromInt bugCount
115+ , placeholder = Nothing
116+ , label = Input . labelHidden " the number of bugs you'd like to try debugging"
117+ }
118+ ]
119+ , el [ height ( px 60 ) , centerX ] startButton
120120 ]
121121
122122
@@ -125,8 +125,8 @@ startButtonText =
125125 " let's go!"
126126
127127
128- howToStartNote : Int -> String -> Element msg
129- howToStartNote bugCount filename =
128+ howToStartNote : Int -> String -> Element msg
129+ howToStartNote bugCount filename =
130130 paragraph
131131 [ Background . color Colors . darkKickstartCodingBlue
132132 , Font . color Colors . white
0 commit comments