畫面需要有兩個input 分別接收身高與體重與一個按鈕,按下按鈕會跑出alert 視窗並顯示BMI。 import { useState } from 'react' function calculateBMI({ height, ...
確定! 回上一頁