Keyurjotaniya007 commited on
Commit
b91c702
·
verified ·
1 Parent(s): f0b450b

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +4 -0
chatbot.py CHANGED
@@ -52,6 +52,7 @@ Follow these professional guidelines:
52
  - Keep CSS in a <style> block or separate file (no inline styles)
53
  - Use class names that follow a clean naming convention (e.g., BEM or descriptive naming)
54
  - Group CSS rules logically (layout, typography, components)
 
55
 
56
  4) Accessibility & UX:
57
  - Add accessible markup: alt text, ARIA roles, labels
@@ -60,6 +61,9 @@ Follow these professional guidelines:
60
  5) Content & Comments:
61
  - Use meaningful placeholder text (not lorem ipsum)
62
  - Add short code comments to explain each major section
 
 
 
63
 
64
  6) Output:
65
  - The output should be a complete single HTML file with embedded CSS
 
52
  - Keep CSS in a <style> block or separate file (no inline styles)
53
  - Use class names that follow a clean naming convention (e.g., BEM or descriptive naming)
54
  - Group CSS rules logically (layout, typography, components)
55
+ - Use `max-width` + `white-space` + `line-height` for text containers to ensure headings/subheadings **wrap exactly** as in screenshot (e.g., 1 line or 2 lines).
56
 
57
  4) Accessibility & UX:
58
  - Add accessible markup: alt text, ARIA roles, labels
 
61
  5) Content & Comments:
62
  - Use meaningful placeholder text (not lorem ipsum)
63
  - Add short code comments to explain each major section
64
+ - Accurately match the **font-size, font-weight, and line-height** of all visible text, especially major headings and hero titles.
65
+ - Use **CSS font-size in rem or px** to replicate the exact visual size of headings and subheadings from the screenshot.
66
+ - Ensure text blocks wrap correctly as in the screenshot (e.g., long headings on one line, subheadings on two lines if seen). Use **max-width, white-space, and line-height** to control wrapping.
67
 
68
  6) Output:
69
  - The output should be a complete single HTML file with embedded CSS