Content area

Abstract

The invention of Generative AI and Large Language Models has recently catalyzed "vibe coding" as a new paradigm of software development in which developers use natural language to state their intentions. However, there is currently a significant lack of empirical research comparing the fundamental behaviors of GenAI tools and their code quality. This paper presents such comparative study of GPT-40 and Gemini 2.5 Pro for front-end web development using everyday technologies HTML, CSS, and JavaScript. Using zero-shot and prompt-chaining strategies, we tasked the models to create three commonplace web applications of increasing complexity. The architecture and features of the generated code were evaluated using a mixed-method evaluation framework. The results show that GPT-40 and Gemini 2.5 Pro represent two different development paradigms; GPT-4o functions as a tool that generates minimal, concise code that follows user instructions, but in more complex tasks it sometimes generates errors and unwanted changes in the codebase. In contrast, Gemini 2.5 Pro operates as a proactive-enhancement agent that generates more complex, feature-rich code by anticipating the user's needs and adding advanced UI functionalities. Importantly, vibe coding is formally defined, explained, and compared to other AI-assisted programming approaches. The codebase created for this research is available at: https://github.com/mhorvat/vibecoding_frontend.

Details

1009240
Business indexing term
Title
A Comparative Study of Vibe Coding with ChatGPT and Gemini in Front-end Web Development
Pages
787-796
Number of pages
11
Publication year
2025
Publication date
2025
Publisher
Faculty of Organization and Informatics Varazdin
Place of publication
Varazdin
Country of publication
Croatia
ISSN
18472001
e-ISSN
18482295
Source type
Conference Paper
Language of publication
English
Document type
Conference Proceedings
ProQuest document ID
3285779079
Document URL
https://www.proquest.com/conference-papers-proceedings/comparative-study-vibe-coding-with-chatgpt-gemini/docview/3285779079/se-2?accountid=208611
Copyright
© 2025. This work is published under http://archive.ceciis.foi.hr/app/index.php/ceciis/archive (the "License"). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-12-22
Database
ProQuest One Academic