Skip to content

This is simple contest for winning free tickets to We Are Developers!!! Make your coffee and get your ticket!!

Notifications You must be signed in to change notification settings

SmartAcademyVienna/javascript-contest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javascript-contest

This is simple contest for winning free tickets to We Are Developers by the name of SmartAcademyVienna!!! Make your coffee and get mind set to win the ticket!!

Installation

  1. Clone the project using:
$ git clone https://github.com/SmartAcademyVienna/javascript-contest.git
  1. Install all required dependencies using:
$ npm install
  1. To run the application then use:
$ npm run serve

That will open a nwe browser tab and watch your changes of code.

Requirements

There is a missing functionality in the application "Smart Academy Time Machine" which is responsible to show the time by days,hours,minuets, seconds. The function is missing just few line which are responsible to get the difference time from 6.6.2019 and the current day.

TODO are:

  • First of all, all changes should be only at src/js/index.js which has a line // YOUR CODE HERE and from that line you start your code.
  • Get total milliseconds of the time difference (between those dates of 6.6.2019 and the current date).
  • Calculate how much days are left.
  • Calculate how much hours are left.
  • Calculate how much minutes are left.
  • Calculate how much seconds are left.
  • WHEN FINISHED then send the missing parts only on the following email '[email protected]' As a smart academy instructor, i will review them my self.

When are calculated then a nice function will be called setDigit(days + hours + mins + secs); which is taking all calculated time as string then render it to the HTML.

When it's done then the final result should be like that demo bellow:

demo

HAPPY CODING!!!

About

This is simple contest for winning free tickets to We Are Developers!!! Make your coffee and get your ticket!!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published