Skip to content
TheChatArchiveThe Chat Archive
Yiyi-34b-chat· 01.AIHugging Face Arena Human Preference 55K

There are different abstraction layers in front-end development: plain HTML, CSS,…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-instant-1’s answer.
  1. User

    There are different abstraction layers in front-end development: plain HTML, CSS, JavaScript;component libraries; design systems; CSS frameworks; HTML template frameworks; Using an ordered list, please rank these abstraction layers, at the top with the highest abstraction. Inside the list item, tell in one short sentence what this current higher level abstraction hides from the next, a lower level abstraction.

  2. Yi Assistant
    1. Design Systems - A set of principles, reusable components, and patterns used to create a coherent and consistent UI across different applications. It hides the details of individual components and provides a higher-level thematic and organizational structure.
    2. Component Libraries - A collection of pre-designed UI components that can be used to build interfaces. It hides the complexity of creating individual components from the developer.
    3. CSS Frameworks - A set of CSS files that contain pre-defined styles and layouts. It hides the low-level styling details and provides a set of standardized classes and elements.
    4. HTML Template Frameworks - Tools for generating HTML pages, often based on a layout engine. It hides the process of creating the basic HTML structure and focuses on content creation.
    5. JavaScript - A programming language that adds interactivity to the web page. It hides the behavior and responsiveness of the UI from the user.
    6. CSS - A style sheet language that describes the look and formatting of a document. It hides the presentation details from the HTML structure.
    7. HTML - The fundamental building blocks of web pages. It does not hide anything from the user since it is the lowest level of abstraction and represents the structure of the page.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.