AI

ACE AI SW Startup Training

Front-End Development & API Integration with AI

Day 6 Front-end development & API integration with AI Videos + AI chatbot learning

Front-End Development & API Integration with an AI Learning Helper

Day 6 learning content: build Figma UI into real service screens, bind server data to the screen through fetch/AJAX API integration, and handle loading, error and empty states. In this session especially, you learn AI pair programming with Codex Client Workspace: quickly making screen drafts, asking for debugging help, refactoring code and running multi-angle code quality audits.

For: students who finished high-fidelity UI/UX design
Bring: laptop, VS Code, web browser
Format: 2h theory / 3h lab / 1h sharing
πŸ“– Go to Session 6 guide

πŸš€ Day 6 Lab MVP Tasks Roadmap

Go to full Task board β†’
TASK 1
AI Agent Task 1

Task 1. Make a Screen Draft Fast

Build working responsive dashboard screen draft code from the requirements spec.

Enter lab
TASK 2
AI Agent Task 2

Task 2. Error-Fixing Helper

Learn to find the exact line of async binding errors like TypeError and how to guard against them.

Enter lab
TASK 3
AI Agent Task 3

Task 3. Improve the Code

Refactor repeated HTML handling and vague temporary variable names to fit real-world naming rules.

Enter lab
SKILL 1
Skill Task 1

Screen–API Binding

Connect Viewer/Advertiser Flow screens to the real API Contract and pass data through.

Enter lab
SKILL 2
Skill Task 2

State Management and Failure UX

Build 6 states like Loading, Empty, Validation, Timeout and Error, plus recovery interactions.

Enter lab
SKILL 3
Skill Task 3

Front-End Debugging & Refactoring

Debug console errors, global variable pollution, accessibility and performance issues, and structure the code.

Enter lab
MISSION 1
Mission 1

[Assignment] Fix Errors with AI

Get a diagnosis of CORS/JSON garbage parsing errors and write a prevention report.

Enter assignment room
MISSION 2
Mission 2

[Assignment] Get an AI Code Review

Have your code evaluated on several measures and work out the best encapsulation and readability improvements.

Enter assignment room
MISSION 3
Mission 3

[Assignment] Real-Time WebSocket Chat Binding

Connect WebSocket/REST APIs to a multi-room chat UI and build auto-reconnect UX.

Enter assignment room
MISSION 4
Mission 4

[Assignment] Fintech Dashboard FE Debugging

Debug the causes of infinite loops and global pollution in fintech dashboard code and add failure UX.

Enter assignment room

Day 6 Lecture Videos

Recommended YouTube lectures
A list of recommended YouTube lectures on the key Day 6 topics (HTML/CSS/JS building, API integration, data binding, async programming, error handling). (All are free lecture videos that allow embedding and playback.)
πŸ“š All lectures (5)
  • β–Ά
    1. Learn JavaScript - Full Course for Beginners (freeCodeCamp)
    3:26:42
  • β–Ά
    2. WEB3 - Intro to Ajax (Opentutorials)
    6:20
  • β–Ά
    3. WEB3 - Using the Ajax fetch API (Opentutorials)
    8:10
  • β–Ά
    4. JavaScript - Intro to jQuery Ajax (Opentutorials)
    7:45
  • β–Ά
    5. JavaScript DOM Manipulation – Full Course for Beginners (freeCodeCamp)
    2:15:30

Key Summary Notes

Day 6 Summary

Today's key goals

On Day 6 you build Figma UI into real service screens, bind server data to the screen through fetch/AJAX API integration, and handle loading, error and empty states.

  • Build web screens in HTML/CSS/JS: build Figma designs with semantic HTML tags and CSS styles
  • Responsive layout design: use Media Queries and Flexbox/Grid
  • Request data with the fetch API: call GET/POST APIs with fetch and async-await
  • Data Binding: apply JSON data from the server to DOM elements
  • State handling and error handling: handle the screen for loading, error and empty data states
Learning tip: ask the AI chatbot on the right questions like "How do I handle errors when calling the fetch API with async/await?" or "How do I show a JSON list from the server on an HTML page dynamically?"