Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 2.28 KB

File metadata and controls

26 lines (18 loc) · 2.28 KB

Hello World warm-up

By webfansplz @webfansplz

Take the Challenge    简体中文

Hello, World!

In Vue.js Challenges, we use the Vue.js SFC Playground based on vuejs/repl to code online and provided coding judge by StackBlitz & Vitest.

For this challenge, you will need to change the following code to make the page show "Hello World" correctly.

<script setup>
import { ref } from "vue"
const msg = ref("Hello World")
</script>

<template>
  <div>
    <!-- The output of the page is expected to be Hello World -->
    <h1>msg</h1>
  </div>
</template>

Click the Take the Challenge button to start coding! Happy Hacking!


Back Share your Solutions Check out Solutions