نوع پست :آموزشی
هنراموز :اقای مهندس حمید رهبر
تهیه شده: گروه آموزشی استان اردبیل
با هوشمصنوعی jit.dev بدون دانش زبان برنامهنویسی برنامه مورد نظر خودتان را فقط با توضیحات (prompt) بنویسید.
به عنوان مثال در اینجا من ازش خواستم یک صفحه اینترنتی محاسبهکننده شاخص تودهبدنی (BMI) بنویسه و کاربران با وارد کردن قد و وزن بتونن وضعیت بدنیشون رو تشخیص بدن (چاق، لاغر یا نرمال).
پرامپتی که بهش دادم و صفحه رو ساخت:
Create a modern, visually appealing BMI calculator using HTML, CSS, and JavaScript with a clean, responsive UI. The design should include a sleek, card-style layout with soft shadows, rounded inputs, and smooth animations for an engaging user experience. Users should be able to input their weight and height in metric (kg, cm) units, and the calculator should compute BMI using BMI = weight (kg) / (height (m) * height (m)), displaying the result with a color-coded category (Underweight, Normal, Overweight, Obese). The UI should feature intuitive spacing, interactive hover effects, and a responsive design for desktop and mobile. Include real-time validation to prevent negative or empty inputs, a reset button to clear fields, and optional enhancements like a graphical BMI range indicator or animation effects for better engagement. Ensure the project consists of index.html for structure, style.css for attractive styling, and script.js for interactivity.
