Create a landing page according to the following instructions
Para-1
---------
Now, Create a amazon affiliate marketing product's single page html landing page by following the theme of template attached, 'Template_For_Other_Landing_Pages.html'.
BACKUP REFERENCE: If the attached file has issues, you can also refer to this GitHub template for structure reference: https://github.com/MawlaAliKalandar19/TemplateLandingPage/blob/main/Template_For_Other_Landing_Pages.html
You replace all relevant info into the template with the info related to a new product. New product's details are given below where you can find some new features to add. Change images plus texts under the heading like, "What Customers Are Saying" according to the details given below.
CRITICAL: Preserve the EXACT Google Sheets integration code from the GitHub template. This includes:
1. The EXACT Google Apps Script URL: https://script.google.com/macros/s/AKfycbyp1l8jNLj8PRwoAz6tluyP9or2yDSlc2rIJRIWCB5RSKSJHzox6DPPtUu2mnu6JwwWeA/exec
2. The EXACT form handling JavaScript structure with config object
3. IMPORTANT: In the config object, the 'niche' field MUST be set to: "Beauty & Personal Care"
4. Do NOT modify the Google Sheets integration code in any way - only update the product name in the config object
You change the CTA redirection links in 3 or 4 buttons as: https://amzn.to/49dOIRy
New product's details are given below. The template attached was actually created for a different product.
Please keep all generalized in place but for SEO optimization use relevant products terms.
Para-2
----------
, use new product image link here.
Keep thumbnail related intact, but use product image link instead of existing one. Replace the top-most image's link with the new product image. The very product image is the thumbnail and use product title as the alt image where necessary.
CRITICAL: The main product image in the hero section MUST have the exact ID: id="heroimg" - just like in the template. For example:
CRITICAL HERO IMAGE DISPLAY: The hero image MUST display without cropping. Use this exact structure:
DO NOT apply object-fit: cover to the hero image. The class "w-full h-auto" ensures it displays at full width with natural height.
CRITICAL: Preserve ALL existing tags from the template, including:
1. All technical meta tags (charset, viewport, cache-control, etc.)
2. All SEO meta tags (description, keywords, author, etc.)
3. All Open Graph meta tags (og:title, og:image, og:url, etc.)
Specifically ensure these cache-control meta tags are included from the GitHub template:
Say in the template a meta tag found is like, . Here use description of the new product instead.
Another meta is like, . Here also use relevant keywords regarding new product for which we are designing the landing page.
Following tags are given to you as a sample. In these properties, put real data regarding this product.
Para-2(2)
PROMO LINK DETECTION ELEMENT - MUST INCLUDE:
=============================================
To ensure automated systems can detect the promo link, you MUST include this exact hidden element:
Place this element in the
- DO NOT use object-fit: cover on hero image
- Let it display naturally at full width with auto height
2. ACTION IMAGES - Use rules from Para-5:
- Use object-fit: contain (as specified in Para-5)
- Maintain original proportions
- Do NOT crop
3. OTHER IMAGES (non-hero, non-action):
- Use object-fit: cover only when you need to fill containers
- Combined with: width: 100%; height: 100%
- For containers: Use fixed aspect ratios
- Add: object-position: center (focus on important parts)
4. ASPECT RATIO TECHNIQUES:
Technique A (Padding-bottom):
.image-wrapper {
position: relative;
width: 100%;
padding-bottom: 75%; /* 4:3 ratio */
overflow: hidden;
}
.image-wrapper img {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
object-fit: cover;
}
Technique B (Aspect-ratio property):
.image-wrapper {
aspect-ratio: 4/3;
overflow: hidden;
}
.image-wrapper img {
width: 100%; height: 100%;
object-fit: cover;
}
5. CRITICAL EXCEPTION FOR HERO IMAGE:
- The hero image (id="heroimg") MUST NEVER use object-fit: cover
- It should display naturally: class="w-full h-auto"
- Example:
6. ALTERNATIVE: BACKGROUND IMAGE METHOD:
When you need precise control:
KEY TAKEAWAY: Use appropriate object-fit based on image type:
1. Hero Image: Natural display (w-full h-auto) - NO object-fit
2. Action Images: object-fit: contain - maintain proportions
3. Other Images: object-fit: cover - fill containers when needed
MUST PRESERVE: The lead magnet section with Google Sheets integration MUST use this EXACT code structure:
EXACT GOOGLE SHEETS INTEGRATION CODE TO PRESERVE:
=================================================
const config = {
scriptUrl: "https://script.google.com/macros/s/AKfycbyp1l8jNLj8PRwoAz6tluyP9or2yDSlc2rIJRIWCB5RSKSJHzox6DPPtUu2mnu6JwwWeA/exec",
niche: "Beauty & Personal Care",
product: "[UPDATE THIS WITH NEW PRODUCT NAME ONLY]"
};
const form = document.getElementById("contactForm");
if (form) {
form.addEventListener("submit", async function (e) {
e.preventDefault();
const formMessage = document.getElementById("form-message");
const submitButton = form.querySelector('button[type="submit"]');
const originalButtonText = submitButton.textContent;
const name = form.querySelector('input[name="name"]').value.trim();
const email = form.querySelector('input[name="email"]').value.trim();
// Basic validation
if (!name || !email) {
showMessage(formMessage, "Please fill out all fields.", "error");
return;
}
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
showMessage(formMessage, "Enter a valid email.", "error");
return;
}
submitButton.disabled = true;
submitButton.textContent = "Sending...";
try {
const formData = new URLSearchParams();
formData.append("name", name);
formData.append("email", email);
formData.append("niche", config.niche);
formData.append("product", config.product);
const response = await fetch(config.scriptUrl, {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: formData
});
const result = await response.json();
if (result.success) {
showMessage(
formMessage,
"Success! Check your email for your nail care guide.",
"success"
);
form.reset();
} else {
throw new Error(result.error || "Failed to save your information");
}
} catch (error) {
showMessage(formMessage, "Error: " + error.message, "error");
} finally {
submitButton.disabled = false;
submitButton.textContent = originalButtonText;
}
});
function showMessage(element, text, type) {
element.textContent = text;
element.style.display = "block";
element.style.color = "white"; // Force white text for all messages
element.style.backgroundColor = "rgba(0, 0, 0, 0.7)"; // Dark semi-transparent background
element.style.padding = "12px";
element.style.borderRadius = "8px";
element.style.fontWeight = "600";
if (type === "error") {
element.scrollIntoView({ behavior: "smooth", block: "center" });
}
}
}
=================================================
CRITICAL FOOTER RESTRICTION: In the footer section, DO NOT include any links like "Privacy Policy", "Terms of Service", "Contact Us", "Shipping Info", "Returns", or "Support". These should not appear anywhere in the footer or any other part of the landing page. Only include basic navigation links that point to sections within the same page (like "Product", "Benefits", "Reviews", etc.).
Para-9
---------
For theme base gradient color, extract color code from following:
background: linear-gradient(90deg, rgba(7, 174, 234, 1.000) 0.000%, rgba(43, 245, 152, 1.000) 100.000%)
CRITICAL TEXT CONTRAST & READABILITY REQUIREMENTS:
==================================================
To ensure all text is readable on the selected theme gradient, follow these rules:
1. PRIMARY BUTTON TEXT: Always use white text (#FFFFFF) on gradient buttons
2. SECONDARY BUTTON TEXT: Use #333333 (dark gray) on white/light backgrounds
3. FORM MESSAGES: Always use white text (#FFFFFF) with semi-transparent dark background
4. HEADER TEXT ON GRADIENTS: Use white text (#FFFFFF) with text-shadow for readability
5. LEAD MAGNET FORM MESSAGES: Use this CSS for form message container:
#form-message {
display: none;
padding: 12px;
border-radius: 8px;
margin-top: 15px;
text-align: center;
background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
color: white !important; /* Force white text */
font-weight: 600;
}
6. SPECIFIC ELEMENTS TO FIX:
- 'See Features' button on gradient hero section: Use dark text OR add background
- Lead magnet success/error messages: White text on dark semi-transparent background
- All text on gradient sections: Use white with text-shadow: 0 1px 2px rgba(0,0,0,0.5)
- Form labels on gradient backgrounds: White text
7. BUTTON COLOR RULES:
.btn-primary {
background: [THEME GRADIENT];
color: white !important;
font-weight: 600;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-secondary {
background: white;
color: #333333 !important;
border: 2px solid [MAIN THEME COLOR];
}
8. UNIVERSAL SAFETY RULE: If any text appears unreadable, override it with either:
- color: white !important; (for dark gradients)
- color: #333333 !important; (for light backgrounds)
- Add background: rgba(0,0,0,0.7) behind white text on gradients
Para-10
---------
For FAQ section please add your researched questions and proper answers...
YouTube Video Section: Do NOT include any YouTube video section in the landing page.
Para-11
----------
No specific affiliate policy provided. Use standard affiliate marketing best practices.
Pinterest Metadata Section
--------------------------
After creating the complete landing page, add a commented paragraph at the very end of the HTML file (after the closing tag) with Pinterest metadata in the following format:
SPECIFIC REQUIREMENTS FOR PINTEREST METADATA:
1. The Pinterest Title & Description should be SEO optimized as much as possible
2. The description should have relevant emojis in between where appropriate
3. The description should never be more than 1000 characters - make it compact and engaging
4. At the end of the description, include no more than 5 top most relevant hashtags separated by single spaces
5. The Landing Page URL is: https://health.riseinventor.com/health_chaan/LandingPage_00/LandingPage.html
6. The Alt Text should be SEO optimized and descriptive
EXISTING PINTEREST BOARDS:
--------------------------
- Must-Have Beauty,
- Viral Skincare Dupes,
- Nail Art Tutorials,
- 4th of July Nail Art,
- Sephora Skincare Faves,
- Summer Bright Juicy Beauty,
- Press On Nails At Home,
- DIY Nail Ideas,
- Quick Manicure Tips,
- Affordable Beauty Finds
After analyzing the product details above, select the MOST SUITABLE board from this list where the pin should be placed. Consider the product category, target audience, and board themes to make the best choice.
EXAMPLE FORMAT (for a massage gun product):