New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter8: Enhancing A Website With Multimedia: Working With Sound, Video, And Animation
Section: Chapter Questions
Problem 12RA
icon
Related questions
Question

Setup

Use your editor to open the ws_lincoln.html and ws_cloud.js. Enter your name and the date in the comment section of each file.

Linking JS File

Go to the ws_lincoln.html file in your editor. Link the page to the ws_cloud.css style sheet and the ws_stopwords.js and ws_cloud.js JavaScript files (in that order). Load the JavaScript files asynchronously.

Study the contents of the file. Lincoln's speech is stored in a div element with the id "speech". The word cloud text will be placed in the aside element with the id "cloud".

html----------------------------------------------------------------------

<!DOCTYPE html>
<html lang="en">
<head>
   <!--
      New Perspectives on HTML5, CSS3, and JavaScript 6th Edition
      Tutorial 13
      Case Problem 4

      Word Cloud of Lincoln's 1st Inaugural
      Author: 
      Date:   

      Filename:   ws_lincoln.html

   -->
   
   <meta charset="utf-8" />
   <meta name="viewport" content="width=device-width, initial-scale=1" />
   <title>Rhetoric in the United States Word Cloud</title>
   <link href="ws_base.css" rel="stylesheet" />
   <link href="ws_styles.css" rel="stylesheet" />
   
   
</head>


 
 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning