Code a JavaScript number guessing game

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • 🎓 View our courses: scrimba.com/li...
    Leanne and Michael are back! This week, they're coding a number guessing game with HTML, CSS and JavaScript.
    They'll look at:
    👾 Generating a random number from 1 to 100
    👾 Comparing the user's input with the target number
    👾 Displaying a "too high" or "too low" message
    👾 Win functionality and what happens next!
    ABOUT SCRIMBA
    Scrimba's goal is to create the best possible coding school at the lowest possible cost for students. If we succeed with this, it’ll give anyone who wants to become a software developer a realistic shot at succeeding, regardless of where they live or the size of their wallets.
    Learn more and sign up for free 👉 scrimba.com
    🌳 Scrimba’s Linktree: linktr.ee/scrimba

КОМЕНТАРІ • 7

  • @Scrimba
    @Scrimba  Рік тому +1

    Here's our finished Numbers Game - happy guessing! 😄🎲 scrimba.com/scrim/codb0412fa7d73b5e14b6e083

  • @felicityevans8612
    @felicityevans8612 Рік тому

    If you wanted to lean on the inbuilt html form validation wrap your preventDefault() in checkValidity()

  • @shifronim8950
    @shifronim8950 Рік тому

    Thank you for the Ukrainian heart 💖
    and for the lesson 🤗

  • @DmytroBotnarenko
    @DmytroBotnarenko Рік тому

    Thank you for the Ukrainian flag heart and channel logo. These small details are actually quite unexpected when you go to see something about the development and realize that you not only got to an interesting lesson, but also found yourself among people who care.