|
|
@ -27,7 +27,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="app3">
|
|
|
|
<div id="app3">
|
|
|
|
<p v-if="seen">This will be displayed if the seen data attribute of the Vue app evaluates to true</p>
|
|
|
|
<p v-if="seen">This will be displayed if the seen data attribute of the Vue app evaluates to true</p>
|
|
|
|
<button v-on:click="seen = !seen">Toggle</button>
|
|
|
|
<button class="btn" v-on:click="seen = !seen">Toggle</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="app4">
|
|
|
|
<div id="app4">
|
|
|
|
<ol>
|
|
|
|
<ol>
|
|
|
@ -38,7 +38,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="app5">
|
|
|
|
<div id="app5">
|
|
|
|
<p>{{message}}</p>
|
|
|
|
<p>{{message}}</p>
|
|
|
|
<button v-on:click="reverseMessage">Reverse</button>
|
|
|
|
<button class="btn" v-on:click="reverseMessage">Reverse</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="app6">
|
|
|
|
<div id="app6">
|
|
|
|
<p>{{message}}</p>
|
|
|
|
<p>{{message}}</p>
|
|
|
@ -49,15 +49,6 @@
|
|
|
|
<todo-item v-for="item in groceryList" v-bind:todo="item" v-bind:key="item.id"></todo-item>
|
|
|
|
<todo-item v-for="item in groceryList" v-bind:todo="item" v-bind:key="item.id"></todo-item>
|
|
|
|
</ol>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="form-wrapper">
|
|
|
|
|
|
|
|
<form action="get">
|
|
|
|
|
|
|
|
<label for="email">Email:
|
|
|
|
|
|
|
|
<input type="email" name="email" placeholder="dirp@email.com">
|
|
|
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<input type="submit" value="Sign me up">
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<legend>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<img src="http://placehold.it/320x240" alt="placeholder">
|
|
|
|
<img src="http://placehold.it/320x240" alt="placeholder">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -67,9 +58,29 @@
|
|
|
|
<li v-for="user in users">{{user.name}}</li>
|
|
|
|
<li v-for="user in users">{{user.name}}</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="app9">
|
|
|
|
|
|
|
|
<form v-on:submit.prevent="onSubmit">
|
|
|
|
|
|
|
|
<label for="first">First
|
|
|
|
|
|
|
|
<input type="text" name="first" v-model="person.first" required>
|
|
|
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="last">Last
|
|
|
|
|
|
|
|
<input type="text" name="last" v-model="person.last" required>
|
|
|
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="tel">Telephone
|
|
|
|
|
|
|
|
<input type="tel" name="tel" v-model="person.tel" v-mask="'(999) 999-9999'">
|
|
|
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="email">Email
|
|
|
|
|
|
|
|
<input type="email" name="tel" v-model="person.email">
|
|
|
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<input class="btn" type="submit" name="submit" >
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</main>
|
|
|
|
<footer></footer>
|
|
|
|
<footer></footer>
|
|
|
|
<!--<script type="application/javascript" src="js/vue.js"></script>-->
|
|
|
|
<!--<script type="application/javascript" src="js/vue.js"></script>-->
|
|
|
|
|
|
|
|
<script src="node_modules/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.js"></script>
|
|
|
|
|
|
|
|
<script src="node_modules/inputmask/dist/inputmask/inputmask.js"></script>
|
|
|
|
|
|
|
|
<script src="node_modules/vue-inputmask/dist/vue-inputmask-browser.js"></script>
|
|
|
|
<script type="application/javascript" src="js/app.js"></script>
|
|
|
|
<script type="application/javascript" src="js/app.js"></script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|