Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user