{"id":21172353,"url":"https://github.com/diegoivg98/square-rgb","last_synced_at":"2026-05-03T18:34:40.231Z","repository":{"id":108706392,"uuid":"570351638","full_name":"diegoivg98/Square-RGB","owner":"diegoivg98","description":"Renderizado condicional","archived":false,"fork":false,"pushed_at":"2022-11-25T01:13:53.000Z","size":460,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T06:58:40.672Z","etag":null,"topics":["conditional-rendering","reactjs","rgb","rgb-hex"],"latest_commit_sha":null,"homepage":"https://diegoivg98.github.io/Square-RGB/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diegoivg98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-25T01:07:38.000Z","updated_at":"2022-11-25T01:17:20.000Z","dependencies_parsed_at":"2023-04-14T15:22:34.608Z","dependency_job_id":null,"html_url":"https://github.com/diegoivg98/Square-RGB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diegoivg98/Square-RGB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoivg98%2FSquare-RGB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoivg98%2FSquare-RGB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoivg98%2FSquare-RGB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoivg98%2FSquare-RGB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegoivg98","download_url":"https://codeload.github.com/diegoivg98/Square-RGB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoivg98%2FSquare-RGB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32579975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conditional-rendering","reactjs","rgb","rgb-hex"],"created_at":"2024-11-20T16:24:17.965Z","updated_at":"2026-05-03T18:34:40.219Z","avatar_url":"https://github.com/diegoivg98.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"En este ejercicio tendréis que crear un componente el cual contenga un elemento, puede ser un rectángulo, cuadrado.\n\nLas dimensiones del elemento serán de ancho 255px y de alto 255px y su color inicial tiene que ser negro.\n\nDentro del componente crearéis varios métodos de captura del ratón que harán lo siguiente para que el color del elemento cambie:\n\n- Un método para que cuando el ratón entre en el contenedor, se dará un valor aleatorio (color RGB entre 0 y 255) para cambiar el color del componente.\n\n- Un método para que cuando salga el ratón del componente se detenga por completo el cambio de color.\n\n- Por último, un método en el que cuando se pulsa dos veces en el componente, se tiene que detener el cambio de color.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegoivg98%2Fsquare-rgb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegoivg98%2Fsquare-rgb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegoivg98%2Fsquare-rgb/lists"}