Description Learning Mode
01 Advanced CSS tricks - mind blowing!! 🀯🀯 Text / Video
02 What is HTML canvas? Check out these cool websites usinig HTML canvas! Text
03 Intro to JavaScript: What is it? we will learn about variables, math operators, strings, & array! Text
04 Build a Gameboy with HTML Canvas + JavaScript Project
05 Deploy to Github Pages! Share your website with your friends and family! Woohooooo! Text
06 Time to put everything together! Feel free to google stuff you don't know! But the key is to DO IT YOURSELF. Open an empty file and start typing and creating! Project
07 A day of reflection! Write down ✏️what you've learned so far and what you enjoy the most? Reflection πŸ’­

Day 1: Advanced CSS

Who doesn't love 3D animation!? The best part? You don't need JavaScript!

Text Video

Inspired by these amazing CSS tutorials, this is what I create: I'm sure you can create something even more AWESOME!

Demo (Click the ▢️ to see the output and code!) 3d project 02

Important Note:

  • Browser Support: Check this website to see if your browser supports backdrop-filter
  • This type of design looks slick but it doesn't provide enough color contrast ⚠️ (I'll include articles about Web Accessibility in the 'Learning Resources').
  • You might notice that when the flipping animation happens, the blurring effect is gone! According to the definition, "the backdrop-fiiler property lets you apply graphical effects to the area behind an element". The keyword is "behind an element"! When you are flipping, there is nothing behind ! Hence, you can't see the effect!

Day 2: HTML Canvas

You might be thinking: "Why are we talking about HTML again? Shouldn't we move on to JavaScript?" Well well, I really want to share it with you! Please check out those AMAZING websites below

Text Cool Websites using HTML Canvas:

Let's draw some shapes! Open your editor and copy paste the code below! Save the file as "demo.html" on your desktop, double click or drag the file to the browser.

  <!DOCTYPE html>
  <html lang="en">
      <meta charset="UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <body style="text-align:center">
      <canvas id="mycanvas" width="700" height="700"></canvas>
         let canvas = document.getElementById("mycanvas");
         let ctx = canvas.getContext("2d");
         ctx.fillStyle = "#7a7cff";
         ctx.fillRect(0, 0, canvas.width, canvas.height);
         ctx.moveTo(50, 50);
         ctx.lineTo(600, 250);
         ctx.lineTo(300, 600);
         ctx.lineWidth = 10;
         ctx.lineJoin = "round";
         ctx.fillStyle = "orange";
         ctx.arc(175, 200, 15, 0, 2 * Math.PI);
         ctx.fillStyle = "red";
         ctx.arc(250, 310, 25, 0, 2 * Math.PI);
         ctx.fillStyle = "blue";
         ctx.arc(400, 250, 20, 0, 2 * Math.PI);
         ctx.fillStyle = "green";


Woohooo how cool is that?! I hope you see a slice of pizza πŸ•! Don't worry about the syntax let canvas = document.getElementById('mycanvas') for now. You will learn more about variables, DOM methods later!

Try removing the width and height inside the <canvas> and see what happens!

Can you tell me what's the default width and height if we don't explicit set it on the canvas element?

Did you notice that there is a <script> tag inside our <body>? Yes! That's what we will learn next!

Day 3: Intro to JavaScript - (A LOT OF STUFF)

Finalllllly! πŸŽ‰ We are going to learn JavaScript - THE programming language! (Yes, HTML & CSS are not programming languages)

Text Feeling overwhelmed? This is a JavaScript Game for you!

If this is you πŸ‘‡ πŸ‘‡, don't worry! It's perfectly normal. Things will eventually make sense to you!

GIF video

Day 4: Build a Gameboy with HTML Canvas & JavaScript

After finishing today's readings, here is a JavaScript exercise for you:

Drawing shapes is not difficult, but how to draw those lines (see image below πŸ‘‡) without repeating the code over and over again?

With everything you've learned so far, can you draw a Gameboy with HTML Canvas? (Or perhaps Nintendo Switch!)

Text Demo loop practice

Day 5: Share Your Website with the World! YEAH!

Your mission of the day is to create a Github account, familiarize yourself with the site, and successfully hosting your website on Github!

You will learn more about Git commands in Week 3!


Day 6: Coding Time

Now's it's your turn to build something! Stop watching endless tutorials and reading articles. Open your VS Code and start practicing what you've learned!

But wait wait wait, I don't know what to build!

No worries! Need some inspirations?

For those who want to hone their JavaScript skills: Here are some ideas for you!

Here are 20 AWESOME examples from the course JavaScript Web Projects: 20 Projects to Build Your Portfolio

GIF video

Day 7

Tired of typing? Grab a pencil and a piece of paper and write down the things you've learned. What makes sense to you? What do you enjoy the most? Most importantly, be proud of yourself and celebrate what you've achieved!

GIF video
Next Day