how to create API key free
i create API key AI on web google AI studio but, thought i copy and paste on my code but it not working, (sorry i use language html,css,js),Can anyone familiar with HTML,js,css help me fix this error? My own code is fine; the error is due to the API key.