SelfTeach.me/Advent of JavaScript 2021 with Solutions

  • $24

Advent of JavaScript 2021 with Solutions

24 JavaScript Challenges for the Season

Contents

Welcome!

Tips for Getting Started

Challenge #1

Challenge #1
Challenge #1 Overview
Project Files #1
Solution #1

Challenge #2

Challenge #2
Challenge #2 Overview
Project Files #2
Solution #2

Challenge #3

Challenge #3
Challenge #3 Overview
Project Files #3
Solution #3

Challenge #4

Challenge #4
Challenge #4 Overview
Project Files #4
Solution #4

Challenge #5

Challenge #5
Challenge #5 Overview
Project Files #5
Solution #5

Challenge #6

Challenge #6
Challenge #6 Overview
Project Files #6
Solution #6

Challenge #7

Challenge #7
Challenge #7 Overview
Project Files #7
Solution #7

Challenge #8

Challenge #8
Challenge #8 Overview
Project Files #8
Solution #8

Challenge #9

Challenge #9
Challenge #9 Overview
Project Files #9
Solution #9

Challenge #10

Challenge #10
Challenge #10 Overview
Project Files #10
Solution #10

Challenge #11

Challenge #11
Challenge #11 Overview
Project Files #11
Solution #11

Challenge #12

Challenge #12
Challenge #12 Overview
Project Files #12
Challenge #12

Challenge #13

Challenge #13
Challenge #13 Overview
Project Files #13
Solution #13

Challenge #14

Challenge #14
Challenge #14 Overview.mp4
Project Files #14.zip
Solution #14.mp4

Challenge #15

Challenge #15
Challenge #15 Overview.mp4
Project Files #15.zip
Challenge #15 Solution.mp4

Challenge #16

Challenge #16
Challenge #16 Overview.mp4
Project Files #16.zip
Challenge #16.mp4

Challenge #17

Challenge #17
Challenge #17 Overview.mp4
Project Files #16.zip
Challenge #17 Solution.mp4

Challenge #18

Challenge #18
Challenge #18 Overview.mp4
Starter Files #18.zip
Challenge #18 Solution.mp4
Solution #18.zip

Challenge #19

Challenge #19
Challenge #19 Overview.mp4
Starter Files #19.zip
Challenge #19.mp4
Solution #19.zip

Challenge #20

Challenge #20
Challenge #20 Overview.mp4
Starter Files #20.zip
Challenge #20 Solution.mp4
Solution #20.zip

Challenge #21

Challenge #21 Overview
Challenge #21
Starter Files #21
Solution #21
Solution Files #21

Challenge #22

Brief

In this project, we're going to create a Credit Card form.


You can use as many (or as few) tools, libraries, and frameworks as you'd like. If you're trying to learn something new, this would be a great way to push yourself.

Users should be able to:

  • When the user finishes (blur) entering a credit card number, change the credit card image to match the type of card they entered. You can add a class of `visa`, `mastercard`, `discover`, or `american` to line 16 in index.html
    • American Express cards always begin with the number 3- more specifically 34 or 37
    • Visa cards begin with the number 4.
    • Mastercards start with the number 5.
    • Discover Cards begin with the number 6.
  • When the user enters the CVV number, have the card flip over by adding a class of `flip` on line 16 in index.html

Need some support on this challenge?

Upgrade to the Solution Tier. You'll get a video explanation from James.

Getting Started

  1. To get started, download the zip file. This includes all the project assets you need to get started: HTML, CSS, images, and fonts.
  2. Take a look around. Look at the project's Figma file. This is a great way to see how the pieces and parts should look within the browser.
  3. Open the project's README.md file. It has additional information on how the project is structured.
  4. Customize your project/file architecture to your liking.
  5. Happy coding!
  6. Once you're finished, share your work using #adventofjs

Taking your Project to the Next Level

  • Use a framework like React, Vue, or Svelte. Or, if you're feeling particularly adventurous, try writing everything in Vanilla JavaScript.
  • Take a step back and try writing the HTML and CSS for this project yourself. Start with the provided Figma file. If you get stuck, consider purchasing the Advent of CSS solutions, where Amy explains exactly how to build this.
  • Add animation as the information loads, exits, and updates.
  • Add form validation
  • Show and hide the bottom summary bar.
  • Add the ability to edit an expense

FAQs

  • Can I use libraries/frameworks on these projects? 
    • Of course! We're providing the vanilla HTML and CSS, but you can use whatever tools and frameworks you'd like.
  • Oh no! I'm stuck! 
  • Can I use this project in my portfolio? 
    • Sure! But, be honest about the work that you did



Challenge #22
Challenge #22 Overview.mp4
Starter Files #22.zip
Solution Files #22.zip
Challenge #22 Solution.mp4

Challenge #23

Challenge #23
Challenge #23 Overview.mp4
Starter Files #23.zip
Challenge #23 Solution.mp4
Solution Files #23.zip

Challenge #24

Challenge #24
Challenge #24 Overview.mp4
Challenge #24 Starter Files.zip
Challenge #24 Solution.zip
Challenge #24 Solution.mp4