ishantbhurani / word-count

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Word Count

This is my submission to Scrimba's #WeeklyWebDevChallenge:Word Count

Table of contents

Overview

Screenshots

Word count preview

Word count tablet preview

Word count mobile preview

Links

Features

  • Count number of characters
  • Count number of (*valid) words
  • Count number of sentences
  • Count number of paragraphs
  • Spell check
  • Choose to count whitespace (spaces/tabs) as characters or not
  • Generate demo text
  • Copy text
  • Clear text field
  • Responsive layout

* A valid word must start with an alphabet

Run Locally

Clone the project

  git clone git@github.com:ishantbhurani/word-count.git

Go to the project directory

  cd word-count

Run index.html

  <browsername> index.html

E.g.

  firefox index.html
  google-chrome index.html

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • CSS Grid

What I learned

  • Copy text to clipboard
  • Custom event triggering
  • Regular expressions (Regex)
  • Accessibility for checkboxes

Useful resources

Author

About


Languages

Language:CSS 40.2%Language:JavaScript 35.0%Language:HTML 24.9%