You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
930 B

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Ascii to unicode converter</title>
<link rel="stylesheet" href="https://unpkg.com/mvp.css@1.12/mvp.css" />
<style type="text/css" media="screen">
</style>
</head>
<body>
<main id="app">
<hr />
<form accept-charset="utf-8" v-on:submit.prevent="onSubmit">
<select v-model="form.font">
<option v-for="font in allFonts" :value="font">{{font}}</option>
</select>
<textarea v-model="form.text" rows="4">
</textarea>
<button type="submit">Submit</button>
<textarea rows="8" :style="{'font-family': asciiFont}" v-model="asciiTxt" ></textarea>
</form>
</main>
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
<script src="./app.js" charset="utf-8"></script>
</body>
</html>