All challenges

AI NATIVE / LEVEL 0 / PASS

Make a page react to a button

Connect the button to a counter. You can ask AI for code, but click the button yourself to check the result.

Download starter files

Tasks

  1. Increase the count by 1 when the button is clicked.
  2. Reset the count to 0 when the page is reloaded.
  3. Document how to run it in README.

Pass criteria

  • One click displays 1 and two clicks display 2.
  • Reloading resets the count to 0.
  • The page works without browser errors.

You can ask AI like this

“Help me make this button increase the count by 1. Explain how the changes work together.”

Tool use is not graded. We check index.html, README.md, and local .js files at your submitted commit. Use the supplied starter format and create your own repository.

Submit your finished commit

Enter a public GitHub repository URL and a 40-character commit hash. We check that commit in an isolated environment. Infrastructure failures go to an operator for review.

Starting a timed challenge or submitting an introductory task costs 5P. Resuming an attempt and system regrading are free.

문의하기

서비스명: 포트포올
문의는 운영자에게 이메일로 전송됩니다.

이메일과 문의 내용은 답변을 위해 운영자 및 메일 발송 서비스로 전송됩니다. 비밀번호·결제정보·민감한 개인정보는 입력하지 마세요.