Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!---Tech@JesseJessse.com---->
<script language=javascript>
  document.write(unescape('%3C%21DOCTYPE%20html%3E%0A%3Chtml%20lang%3D%22en%22%3E%0A%3Chead%3E%0A%20%20%3Cmeta%20charset%3D%22UTF-8%22%3E%0A%20%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1.0%22%3E%20%3C%21--%20Add%20viewport%20meta%20tag%20--%3E%0A%20%20%20%20%20%3Clink%20rel%3D%22icon%22%20href%3D%22/favicon.ico%22%20sizes%3D%22any%22%3E%0A%20%20%20%20%20%3Clink%20rel%3D%22apple-touch-icon%22%20href%3D%22/apple-touch-icon.png%22%3E%0A%20%20%20%20%20%20%3Clink%20rel%3D%22icon%22%20type%3D%22image/png%22%20sizes%3D%2232x32%22%20href%3D%22/public/favicon-32x32.png%22%3E%0A%20%20%20%20%20%20%3Clink%20rel%3D%22icon%22%20type%3D%22image/png%22%20sizes%3D%2216x16%22%20href%3D%22/public/favicon-16x16.png%22%3E%0A%20%20%20%20%20%20%3Clink%20rel%3D%22manifest%22%20href%3D%22/site.webmanifest%22%3E%0A%20%20%20%20%20%20%3Clink%20rel%3D%22mask-icon%22%20href%3D%22/safari-pinned-tab.svg%22%20color%3D%22%235bbad5%22%3E%0A%20%20%20%20%20%20%3Ctitle%3EMagic%20MP3%20Burner%3C/title%3E%0A%20%20%3Cstyle%3E%0A%20%20%20%20body%20%7B%0A%20%20%20%20%20%20font-family%3A%20Arial%2C%20sans-serif%3B%0A%20%20%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20%20%20margin%3A%200%3B%0A%20%20%20%20%20%20padding%3A%200%3B%0A%20%20%20%20%20%20background-color%3A%20%2387ceeb%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20.title%20%7B%0A%20%20%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20%20%20background%3A%20linear-gradient%28%0A%20%20%20%20%20%20%20%2090deg%2C%0A%20%20%20%20%20%20%20%20%23ff0000%2C%0A%20%20%20%20%20%20%20%20%23ff7f00%2C%0A%20%20%20%20%20%20%20%20%23ffff00%2C%0A%20%20%20%20%20%20%20%20%2300ff00%2C%0A%20%20%20%20%20%20%20%20%230000ff%2C%0A%20%20%20%20%20%20%20%20%234b0082%2C%0A%20%20%20%20%20%20%20%20%238a2be2%0A%20%20%20%20%20%20%29%3B%0A%20%20%20%20%20%20-webkit-background-clip%3A%20text%3B%0A%20%20%20%20%20%20-webkit-text-fill-color%3A%20transparent%3B%0A%20%20%20%20%20%20display%3A%20inline-block%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20.hidden%20%7B%0A%20%20%20%20%20%20display%3A%20none%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%23base64Textarea%20%7B%0A%20%20%20%20%20%20width%3A%2080%25%3B%0A%20%20%20%20%20%20height%3A%20200px%3B%0A%20%20%20%20%20%20margin%3A%2010px%20auto%3B%0A%20%20%20%20%20%20padding%3A%2010px%3B%0A%20%20%20%20%20%20resize%3A%20none%3B%0A%20%20%20%20%20%20background%3A%20linear-gradient%28%0A%20%20%20%20%20%20%20%2090deg%2C%0A%20%20%20%20%20%20%20%20%23ff0000%2C%0A%20%20%20%20%20%20%20%20%23ff7f00%2C%0A%20%20%20%20%20%20%20%20%23ffff00%2C%0A%20%20%20%20%20%20%20%20%2300ff00%2C%0A%20%20%20%20%20%20%20%20%230000ff%2C%0A%20%20%20%20%20%20%20%20%234b0082%2C%0A%20%20%20%20%20%20%20%20%238a2be2%0A%20%20%20%20%20%20%29%3B%0A%20%20%20%20%20%20color%3A%20black%3B%0A%20%20%20%20%20%20font-family%3A%20monospace%3B%0A%20%20%20%20%20%20border%3A%202px%20solid%20lime%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20button%20%7B%0A%20%20%20%20%20%20background-color%3A%20%23fb7efd%3B%0A%20%20%20%20%20%20color%3A%20black%3B%0A%20%20%20%20%20%20border%3A%20none%3B%0A%20%20%20%20%20%20padding%3A%2010px%2020px%3B%0A%20%20%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20%20%20margin%3A%2010px%3B%0A%20%20%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20%20%20transition%3A%20background-color%200.3s%20ease%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20button%3Ahover%20%7B%0A%20%20%20%20%20%20background-color%3A%20%23f5f5f5%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20.choose-file-btn%20%7B%0A%20%20%20%20%20%20background%3A%20linear-gradient%28%0A%20%20%20%20%20%20%20%2090deg%2C%0A%20%20%20%20%20%20%20%20%23ff0000%2C%0A%20%20%20%20%20%20%20%20%23ff7f00%2C%0A%20%20%20%20%20%20%20%20%23ffff00%2C%0A%20%20%20%20%20%20%20%20%2300ff00%2C%0A%20%20%20%20%20%20%20%20%230000ff%2C%0A%20%20%20%20%20%20%20%20%234b0082%2C%0A%20%20%20%20%20%20%20%20%238a2be2%0A%20%20%20%20%20%20%29%3B%0A%20%20%20%20%20%20color%3A%20transparent%3B%0A%20%20%20%20%20%20border%3A%20none%3B%0A%20%20%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20%20%20font-size%3A%2016px%3B%0A%20%20%20%20%20%20padding%3A%208px%2016px%3B%0A%20%20%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20%20%20transition%3A%20background-color%200.3s%20ease%3B%0A%20%20%20%20%20%20display%3A%20inline-block%3B%0A%20%20%20%20%20%20margin-top%3A%2010px%3B%0A%20%20%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20.choose-file-btn%3Ahover%20%7B%0A%20%20%20%20%20%20background-color%3A%20rgba%280%2C%200%2C%200%2C%200.1%29%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20.rotate360%20%7B%0A%20%20%20%20%20%20animation%3A%20rotate%201s%20linear%20infinite%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20@keyframes%20rotate%20%7B%0A%20%20%20%20%20%20from%20%7B%0A%20%20%20%20%20%20%20%20transform%3A%20rotate%280deg%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20to%20%7B%0A%20%20%20%20%20%20%20%20transform%3A%20rotate%28360deg%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%3C/style%3E%0A%3C/head%3E%0A%3Cbody%3E%0A%20%20%3Ch1%20class%3D%22title%22%3EMagic%20Mp3%20Burner%3C/h1%3E%3Cbr%3E%0A%20%20%3Cimg%20id%3D%22imageToRotate%22%20src%3D%22https%3A//media.dev.to/cdn-cgi/image/width%3D192%2Cheight%3D%2Cfit%3Dscale-down%2Cgravity%3Dauto%2Cformat%3Dauto/https%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Fbadge%252Fbadge_image%252F320%252FHeader_Draft-06.png%22%20height%3D%22100px%22%20width%3D%22100px%22%3E%0A%20%20%3Cbr%3E%0A%20%20%3Ch6%3E%3Ca%20style%3D%22color%3Ared%3B%20text-decoration%3A%20none%3B%22%20href%3D%22https%3A//mp3-burn.pages.dev%22%3Emp3-burn.pages.dev%3C/a%3E%3C/h6%3E%3Cbr%3E%0A%20%20%3Cinput%20class%3D%22choose-file-btn%22%20type%3D%22file%22%20id%3D%22mp3FileInput%22%20accept%3D%22.mp3%22%3E%0A%20%20%3Cbutton%20id%3D%22burnButton%22%3E%uD83D%uDCBF%3C/button%3E%0A%20%20%3Cdiv%20id%3D%22base64Content%22%20class%3D%22hidden%22%3E%0A%20%20%20%20%3Ch2%20class%3D%22sub-title%22%3Eindex.html%3C/h2%3E%0A%20%20%20%20%3Ctextarea%20id%3D%22base64Textarea%22%20readonly%3E%3C/textarea%3E%3Cbr%3E%3Cbr%3E%0A%20%20%20%20%3Cbutton%20id%3D%22copyButton%22%3ECopy%3C/button%3E%0A%20%20%20%20%3Cbutton%20id%3D%22downloadButton%22%3EDownload%3C/button%3E%0A%20%20%3C/div%3E%0A%0A%20%20%3Cscript%3E%0A%20%20%20%20document.addEventListener%28%22DOMContentLoaded%22%2C%20%28%29%20%3D%3E%20%7B%0A%20%20%20%20%20%20const%20fileInput%20%3D%20document.getElementById%28%22mp3FileInput%22%29%3B%0A%20%20%20%20%20%20const%20burnButton%20%3D%20document.getElementById%28%22burnButton%22%29%3B%0A%20%20%20%20%20%20const%20base64Content%20%3D%20document.getElementById%28%22base64Content%22%29%3B%0A%20%20%20%20%20%20const%20base64Textarea%20%3D%20document.getElementById%28%22base64Textarea%22%29%3B%0A%20%20%20%20%20%20const%20copyButton%20%3D%20document.getElementById%28%22copyButton%22%29%3B%0A%20%20%20%20%20%20const%20downloadButton%20%3D%20document.getElementById%28%22downloadButton%22%29%3B%0A%20%20%20%20%20%20const%20image%20%3D%20document.getElementById%28%22imageToRotate%22%29%3B%0A%0A%20%20%20%20%20%20burnButton.addEventListener%28%22click%22%2C%20handleUpload%29%3B%0A%20%20%20%20%20%20copyButton.addEventListener%28%22click%22%2C%20copyBase64%29%3B%0A%20%20%20%20%20%20downloadButton.addEventListener%28%22click%22%2C%20downloadIndexHtml%29%3B%0A%0A%20%20%20%20%20%20function%20handleUpload%28%29%20%7B%0A%20%20%20%20%20%20%20%20console.log%28%22Upload%20button%20clicked%22%29%3B%0A%20%20%20%20%20%20%20%20const%20file%20%3D%20fileInput.files%5B0%5D%3B%0A%20%20%20%20%20%20%20%20if%20%28%21file%20%26%26%20%21fileInput.value%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20alert%28%22Woah%21%20First%20choose%20an%20.mp3%20file%20then%20%uD83D%uDD25%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20image.classList.add%28%22rotate360%22%29%3B%0A%0A%20%20%20%20%20%20%20%20const%20reader%20%3D%20new%20FileReader%28%29%3B%0A%20%20%20%20%20%20%20%20reader.onload%20%3D%20function%20%28event%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20console.log%28%22File%20successfully%20read%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20const%20base64Data%20%3D%20event.target.result.split%28%22%2C%22%29%5B1%5D%3B%0A%20%20%20%20%20%20%20%20%20%20base64Textarea.value%20%3D%20base64Data%3B%0A%20%20%20%20%20%20%20%20%20%20base64Content.classList.remove%28%22hidden%22%29%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%7D%3B%0A%0A%20%20%20%20%20%20%20%20reader.readAsDataURL%28file%29%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20function%20copyBase64%28%29%20%7B%0A%20%20%20%20%20%20%20%20base64Textarea.select%28%29%3B%0A%20%20%20%20%20%20%20%20document.execCommand%28%22copy%22%29%3B%0A%20%20%20%20%20%20%20%20alert%28%22Code%20is%20copied%20and%20ready%22%29%3B%0A%20%20%20%20%20%20%20%20image.classList.remove%28%22rotate360%22%29%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20function%20downloadIndexHtml%28%29%20%7B%0A%20%20%20%20%20%20%20%20const%20base64Data%20%3D%20base64Textarea.value%3B%0A%20%20%20%20%20%20%20%20const%20htmlContent%20%3D%20%60%0A%20%20%20%20%20%20%20%20%20%3C%21DOCTYPE%20html%3E%0A%20%20%20%20%20%20%20%20%20%20%3Chtml%20lang%3D%22en%22%3E%0A%20%20%20%20%20%20%20%20%20%20%3Chead%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cmeta%20charset%3D%22UTF-8%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1.0%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Ctitle%3EMp3%20Player%3C/title%3E%0A%20%20%20%20%20%20%20%20%20%20%3C/head%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cbody%20style%3D%22background-color%3A%20%23f0f0f0%3B%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Ccenter%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ch2%3EMp3%20Playlist%3C/h2%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Caudio%20controls%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csource%20src%3D%22data%3Aaudio/mp3%3Bbase64%2C%24%7Bbase64Data%7D%22%20type%3D%22audio/mp3%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Your%20browser%20does%20not%20support%20the%20audio%20element.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/audio%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/center%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%21--%20Footer%20--%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20style%3D%22position%3A%20fixed%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20background-color%3A%20black%3B%20color%3A%20white%3B%20padding%3A%2010px%3B%20text-align%3A%20center%3B%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ca%20href%3D%22https%3A//mp3-burn.pages.dev%22%20style%3D%22color%3A%20white%3B%20text-decoration%3A%20none%3B%22%3Emade%20with%26nbsp%3B%26%2310084%3B%26nbsp%3BMagic%20Mp3%20Burner%26nbsp%3B%26nbsp%3B%26copy%3B2024%3C/a%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/div%3E%0A%20%20%20%20%20%20%20%20%20%20%3C/body%3E%0A%20%20%20%20%20%20%20%20%20%20%3C/html%3E%0A%20%20%20%20%20%20%20%20%60%3B%0A%0A%20%20%20%20%20%20%20%20const%20downloadLink%20%3D%20document.createElement%28%22a%22%29%3B%0A%20%20%20%20%20%20%20%20downloadLink.setAttribute%28%0A%20%20%20%20%20%20%20%20%20%20%22href%22%2C%0A%20%20%20%20%20%20%20%20%20%20%22data%3Atext/html%3Bcharset%3Dutf-8%2C%22%20+%20encodeURIComponent%28htmlContent%29%0A%20%20%20%20%20%20%20%20%29%3B%0A%20%20%20%20%20%20%20%20downloadLink.setAttribute%28%22download%22%2C%20%22index.html%22%29%3B%0A%20%20%20%20%20%20%20%20downloadLink.style.display%20%3D%20%22none%22%3B%0A%20%20%20%20%20%20%20%20document.body.appendChild%28downloadLink%29%3B%0A%20%20%20%20%20%20%20%20downloadLink.click%28%29%3B%0A%20%20%20%20%20%20%20%20document.body.removeChild%28downloadLink%29%3B%0A%20%20%20%20%20%20%20%20image.classList.remove%28%22rotate360%22%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%3C/script%3E%0A%3C/body%3E%0A%3C/html%3E%0A'))
</script>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console