Skip to content

FEWD Week #4 Project: Relaxr | jQuery #3

@celestelayne

Description

@celestelayne

FEWD Week #4 Project: Relaxr | jQuery


Description

The team from Relaxr is back...again! They want their page to be more interactive and asked you to add JavaScript to their source code. You've been given the HTML and CSS but will need to create a JavaScript file and add a few different pieces of interactivity: Users should be able to click a link and have the remainder of the blog's content slide down and appear on the page, both on the main content column and the side bar; users should also be able hide the content when they are finished reading. See a detailed technical explanation below.

Student: Rita Troyer

Project URL: http://rtroyer.github.io/FEWD40/relaxr-js/

Technical Requirements Does Not Meet Expectations (0) Meets Expectations (1) Exceeds Expectations (2)
Use in-line-block or floats in your CSS to achieve a two-column layout- Prevent a form submission with the event.preventDefault() function X
Use the $.ready() handler to delay your code from executing until all DOM assets have been loaded X
Select the appropriate DOM elements with CSS selectors upon a user's click using the $.click() handler X
Have the text in the ````tag slide down along with a "Read Less" link in the blog post using,$.slideDown()and`$.show()``` X
Hide the "Read More" link using $.hide() X
Have the ````slide up and hide the "Read Less" link using,$.slideUp()and`$.hide()``` X
Show the "Read More" link using $.show() X
Using the same functions as above, if a user clicks the "Learn More" link in the sidebar, have the inside that slide down and hide the "Learn More" link using $.slideDown() and $.hide() X

TOTAL: Meets Expectations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions