This project is a complete frontend assignment based on the provided assessment. It includes a responsive landing page, an AJAX-style product grid, and supporting AI deliverables.
index.html— pixel-perfect landing page with a digital agency layoutstyles.css— responsive styling and accessibility-ready layoutscript.js— JavaScript to load and filter products without reloading the pagedata/products.json— product data for the AJAX product gridFED-Machine-Test-Submission/Mandatory-AI-Task/wordpress-plugin/— WordPress plugin with products CPT, shortcode, and JSON importPROMPTS.md— recorded AI prompts and purposeAI_DECISIONS.md— documented AI review and correctionsCLAUDE_CONVERSATION.md— sample AI conversation summary
This submission covers:
- Task 3: Frontend
- responsive product landing page using HTML, CSS, JavaScript
- search and filter functionality in the product grid
- AJAX-style product data loading without page reload
- Mandatory AI Deliverables
- prompt documentation in
PROMPTS.md - AI issue review in
AI_DECISIONS.md - conversation summary in
CLAUDE_CONVERSATION.md
- prompt documentation in
To view the page correctly, serve the folder using a local web server.
Using Python:
cd "c:\Users\sarth\OneDrive\Desktop\New folder (19)"
python -m http.server 8000Then open:
http://localhost:8000
The WordPress custom theme is in FED-Machine-Test-Submission/Mandatory-AI-Task/wordpress-theme/ and the companion plugin is in FED-Machine-Test-Submission/Mandatory-AI-Task/wordpress-plugin/.
- Copy
FED-Machine-Test-Submission/Mandatory-AI-Task/wordpress-theme/intowp-content/themes/of your WordPress install. - Copy
FED-Machine-Test-Submission/Mandatory-AI-Task/wordpress-plugin/intowp-content/plugins/. - Activate the theme and activate the plugin in the WordPress admin.
- The plugin imports demo products from JSON on activation and registers the
[shopify_products]shortcode. - Use the theme's built-in product section in the homepage template to display the product grid.
- Optionally add more products via the
Productscustom post type and assign categories or tags.
- The page is built with semantic HTML and responsive CSS.
- The product grid is dynamically generated from JSON data.
- The design is intentionally clean and easy to edit for a non-technical client.