scrimba
Learn Svelte
Making the header
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Making the header
AboutCommentsNotes
Making the header
Expand for more info
App.svelte
run
preview
console
<script>
import Face from './Face.svelte';
import Container from './Container.svelte';
</script>

<Container>

</Container>

<!-- Challenge 2 -
1. use an if statement and settimeout to make Header appear after 1 second (1000 milliseconds)
2. inside the header, make the face+sveltelogo repeat with #each -->

<style>
div {
color: red;
}
:global(*) {
box-sizing: border-box;
}
:global(body, html) {
margin: 0;
height: 100vh;
overflow: hidden;
}
</style>
Console
/index.html
-2:17