Giter VIP home page Giter VIP logo

guessing_game-1's Introduction

Programming School: Code Fellows

Lorentin Buca

guessing_game

Driver: Adam Palmer Navigator: Lorentin Buca The code has been modified together per todays assignment.

-----------------------Guessing Game built with JavaScript,HTML,CSS------------------------------ The game is about me and few things they have to guess about my favorite things. This is all done in JavaScript with some HTML and CSS included.

What is JavaScript?

JavaScript® (often shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, and is best known as the scripting language for Web pages, but it's used in many non-browser environments as well. It is a prototype-based, multi-paradigm scripting language that is dynamic, and supports object-oriented, imperative, and functional programming styles. JavaScript runs on the client side of the web, which can be used to design / program how the web pages behave on the occurance of an event. JavaScript is an easy to learn and also powerful scripting language, widely used for controlling web page behaviour.

Code example of the Guess Game: var userNumber = parseInt(prompt("What's my favorite number between 1-6")); while(userNumber !== 2) { console.log("Guess " + typeof(userNumber)); console.log("Answer " + typeof(2)); userNumber = parseInt(prompt("Guess again, not the right number.")); } if (userNumber === 2) { alert("Good guess, you finally got it!"); console.log("Good guess."); score += 1; }

alert("You answered " + score + " out 4 correct");

JOKE: How do you tell HTML from HTML5? -Try it out in Internet Explorer -Did it work? -No?? -It's HTML5

Driver: Kevin Lim Navigator: Lorentin Buca

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.