---
# System prepended metadata

title: Assignment 2 Answers

---

The answer to life, the universe, and everything is 42.

1. **Can I use AI to generate UI/UX designs and can I use AI generated images if I want to use it in the assignment?**
**[AT]** You can use AI generated images, and you can use AI to generate UI ideas that you _code up yourself._ Using AI to write code is not allowed. We are testing *your* skills, not Claude's.

2. **Can I gradients from external sites like grabient.com?**
**[AT]** You can. You can also use sites like colorhunt.co for getting color palettes.
3. **Is using code snippets from external websites like CodePen allowed?**
**[AT]** Yes. Cite the sources in your README.
4. **Does it have to be mobile readable? Can we just optimise for computers?**
**[AT]** Yes, it has to be for smartphones and computers both.
5. **Can we use some hardcoded values outside `:root` (except colors)?**  
**[AT]** Yes. The restriction is only for colors. Other values (margin, padding, font-size, etc.) can be hardcoded outside `:root`.
6. **Is it necessary to make only those 4 pages, can we make more?**  
**[AT]** You can make as many pages as you want.
7. **Is it necessary to make the about page as a timeline? Will using timeline only in Education be penalized?**  
**[AT]** It is fine to only use it in Education.
10. **Can we incorporate the About me section as the Home page (only 3 pages total)?**  
**[AT]** Sure.
11. **Can I save the image in PNG instead of JPG?**  
**[AT]** Yes. Any format is fine as long as it displays correctly.
12. **Can I use external websites' code snippets for animations?**  
**[AT]** Yes. Cite them in your README.
13. **For WCAG AA contrast requirements, do all colors need to comply?**  
**[AT]** All readable text should meet contrast requirements.
14. **validator.w3 minor errors (like skipping heading levels)**  
**[AT]** Minor issues are acceptable.
15. **What all do we need to put in the home page?**  
**[AT]** Whatever you want. Be creative!
16. **Does the D3 deliverable apply to all pages?**  
**[AT]** No, any one place is also fine.
17. **For validating email can we use input tag as email (type="email") and just check validity through js with checkvalidity()?**
**[AT]** Yeah.
16. **If I upload my site onto iiit web and want to make changes before the deadline can I take it down and reupload it?**
**[AT]** Yes.
17. **If I used online resources to learn should I include links to them in the README as references the way we did during the labs?**
**[AT]** That's not required.
18. **Do we detect mobiles vs desktops by saying that say desktops are all >=1024px and everything below is mobiles/tabs, or if my device is touch screen or mouse pointer makes the distinction?**
**[AT]** My laptop has both, what device would that be? Use screen resolution, since that's the standard practice.
19. **I am unable to check WCAG AA requirements, both in Styles and Accessibility tabs. How do I check it?**
**[AT]** You can use a website/browser extension to check it.