o1-preview-2024-09-12· OpenAI
WildChat-4.8M (AI2)
Please create code for an age calculator website with the following specifications: *…
- User
Please create code for an age calculator website with the following specifications:
- Design: The website should have a modern and simple design. It should be fully responsive and adapt 100% to mobile phones, computers, and all types of browsers.
- Input Fields: Include input fields for entering the date of birth: year, month, and day.
- Calculations and Results: After the user inputs their date of birth, the code should calculate and display the following results:
- Age in Years, Months, and Days: Display the user's age broken down into years, months, and days.
- Age in Smaller Units: Display the age in total months, weeks, days, hours, minutes, and seconds.
- Astrological Sign: Determine and display the user's zodiac sign based on their birth date.
- Day of the Week Born: Display the day of the week on which the user was born (e.g., Thursday).
- Season Born: Indicate the season during which the user was born (e.g., Spring).
- Next Birthday Countdown:
- Display the number of days left until the user's next birthday.
- Show the day of the week their next birthday will fall on. result Presentation: Please research and determine the best way to display these results correctly. Decide which outputs should be grouped together and which should
- be presented separately to enhance user understanding and experience.
- Advertising Spaces:
- Include placeholders in the code for integrating Google AdSense advertisements in the future. These should be left empty for now.
- Designate specific and strategic locations for the ads that do not disrupt the design or user experience but are positioned to attract views effectively for potential revenue.
- Code Quality:
- Ensure the code is clean, error-free, and operates smoothly.
- The code should meet all of Google's requirements for placing ads on websites, including loading speed and responsiveness.
- Design Inspiration:
- Use the design identity from the code that will be provided later as inspiration. Only extract the design elements and styling; do not use any other parts of that code.
- Language: The entire website should be developed in English only.
- Thank you for your attention to detail and commitment to creating a high-quality product that aligns with these specifications.
- Assistant