write code javascript
bmi_plus/modulo_example.html
See the web developer console
bmi_plus/optional1.html
Optional Loop Problem 1
Fibonacci Numbers
Generate 30 Fibonacci numbers. Append them to an ordered list.
If the number is divisible by three, make it bold.
bmi_plus/optional2.html
Optional Loop Problem 2
Prime Numbers
Write a loop to generate all the numbers from 1 to 100.
If the number is prime, place an asterisk next to it.
bmi_plus/problem1.html
Problem 1
Multiples of 5 and 7
If we list all the natural numbers below 20 that are multiples of 5 or 7, we get 5, 7, 10, 14 and 15. The sum of these multiples is 51.
Find the sum of all the multiples of 5 or 7 below 1000.
The answer is:bmi_plus/problem2.html
Problem 2
Powers of 2
Write a loop that generates the powers of 2. Start at two to the first power and end at 2 to the twentieth power.
Display the powers of 2 in an ordered list.
bmi_plus/problem3.html
Your custom BMI table
This table shows your current height and weight, plus or minus up to ten pounds, and the corresponding BMI calculations. It also indicates if a BMI is a categorized as underweight, healthy, overweight, or obese.
Your current weight is indicated in bold text.
| Height (inches) | Weight (lbs) | BMI | Category |
|---|