Skip to content

Twitter was a challengue to replicate Twitter's newsfeed. I used es5 to define all the logic were we need to validate the input of the user as well as Twitter does. And also I used the newDate() method to define the exact hour the user Tweet. Developed for Laboratoria

Notifications You must be signed in to change notification settings

Behtsa/twitter-version-0.0.6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter

Twitter Basic Functionality with Javascript. Replicating newsfeed section.

Description

Version 1

  • Design a form that allows you to enter a text and a button to "tweet".
  • Add a click event to the button or submit to the form.
  • In the event, get the text.
  • Add the text to HTML.

Version 2

  • Do not enter empty text (disable the "tweet" button).
  • Count the number of characters regressively.

Version 3

  • If you pass the 140 characters, disable the button.
  • If you pass the 120 characters, show the counter with OTHER color.
  • If you pass the 130 characters, show the counter with OTHER
  • If you pass the 140 characters, show the counter in negative.

Extras

  • Add the time the tweet was published. In the 24 hour format: hh: mm ..

All of this requierements were succesfully completed.


*Developed for Laboratoria

Preview

twitter

About

Twitter was a challengue to replicate Twitter's newsfeed. I used es5 to define all the logic were we need to validate the input of the user as well as Twitter does. And also I used the newDate() method to define the exact hour the user Tweet. Developed for Laboratoria

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published