Changing brand colors
Brand colors are defined in atailwind.config block inside a <script> tag in the <head> of index.html. Tailwind reads this configuration at runtime and makes the color names available as utility classes throughout the file.
bg-primary, text-secondary) will update automatically.
| Color | Hex | Used for |
|---|---|---|
primary | #E11D48 | Buttons, price text, active nav hover, section heading accents, contact info panel background |
secondary | #1F2937 | Navigation bar, product names, section headings, footer background |
accent | #F59E0B | Optional accent — not applied to any element in the current markup |
light | #FDFBF9 | Page background (<body>) |
dark | #111827 | Dark elements — available for use in custom additions |
Updating the product catalog
Each product is a<div> with the class product-card inside the #productos section. Here is the first product card as it appears in the source:
| Attribute | Where | What to change |
|---|---|---|
src | <img src="..."> | Path to the product image file |
alt | <img alt="..."> | Descriptive alt text for the image |
| Product name | <h3> text | The display name shown on the card |
| Description | <p> text | The short description below the name |
| Price | <span> text inside .text-primary | The price string (e.g., $59.99) |
Adding a new product
Add the product image
Place your new product image file (e.g.,
producto5.jpg) in the actividad2_schujman/ directory alongside the other product images.Copy the product card template
Copy the following template and paste it inside the product grid
<div> in the #productos section, after the last existing product card:Updating team members
Each team member is a<div> inside the 5-column grid in the #nosotros section. Here is the first team member card as it appears in the source:
| Attribute | Where | What to change |
|---|---|---|
src | <img src="..."> | Path to the team member’s photo |
alt | <img alt="..."> | Alt text for the photo |
| Name | <h4> text | The member’s display name |
| Role | <p> text | The member’s role or title |
Editing contact information
Contact details are hardcoded in the right-hand panel of the#contacto section. To update them, locate and edit the following elements in index.html:
Address — find the <p> tag under the “Dirección” heading:
<p> tags under the “Teléfonos” heading:
mailto:. To change the recipient address, update the action attribute on the <form> tag:
[email protected] with the desired recipient email address.
Adding navigation links
Navigation anchor links follow this pattern in the<nav> element:
<a> tags, update the href to match the id of the target section, and update the link text. Make sure the corresponding section has a matching id attribute, for example: