Giter Site home page Giter Site logo

polyglot_js's Introduction

HG_LOGO

Polyglot JS: Hacker Card

Hey hackers! It’s time for you to implement what you’ve learned during the workshop. In this assignment you’ll use the basics of variable declaration, function declaration and implementation and DOM manipulation!

You have to make all changes in main.js file, all instructions are given there

  • Just fork this repository
  • Clone it
  • Create a branch and switch to it And finally…CODE!
  • Push your changes to the forked repo
  • Submit a Pull Request

Follow these steps to get started

Installing dependencies

yarn

Setting up the repo locally 🔧

yarn dev

After running these two commands your app will start running on http://localhost:3000/

Testing the code locally 🚧

yarn test

or

(for the UI tests)

yarn test:ui

Building the code 🚀

yarn build

Essential if you want to deploy your code to GitHub Pages.


Checkpoints 🏁

  • Checkpoint 1: Compare the cards of hacker and player.

20pts

  • Checkpoint 2: Keep a track of the individual scores of the hacker and player.

20pts

  • Checkpoint 3: Deploy the code to GitHub Pages.

10pts

  • Extras: You can improve UI of the game ;)

No points will be assigned to this checkpoint it is just for fun!


We need you to deploy your repo to GitHub Pages. Follow this blog post for the same.

We’ve already set up a skeleton using HTML and CSS for you. Just follow the instructions given as comments and bring the skeleton to life!

For any queries, contact us:

PS: You can make changes to the HTML and CSS to enhance your application but it will not add up to your overall grades for the assignment.


Example of Deployed site

https://ankur12-1610.github.io/Polyglot_JS/


How should it work?

Here is the live example of it

hacker-card.mp4

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.