-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtweets.js
More file actions
32 lines (30 loc) · 1.52 KB
/
Copy pathtweets.js
File metadata and controls
32 lines (30 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//==============================================================================
// Resources
//==============================================================================
// Functions - http://www.w3schools.com/js/js_functions.asp
//==============================================================================
// #1 - String Property: countChars
//==============================================================================
// Given a string, return the number of characters in that string
function countChars(userString) {
//your code here
//don't forget to return the number of characters (use return!)
}
//==============================================================================
// #2 - String Methods: addHashtag
//==============================================================================
//Given a string, add " #yolo" to the end of that string
function addHashtag(userString) {
//your code here
//don't forget to return the number of characters (use return!)
}
//==============================================================================
//==============================================================================
// #2 - String Methods: excitedTweet
//==============================================================================
//Given a string, uppercase it and add "!!!" to the end of that string
function excitedTweet(userString) {
//your code here
//don't forget to return the number of characters (use return!)
}
//==============================================================================