Skip to content

MizginYildirak/Counter-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Counter App

This is a clone Counter-App website.

  • Table of contents
  • Overview
  • Screenshot
  • Project
  • Skeleton
  • Links
  • My process
  • Built with
  • What I learned
  • Useful resources
  • Author

Overview

  • This is a simple tool for counting things and keeping truck of numbers.

SimpleCounter

Project Skeleton

|----index.html

|----style.css

|----app.js

Links

My process

  • Built with Semantic HTML5 markup

  • CSS custom properties

  • Flexbox

  • JavaScript HTML DOM

  • Google Specific Fonts

  • Mobile-first workflow

  • Styled Components - For styles

What I learned

  • I learned how to use DOM manipulation , javascript DOM manipulation, @keyframes, html elements and many more.

To see how you can add code snippets, see below:

Some JS code I'm proud of

for (let i = 0; i < btnBorder.length; i++) { btnBorder[i].addEventListener("click", function () {
for (let j = 0; j < btnBorder.length; j++) {
  if (btnBorder[j] !== this) {
    btnBorder[j].style.border = "none"
  }
}
// Change border style of clicked button
this.style.border = "2px solid #fff"

if (event.target.matches('.white-btn')) {
  settingsSection.style.color = "#141516"
  resetCounter.style.color = "#141516"
} else if (!event.target.matches('.white-btn')) {
  settingsSection.style.color = "#ced4e2"
  resetCounter.style.color = "#ced4e2"
  document.querySelector(".approve-btn").style.color = '#ced4e2'
  document.querySelector(".cancel-btn").style.color = '#ced4e2'
}
})}

Useful resources

  • W3 School This helped me for basics of website paradigm. I really liked this pattern and will use it going forward.
  • MDN This is an amazing document which helped me finally understand deep sides of web development. I'd recommend it to anyone still learning these concepts.

Original Website - https://simplecounter.app

Author Author - [Mizgin]

About

This is a clone Counter-App website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published