calculator2 [웹 프로그래밍] 사칙연산 계산기 [웹 프로그래밍] 사칙연산 계산기 onclick="document.getElementById('result').value+='1'" /> onclick: 이벤트핸들러, 이벤트 이름 앞에 'on'을 붙임, HTML 태그의 한 속성으로 사용. document.getElementById('result'): 'result'라는 id를 가진 요소를 찾습니다. value+='1'은 value에 1을 더함 --> onclick="document.getElementById('result').value+='2'"/> onclick="document.getElementById('r.. 2024. 2. 8. #2 [AI] 1. ChatGPT가 만들어준 HTML 계산기 요즈음 ChatGPT가 커다란 이슈거리이다. 2달 만에 가입자 수가 1억명을 넘었다는 소식에 필자도 궁금하여 가입하고, 사용해 보았다. 정말 깜짝 놀랐고, 어느 면에서는 공포스럽기까지 하였다. 1. ChatGPT 홈페이지:https://openai.com/blog/chatgpt/ ChatGPT: Optimizing Language Models for DialogueWe’ve trained a model called ChatGPT which interacts in a conversational way. The dialogue format makes it possible for ChatGPT to answer followup questions, admit its mistakes, challenge incor.. 2023. 2. 13. 이전 1 다음