

JavaScript Variables assessment mad libs
Presentation
•
Other
•
University
•
Hard
Lioubov Rogalskaia
FREE Resource
4 Slides • 0 Questions
1
Mad Libs
by Lioubov Rogalskaia
2
You will be woking in groups of 2
Create a web page using HTML, JavaScript and SCC
Web page should work as online madlibs
3
Mad Libs is a phrasal template word game created by Leonard Stern and Roger Price. It consists of one player prompting others for a list of words to substitute for blanks in a story before reading aloud. The game is frequently played as a party game or as a pastime.
The game was invented in the United States, and more than 110 million copies of Mad Libs books have been sold since the series was first published in 1958.
4
Create a new page. In separate prompt boxes, prompt the user to supply his or her name and then 5 or more words. Save each item in a separate variable.
Then, using window.document.write() statements, use the information stored in variables to display a "mad libs" type of story, i.e. create a few paragraphs of information in story format. To help the user, you may want to provide descriptions of the types of words that you are looking for in each prompt box.
Feel free to use one of these text samples from internet or one of your own.
Modify your "mad libs" script so that it also prompts the user for a color and stores this color in a variable. Then, in the "mad libs" story, highlight each of the nouns, verbs, and adjectives collected from the user by setting their font color to this color and placing them in bold face type.
Mad Libs
by Lioubov Rogalskaia
Show answer
Auto Play
Slide 1 / 4
SLIDE
Similar Resources on Wayground
1 questions
Стандартные функции
Presentation
•
KG
2 questions
FAD Transform
Presentation
•
University
2 questions
AVCN 2
Presentation
•
University
2 questions
SOSIOLOGI
Presentation
•
University
3 questions
WEEK 3 DJJ40132 CHAPTER 1 & 2 SHORT QUIZ
Presentation
•
University
5 questions
Global denken lokal handeln
Presentation
•
12th Grade
1 questions
1/13/25 - WTMMTM Goldfish Response
Presentation
•
KG - University
1 questions
Untitled Lesson
Presentation
•
KG
Popular Resources on Wayground
10 questions
How much do you know about our Portrait of an Eagle?
Quiz
•
10th Grade
10 questions
Fast Food Slogans
Quiz
•
6th - 8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
Discover more resources for Other
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
10 questions
Identifying equations
Quiz
•
KG - University
16 questions
Water Modeling Activity
Presentation
•
11th Grade - University
20 questions
Logos
Quiz
•
KG - University
21 questions
Spanish-speaking Countries
Quiz
•
KG - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
21 questions
Mapa países hispanohablantes
Quiz
•
1st Grade - University