Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

DOM Atomic 01: Show One Element

Description

You've seen this all over the Web: Some truncated text following by a link--"Show more..."--which reveals the rest of the text.

This is a simple JavaScript feature, which listens for a click event on the "Show more..." link and un-hides some element in the DOM.

We've provided starter HTML and JavaScript for you. Review those files and open index.html.

Tasks

The only task is to add code to global.js that accomplishes the following:

  • Clicking the 'Show more...' link reveals the hidden text.

Questions

Don't forget to answer the questions.