Find my level
About ten short Web problems from across the course, starting in the middle. Each answer decides where the next one comes from, so they get easier or harder as you go. Solve what you can. If something is new to you, say so and move on.
There is no clock, no hints and no solutions. It changes nothing in your progress until you choose a start at the end.
Problem 1
problem.html to run
<h1>Pancakes<h1> <p>Serves 4. Takes 20 minutes.</p> <ul> <li>2 eggs</li> <li>100 g flour</li> </ul>
problem.html to run
<!-- Write your h1 and p below --> Songs I can't stop playing
problem.html to run
<h2>Gig poster</h2> <img scr="/assets/noodle/happy.svg" alt="Noodle smiling" width="120">
problem.html to run
<h2>Neon Rain</h2> <p>Read the lyrics</p>
problem.html to run
<style>
.band {
color: navy
font-size: 32px;
}
</style>
<p class="band">The Paper Planes</p>
problem.html to run
<style> /* your rule goes here */ </style> <h1>Danger zone</h1>
problem.html to run
<style>
.box {
background-color: lightblue;
}
</style>
<div class="box">I need some breathing room.</div>
problem.html to run
<style>
.row {
border: 1px solid gray;
}
.item {
padding: 10px;
background-color: orange;
}
</style>
<div class="row">
<div class="item">A</div>
<div class="item">B</div>
<div class="item">C</div>
</div>
problem.js
console.log("3" + 4);
console.log(3 + 4);
console.log("Level " + 2 + 1);
console.log(2 + 1 + " lives");
problem.js to run
console.log("Hello");
problem.js to run
const score = 10; score = score + 5;
problem.js to run
const gamerTag = "PixelKnight";
const level = 14;
console.log("gamerTag reached level level");
problem.html
<script>
let lives = 3;
lives -= 1;
console.log("Lives: " + lives + 1);
console.log(`Lives: ${lives + 1}`);
</script>
problem.html to run
<style> </style> <div class="card"> </div>
JavaScript