---
title: "Discussion on \"Day 10 of learning JavaScript: Generate random numbers and random cards\" | Hashnode"
description: "Discussion on \"Day 10 of learning JavaScript: Generate random numbers and random cards\". Today I learned how to generate random numbers in JavaScript. I needed to know this so that when every round of Blackjack starts, the numbers are not the same but always different.\nThere are a few important things I have learned:\nMath.random() // cre..."
url: "https://hashnode.com/posts/day-10-of-learning-javascript-generate-random-numbers-and-random-cards/64a0a534f960839bf2bacc9b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Day 10 of learning JavaScript: Generate random numbers and random cards](https://svensblog.hashnode.dev/day-10-of-learning-javascript-generate-random-numbers-and-random-cards?utm_source=hashnode&utm_medium=feed)

Today I learned how to generate random numbers in JavaScript. I needed to know this so that when every round of Blackjack starts, the numbers are not the same but always different. There are a few important things I have learned: Math.random() // cre...

Jul 1, 2023 · 3 min read · svensblog.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#random-numbers](https://hashnode.com/tag/random-numbers)
-   [#app-development](https://hashnode.com/tag/app-development)
-   [#mathrandom](https://hashnode.com/tag/mathrandom)

## Written by

[Sven Willhauk](https://hashnode.com/@svenwillhauk)

@svenwillhauk · Heilbronn, Germany

  
[View profile](https://hashnode.com/@svenwillhauk)

I'm a 15 year old, who's on his journey to becoming a very good programmer. In the moment I can program in C#, HTML and CSS and I am learnin

I'm a 15 year old, who's on his journey to becoming a very good programmer. In the moment I can program in C#, HTML and CSS and I am learning JavaScript right now.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
