Include your own javascript code or file to the index.html and do the following once the page loads: • Change the font c
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Include your own javascript code or file to the index.html and do the following once the page loads: • Change the font c
Include your own javascript code or file to the index.html and do the following once the page loads: • Change the font color of all elements whose class is "changeMyColor". The new color is red. • Change all of the Images alt attribute text to 'This is an alt text for the image • In section "At Your Service", study how every column is created (html) and what each column contains. Using JS create a new element and append it to the "At Your Service" section. You can use any icon you want and the title of the column must be your name and the subtitle(content under the title) should be your student id. • If you scroll down to the "Let's Get In Touch" section you will find two input fields and a button, you need to create a function that will take values inserted into the fields and print them concatenated to each other in a div whose id is 'formMsgHere'. The function must be attached to the form button. Write a function that will be attached to the button found on the "Free Download At Start Bootstrap" section. When pressing the button, all of the images inside the page must disappear. • You need to create a new class called new MarginClass that will change the margin to any <li> to 10px. You need to write an event that whenever a mouse hovers over any <li>, the code must add the class "newMarginClass” to the <li> thus changing the margin of the <li>. This must be done using Javascript (don't use CSS :hover)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!