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

Save Automatically?

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

              
                html
	body
		.div
			h2 ÇÅM ÑĒ₩TØÑ FØÑT
			textarea#input(placeholder="input", rows="5")
			textarea#output(readonly="readonly", placeholder="ØŪT₽ŪT", rows="5")
			br
			button 

              
            
!

CSS

              
                $bg: #101820
$bc: #0085CA
$bt: #BFC0BF
html, body
	height: 100%
	margin: 0
body
	display: flex
	justify-content: center
	align-items: center
	text-align: center
	text-shadow: 1px 2px $bc
	color: white
	.div
		padding: 40px
		border-radius: 10px
		background: $bg
		box-shadow: 10px 10px $bc
		textarea
			margin: 5px
			resize: none
			padding: 5px
			font-size: 20px
			border-radius: 10px
			box-shadow: 10px 10px $bc
			&:focus
				outline: none
		button
			border: none
			background: $bg
			margin-top: 20px
			&:focus
				outline: none
		
              
            
!

JS

              
                $(document).ready(function() 
{
	$("button").click(function()
	{
  	var text = $('#input').val()
		var arr = text.split('')
		var newton = '';
		for (var i = 0; i < text.length; i++)
		{
			newton += convert(arr[i])
		}
		function convert(str)
		{
			var temp = ''
			switch(str.toLowerCase())
			{
				case 'a': temp += 'Å'; break;
				case 'b': temp += 'ß'; break;
				case 'c': temp += 'Ç'; break;
				case 'd': temp += 'D'; break;
				case 'e': temp += 'Ē'; break;
				case 'f': temp += 'F'; break;
				case 'g': temp += 'G'; break;
				case 'h': temp += 'H'; break;
				case 'i': temp += 'Ï'; break;
				case 'j': temp += 'J'; break;
				case 'k': temp += 'K'; break;
				case 'l': temp += 'Ł'; break;
				case 'm': temp += 'M'; break;
				case 'n': temp += 'Ñ'; break;
				case 'o': temp += 'Ø'; break;
				case 'p': temp += '₽'; break;
				case 'q': temp += 'Q'; break;
				case 'r': temp += 'R'; break;
				case 's': temp += 'Š'; break;
				case 't': temp += 'T'; break;
				case 'u': temp += 'Ū'; break;
				case 'v': temp += 'V'; break;
				case 'w': temp += '₩'; break;
				case 'x': temp += 'X'; break;
				case 'y': temp += '¥'; break;
				case 'z': temp += 'Z'; break;
				default: temp += str; break;
			}
			return temp
		}
		$('#output').text(newton)
	});
	$('body').keyup(function()
	{
		$('button').trigger('click')
	})
})

              
            
!
999px

Console