Daily Code
@daily_coding3
Followers
8
Following
18
Media
9
Statuses
17
Software development student eager to learn and improve everyday
Argentina
Joined November 2022
📌 Today I will start the #100DaysOfCode I hope you can help and guide me on this long road. I will document everything in English and Spanish 📌 Hoy iniciaré el #100DaysOfCode espero puedan ayudarme y guiarme en este largo camino. Voy a documentar todo en inglés y español.
1
0
1
These are some of the many functions I had to create. Overall, this game is a simple implementation of a turn-based combat system using JavaScript and HTML. I got this videogame from a course by @platzi
0
0
0
selectPlayer: This function is called when the player selects a mascot. It updates the UI to show the player's mascot and then calls selectPlayerEnemy to randomly select an enemy mascot. selectPlayerEnemy: This function randomly selects an enemy and updates the UI to show it.
1
0
0
startGame: This function is called when the page loads. It sets up event listeners for the buttons and hides certain sections of the HTML that aren't needed at the beginning of the game.
1
0
0
The game is implemented using JavaScript and HTML, and it uses the DOM to update the UI dynamically. The game code consists of several functions:
1
0
0
📌Day 5 to 9 of #100DaysOfCode 💬Create a simple game in which the player chooses a pet and attacks the enemy with one of three attack types: fire, water or earth. The enemy responds with a random attack. The winner is the first to reduce the other's lives to zero. Continue 👇
1
2
2
With this I created an algorithm to play rock paper scissors against the machine. First I have to choose an option that will appear on the screen and then the PC will take a random option and finally the algorithm will tell us if we have won, tied or lost.
1
0
1
📌Day 3/4 of #100DaysOfCode 💬Today I researched randomness in JS and discovered the Math method, researched functions and created my first function. I also looked at the PROPM function and remembered conditionals. Continue 👇
1
2
11
I want to dig a little deeper so I can style my calculator and future projects. Here are the links that helped me. 📌 https://t.co/pcAhLZ5dtN 📌 https://t.co/L0zFAaxhZc
0
0
1
I could see several things like the types of selectors, fonts, border, units of measure, background, box model, margin, padding, overflow, out-line, text-align, text-decoration, text-shadow, display, max-width and position, float, inline-block and finally ✨how to center a div.✨
1
0
0
📌Day 2 of #100DaysOfCode 💬I never understood nor was interested CSS but today I did some research about it, I found a video from @_nasch_ that together with the Mozilla documentation helped me to understand the basics and to get interested in this design language. Continue 👇
1
1
2
📌Day 1 of #100DaysOfCode 💬 I decided to make a simple calculator with HTML5 and JS. Because I have basic knowledge about HTML it was not very complicated but I had to do a search about BUTTONS. About JS I have almost no knowledge but I discovered the ONCLICK function.
1
2
6