How to write a code using Javascript, we taught(span, if, script, var, function ) Create a webpage
Fantastic news! We've Found the answer you've been seeking!
Question:
How to write a code using Javascript, we taught(span, if, script, var, function )
Create a webpage Task3.html and on the webpage display:
- A button "Add emoji"
Whenever the user clicks the button "Add emoji", one more emoji will be added to the webpage:
- when user clicks "Add emoji" the first time, display one flower emoji;
- if the user clicks "Add emoji" again, display two emojis: flower and smiling face;
- if the user clicks "Add emoji" again, display three emojis: flower, smiling face and flower;
- if the user clicks "Add emoji" again, display four emojis: flower, smiling face, flower and smiling face; and the pattern keeps going like this.
Related Book For
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall
Posted Date: