Giter Site home page Giter Site logo

leireriel / guess-the-number-game-js Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.11 MB

馃幃 Try to guess the secret number! JS primera evaluacion

Home Page: https://leireriel.github.io/guess-the-number-GAME-JS/

License: MIT License

JavaScript 82.08% HTML 10.82% SCSS 7.10%

guess-the-number-game-js's Introduction

Adalab

Evaluaci贸n intermedia Leire -- Adalab

f-m2-evaluacion-intermedia-leireriel

guess-the-number-game-js's People

Contributors

leireriel avatar

Stargazers

 avatar

Watchers

 avatar  avatar

guess-the-number-game-js's Issues

Improve the exercise!

Really cool job @leireriel !!!

Here you have some tips to improve the exercise:

  • Remember to convert input value string to a number
  • You are writing many times "trackEl.innerHTML = 'something';", what about making a function that accepts a string as param and paints it into 'trackEl'?
  • Use === instead of == for comparisons
  • Add HTML elements for the game: title, label and input, button, space for feedback (div, p) and number of trials
  • Use a label to define the content of the input
  • Connect the label to the input using the for attribute of the label and the id of the input
  • Inputs must have a type attribute set to a valid value (text, number, mail, button..)

Then you can improve the game as you please, here you have some ideas:

  • Add new feedback when the number is bigger than 100 or smaller than 0.
  • Manage when the user hits the button and the input is empty.
  • Make the input work when hitting enter key.
  • Add a reset button that cleans the input, the counter, writes the initial feedback and generates a new random number to play again!
  • Whatever you want!

Let me know if you have any doubts ;)

Go for it!!

AdaBot: por favor transfiere o borra este repositorio

Buenos d铆as joven Adalaber, c贸mo est谩s? Yo estoy bien!!!

Soy 馃 AdaBot 馃 y me encargo de gestionar la cuenta de Adalab en GitHub. Me acabo de dar cuenta que tengo m谩s de 2800 repositorios... muchos, demasiados, imposibles de manejar para un solo bot.

Os pido a las alumnas de anteriores promociones que por favor transfir谩is vuestros repos a tu propia usuaria de GitHub.

Si este repositorio es solo tuyo...

por favor, transfierelo a tu usuaria de GitHub entrando en las Settings, a continuaci贸n baja hasta Danger Zone y pulsa en Transfer ownership.

Si este repo es tuyo y de otras personas...

pod茅is hacer dos cosas:

  • Que una de vosotras se lo transfiera a s铆 misma y luego las compa帽eras hagan un fork.
  • Que todas hag谩is un fork y luego pod茅is borrar el repo original.

Si este repo es tuyo pero no te interesa...

b贸rralo!!!

Si transfieres o haces un fork...

recuerda que para que todo funcione bien, tendr谩s que volver a generar GitHub Pages para que se genere una nueva direcci贸n.

Si no tienes permisos...

es decir, si no tienes acceso a las settings escribe a Miguel del Mazo por Slack y 茅l te dar谩 acceso.

Si no eres alumna...

o este repo no es tuyo, ignora este issue o escr铆be a Miguel del Mazo a trav茅s de Slack para avisarle de que debe arreglarme.

Si no haces nada...

este repo se autodestuir谩 en 15 d铆as!!! No te volver茅 a avisar ni te enviar茅 un recordatorio... no me gusta molestar :(

Gracias por ayudar a tener nuestro GitHub limpio y elegante.

Refuerzo positivo :)

Este mensaje es para @leireriel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.