-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhealth1.blade.php
31 lines (26 loc) · 944 Bytes
/
health1.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@extends('layouts.main')
@section('content')
<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- <link href="{!! asset('css/style.css') !!}" media="all" rel="stylesheet" type="text/css"/>
<link href="{!! 'http://fonts.googleapis.com/css?family=avenir next' !!}" media="all" rel="stylesheet" type="text/css" /> -->
</head>
<body>
<script src="https://unpkg.com/vue"></script>
<div v-cloak id="quizz" class="question">
<h2>
@{{ currentQuestion.question }}
</h2>
<component :key="currentQuestion" :is="currentQuestion.type" :question="currentQuestion" v-model="currentQuestion.answer"></component>
<br>
<button class='prev' id='prev'><a href='#' @click="previous">BACK</a></button>
<button class='next' id='next'><a href='#' @click="next">NEXT</a></button>
</div>
<br>
<script type="text/javascript" src="{{ asset('js/quizz.js') }}"></script>
</body>
</html>
<br>
@endsection