The following code will produce an output as shown in Figure 1.a. The text font size is 20 px. Add more code to it to create an animation effect - the text will move from the current position to the right by 200 pixels whilst the font size will triple, as shown in Figure 1.b. The animation should complete in 10 seconds and continue to loop infinitely. Happy Day

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 21CP3
icon
Related questions
Question

1b

i) The following code will produce an output as shown in Figure 1.a. The text font size is 20 px.
Add more code to it to create an animation effect - the text will move from the current position to
the right by 200 pixels whilst the font size will triple, as shown in Figure 1.b. The animation should
complete in 10 seconds and continue to loop infinitely.
<html>
<body>
<p>Happy Day</p>
</body></html>
Happy Day
Happy Day
(b)
Figure 1
Transcribed Image Text:i) The following code will produce an output as shown in Figure 1.a. The text font size is 20 px. Add more code to it to create an animation effect - the text will move from the current position to the right by 200 pixels whilst the font size will triple, as shown in Figure 1.b. The animation should complete in 10 seconds and continue to loop infinitely. <html> <body> <p>Happy Day</p> </body></html> Happy Day Happy Day (b) Figure 1
Expert Solution
steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Knowledge Booster
Image Element
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.
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
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage