Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633128 Views

Latest files of /cody/atherosai/ui/tabs-04

assets/ cody/atherosai/ui/tabs-04/assets/
7 Items
  • top-trending.svg
  • space_simulator.png
  • code_war.png
  • barbie.png
  • mechinarium.png
  • oppenheimer.jpg
  • lotr.jpeg
  • dist/ cody/atherosai/ui/tabs-04/dist/
    1 Items
  • purify.min.js
  • index_socials.html cody/atherosai/ui/tabs-04/index_socials.html
    326 Views
    0 Comments



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Tabs</title>
    style.css cody/atherosai/ui/tabs-04/style.css
    110 Views
    0 Comments


    :root {
    --white: #FFF;
    --gray: #F3F3F3;
    --background: #060D23;
    --tab-background: #383D4F;
    --gray-dark: #3e3e3e;
    index.html cody/atherosai/ui/tabs-04/index.html
    331 Views
    0 Comments

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Tabs</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    script.js cody/atherosai/ui/tabs-04/script.js
    175 Views
    0 Comments

    const allLinks = document.querySelectorAll(".tabs a");
    const allTabs = document.querySelectorAll(".tab-content")

    allLinks.forEach((elem) => {
    elem.addEventListener('click', function() {
    const linkId = elem.id;
    const hrefLinkClick = elem.href;