Giter Site home page Giter Site logo

digitalclock's Introduction

Clarusway

Project-006 : Digital Clock (JS-06)

Description

Project aims to create a digital clock.

Problem Statement

  • We are adding a new project to our portfolios. So you and your colleagues have started to work on the project.

Project Skeleton

006-Digital-Clock(folder)
|
|----readme.md         # Given to the students (Definition of the project)          
|----solution
        |----index.html  
        |----style.css   
        |----app.js

Expected Outcome

Project 006 Snapshot

Objective

Build a Digital Clock web site

At the end of the project, following topics are to be covered;

  • HTML

  • CSS

  • JS

At the end of the project, students will be able to;

  • improve coding skills within HTML & CSS & JS

  • use git commands (push, pull, commit, add etc.) and Github as Version Control System.

Steps to Solution

  • Step 1: Download or clone project repo on Github

  • Step 2: Create project folder for local public repo on your pc

  • Step 3: Create a digital clock app

Part-1 HTML Structure

- Creat structure of the HTML5
- Give name of your project (title)
- Create the main structur of the HTML

Part-2 CSS Structure

- Set a background
- Set container background color and margin
- Define others color-size-padding etc...

Part-3 JS Structure

- Create code for digital clock
  • Step 4: Push your application into your own public repo on Github

  • Step 5: Deploy your application on Github template to showcase your app within your team.

Notes

  • These methods can be used for getting information from a date object:

  • getFullYear() => Get the year as a four digit number (yyyy)

  • getMonth() => Get the month as a number (0-11)

  • getDate() => Get the day as a number (1-31)

  • getHours() => Get the hour (0-23)

  • getMinutes() => Get the minute (0-59)

  • getSeconds() => Get the second (0-59)

  • getDay() => Get the weekday as a number (0-6)

  • You can add additional functionalities to your clock.

โŒ› Happy Coding โœ

digitalclock's People

Watchers

mahmutboran avatar

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.