Question: I need some Javascript help. I'm trying to make my Show More button a clickable item, but my assignment doesn't allow any changes to apply

I need some Javascript help.

I'm trying to make my Show More button a clickable item, but my assignment doesn't allow any changes to apply to any CSS or HTML. I'm simply supposed to add Javascript that will make the div underneath the

tag inside of the

tag become visible after someone clicks on the Show More tag. I also need "Show More" to change to Show Less when it is clicked. Please help and PLEASE REMEMBER I CANNOT CHANGE THE CSS NOR THE HTML IN THIS!!!

The exact directions are :

Follow these steps to develop the jQuery statements to create the application.

1. The HTML and CSS code is given to you. Do not change it.

2. The user clicks Show More and information is displayed. The text changes to Show Less.

3. The user clicks Show Less and information disappears. The text changes to Show More.

4. You will call a function that executes the code for #2 and #3 when the user clicks on the.

You may NOT add additional HTML or CSS unless the CSS is purely for formatting.

Here is source code:

JSJQ Assignment 5

Vitamins and Supplements Depot

Curcumin 95 - $20.99

I need some Javascript help. I'm trying to make my Show More
  • Curcumin 95 protects against oxidative damage
  • Delivers 95% curcuminoids
  • 500 mg per capsule
  • 120 veg capsules
  • Not genetically modified
  • Vegan
  • Gluten free

Show More...

Other Ingredients: Cellulose, magnesium stearate (vegetable source) and silicon dioxide. Capsule consists of hydroxypropylmethylcellulose.

Usage: Take 1 capsule per day with food or as directed by your qualified healthcare professional

Note: If you have a medical condition, are pregnant, lactating, trying to conceive, under the age of 18, or taking medications, consult your healthcare professional before using this product.

Copyright© Vitamins and Supplements Depot

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!