--- id: 5ddb965c65d27e1512d44dae title: Part 23 challengeType: 0 dashedName: part-23 --- # --description-- Now that we have the `total` number of calories that the user entered, we need to determine the maximum calories they should consume. Look at the form and notice that there are radio buttons for Female and Male. If Female is selected, the maximum calories consumed should be 2000, and if Male is selected, the maximum should be 2500. If you inspect the Female radio button you will notice its id: `` Create a variable named `maxCalories` and set it equal to the document element with the id of `female`. # --hints-- See description above for instructions. ```js assert( /const\s*maxCalories\s*=\s*document\.getElementById\([\'\"\`]female[\'\"\`]\)/.test( code ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

Sex
Breakfast
Lunch
Dinner
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```