Files
computing-box/Export/hexadecimal/aLevelHexadecimal.html
2024-10-27 20:42:02 +00:00

2 lines
14 KiB
HTML

<!DOCTYPE html><html data-bs-theme="auto" lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"><title>Home - CS:Box</title><meta name="twitter:card" content="summary_large_image"><meta property="og:type" content="website"><meta property="og:image" content="https://csbox.mrdaviscsit.uk/assets/img/CSBoxLogo.svg">
<script>!function(){const e=()=>localStorage.getItem("theme"),t=document.documentElement.getAttribute("data-bss-forced-theme"),a=()=>{if(t)return t;const a=e();if(a)return a;const r=document.documentElement.getAttribute("data-bs-theme");return r||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")},r=e=>{"auto"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.setAttribute("data-bs-theme","dark"):document.documentElement.setAttribute("data-bs-theme",e)};r(a());const c=(e,t=!1)=>{const a=[].slice.call(document.querySelectorAll(".theme-switcher"));if(a.length){document.querySelectorAll("[data-bs-theme-value]").forEach((e=>{e.classList.remove("active"),e.setAttribute("aria-pressed","false")}));for(const t of a){const a=t.querySelector('[data-bs-theme-value="'+e+'"]');a&&(a.classList.add("active"),a.setAttribute("aria-pressed","true"))}}};window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(()=>{const t=e();"light"!==t&&"dark"!==t&&r(a())})),window.addEventListener("DOMContentLoaded",(()=>{c(a()),document.querySelectorAll("[data-bs-theme-value]").forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();const a=e.getAttribute("data-bs-theme-value");(e=>{localStorage.setItem("theme",e)})(a),r(a),c(a)}))}))}))}();</script><link rel="icon" type="image/svg+xml" sizes="500x500" href="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71"><link rel="icon" type="image/svg+xml" sizes="500x500" href="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71" media="(prefers-color-scheme: dark)"><link rel="icon" type="image/svg+xml" sizes="500x500" href="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71"><link rel="icon" type="image/svg+xml" sizes="500x500" href="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71" media="(prefers-color-scheme: dark)"><link rel="icon" type="image/svg+xml" sizes="500x500" href="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71"><link rel="icon" type="image/svg+xml" sizes="500x500" href="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71"><link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css?h=ae25e30cd2ef0f4f5b70ebf4c668048b"><link rel="stylesheet" href="/assets/css/styles.min.css?h=f8c265bbf09e013c28e20474dada317f"></head><body><!-- Start: Navbar Centered Links --><nav class="navbar navbar-expand-md sticky-top py-3 navbar-dark" id="mainNav" style="background: rgb(45, 44, 56);"><div class="container"><img src="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71" style="width: 32px;margin: 5px;"><a class="navbar-brand d-flex align-items-center" href="/"><span>CS:Box</span></a><button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-5"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="navcol-5"><ul class="navbar-nav ms-auto"><li class="nav-item"><a class="nav-link" href="https://csbox.mrdaviscsit.uk/">Home</a></li><li class="nav-item"><a class="nav-link" href="https://csbox.mrdaviscsit.uk/about.html">About</a></li><li class="nav-item"><a class="nav-link" href="https://csbox.mrdaviscsit.uk/binary.html">Binary</a></li><li class="nav-item dropdown show"><a class="dropdown-toggle nav-link" aria-expanded="true" data-bs-toggle="dropdown" data-bs-auto-close="false" href="#">Hexadecimal</a><div class="dropdown-menu show" data-bs-popper="none"><a class="dropdown-item" href="https://csbox.mrdaviscsit.uk/hexadecimal/gcseHexadecimal.html">GCSE</a><a class="dropdown-item" href="https://csbox.mrdaviscsit.uk/hexadecimal/aLevelHexadecimal.html">A Level</a></div></li><li class="nav-item"><a class="nav-link" href="https://csbox.mrdaviscsit.uk/hexColours.html">Hex Colours</a></li></ul></div></div></nav><!-- End: Navbar Centered Links --><header class="bg-dark"><!-- Start: 1 Row 2 Columns --><div class="container" style="width: 100%;margin-top: 15px;"><div class="row"><div class="col-xl-1 centred" style="width: 20%;"><div class="centred reset" style="position: relative;"><p style="font-weight: 600;color: black;text-align: center;position: absolute;top: 25%;left: 50%;-webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%);">Reset bit:box</p><div style="position: absolute;"><img class="overlay" src="/assets/img/BitBoxLogo.png?h=a50b3ddb5614299b0c00dd4f01bc402e" onclick="resetHexadecimal()" style="z-index: -1;"></div></div></div><div class="col-xl-6" style="width: 55%;"><div class="row"><div class="col-xl-12"><h1 class="simHeading">Denary</h1></div></div><div class="row"><div class="col"><h1 id="denaryNumber" class="simData">0</h1></div></div><div class="row"><div class="col-xl-12"><h1 class="simHeading">Binary</h1></div></div><div class="row"><div class="col"><h1 id="binaryNumber" class="simData">00000000000000000</h1></div></div></div><div class="col-md-6" style="width: 25%;"><div class="row"><div class="col" style="height: 56px;"></div></div><div class="row"><div class="col" style="height: 56px;"></div></div><div class="row"><div class="col"><h1 class="simHeading">Hexadecimal</h1></div></div><div class="row"><div class="col"><h1 id="hexadecimalNumber" class="simData">0000</h1></div></div></div></div></div><!-- End: 1 Row 2 Columns --></header><section><div class="container d-xl-flex justify-content-xl-center centred"><div class="table-responsive text-center d-xl-flex justify-content-xl-center"><table class="table table-borderless"><thead><tr><th class="stacked"><h1 id="blb4" class="bulbs">💡<br></h1></th><th class="stacked"><h1 id="blb3" class="bulbs">💡<br></h1></th><th class="stacked"><h1 id="blb2" class="bulbs">💡<br></h1></th><th class="stacked"><h1 id="blb1" class="bulbs">💡<br></h1></th></tr></thead><tbody><tr><td><h1 class="simColumns">4096</h1></td><td><h1 class="simColumns">256</h1></td><td><h1 class="simColumns">16</h1></td><td><h1 class="simColumns">1</h1></td></tr><tr><td class="text-center high-toggle"><button class="btn btn-primary btnActive btnUp" id="swt4up" onclick="toggleUp4096()" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"></path></svg></button></td><td class="text-center high-toggle"><button class="btn btn-primary btnActive btnUp" id="swt3up" style="margin-top: 10px;text-align: center;margin-bottom: 0px" onclick="toggleUp256()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"></path></svg></button></td><td class="text-center high-toggle"><button class="btn btn-primary btnActive btnUp" id="swt2up" style="margin-top: 10px;text-align: center;margin-bottom: 0px" onclick="toggleUp16()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"></path></svg></button></td><td class="text-center high-toggle"><button class="btn btn-primary btnActive btnUp" id="swt1up" style="margin-top: 10px;text-align: center;margin-bottom: 0px;" onclick="toggleUp1()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"></path></svg></button></td></tr><tr><td class="text-center mid-toggle"><button class="btn btn-primary btnDown" id="swt4down" type="button" onclick="toggleDown4096()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"></path></svg></button></td><td class="text-center mid-toggle"><button class="btn btn-primary btnDown" id="swt3down" type="button" style="margin-top: 0px;text-align: center;margin-bottom: 10px" onclick="toggleDown256()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"></path></svg></button></td><td class="text-center mid-toggle"><button class="btn btn-primary btnDown" id="swt2down" type="button" style="margin-top: 0px;text-align: center;margin-bottom: 10px" onclick="toggleDown16()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"></path></svg></button></td><td class="text-center mid-toggle"><button class="btn btn-primary btnDown" id="swt1down" type="button" style="margin-top: 0px;text-align: center;margin-bottom: 10px" onclick="toggleDown1()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-32 0 512 512" width="1em" height="1em" fill="currentColor"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"></path></svg></button></td></tr><tr><td class="text-center"><button class="btn btn-primary warning btnReset" id="swt4reset" type="button" onclick="resetPlace4096()">Reset</button></td><td class="text-center"><button class="btn btn-primary warning btnReset" id="swt3reset" type="button" onclick="resetPlace256()">Reset</button></td><td class="text-center"><button class="btn btn-primary warning btnReset" id="swt2reset" type="button" onclick="resetPlace16()">Reset</button></td><td class="text-center"><button class="btn btn-primary warning btnReset" id="swt1reset" type="button" onclick="resetPlace1()">Reset</button></td></tr></tbody></table></div></div></section><!-- Start: Footer Multi Column --><footer style="background: rgb(45,44,56);"><div class="container py-4 py-lg-5"><div class="row justify-content-center"><!-- Start: Services --><div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column"></div><!-- End: Services --><!-- Start: About --><div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column"></div><!-- End: About --><!-- Start: Careers --><div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column"></div><!-- End: Careers --><!-- Start: Social Icons --><div class="col-lg-3 text-center text-lg-start d-flex flex-column align-items-center order-first align-items-lg-start order-lg-last"><div class="fw-bold d-flex align-items-center mb-2"><img src="/assets/img/CSBoxLogo.svg?h=ca838acaf7f1bc97e10657f07ed63d71" style="width: 32px;margin: 5px;"><span>CS:Box</span></div><p class="text-muted">Computer Science Concept Simulators</p></div><!-- End: Social Icons --></div><hr><div class="text-muted d-flex justify-content-between align-items-center pt-3"><p class="mb-0">Copyright © 2024 CS:Box<br>Powered By ADCM Networks</p></div></div></footer><!-- End: Footer Multi Column --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script><script src="/assets/js/script.min.js?h=bd57b7ad8bbdf436038113018a231517"></script></body></html>