{"id":23317144,"url":"https://github.com/adnksharp/web-p-toggle-html-class","last_synced_at":"2025-07-04T19:36:19.018Z","repository":{"id":135392720,"uuid":"512807236","full_name":"adnksharp/web-P-toggle-html-class","owner":"adnksharp","description":"manejo de clases con HTML, CSS y Javascript","archived":false,"fork":false,"pushed_at":"2022-07-11T15:17:42.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"base","last_synced_at":"2024-12-20T16:20:17.633Z","etag":null,"topics":["html-css-javascript"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/adnksharp.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-07-11T15:16:18.000Z","updated_at":"2023-06-27T14:59:46.000Z","dependencies_parsed_at":"2024-07-22T09:21:23.122Z","dependency_job_id":null,"html_url":"https://github.com/adnksharp/web-P-toggle-html-class","commit_stats":null,"previous_names":["adnksharp/web-p-toggle-html-class"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fweb-P-toggle-html-class","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fweb-P-toggle-html-class/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fweb-P-toggle-html-class/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fweb-P-toggle-html-class/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adnksharp","download_url":"https://codeload.github.com/adnksharp/web-P-toggle-html-class/tar.gz/refs/heads/base","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238621852,"owners_count":19502741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["html-css-javascript"],"created_at":"2024-12-20T16:20:33.005Z","updated_at":"2025-02-13T08:28:39.636Z","avatar_url":"https://github.com/adnksharp.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uso de clases en CSS\n\n[![K-052.jpg](https://i.postimg.cc/GmxGdqPY/K-052.jpg)](https://postimg.cc/LJhnVkb6)\n\nCambiando estilos en CSS...\n\n- Un boton en HTML permite cambiar el estilo de un elemento.\n- Para esto, se utiliza el evento [**addEventListener**](https://www.w3schools.com/jsref/met_document_addeventlistener.asp) para modificar el valor de una variable y modificar la clase del elemento **body**.\n- En CSS se define el color de fondo y el color de texto para la clase ```theme-x``` correspondiente al **body** de la página.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fweb-p-toggle-html-class","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadnksharp%2Fweb-p-toggle-html-class","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fweb-p-toggle-html-class/lists"}