o You will then need another paragraph with a different unique ID assigned to

O you will then need another paragraph with a

This preview shows page 1 - 2 out of 3 pages.

o You will then need another paragraph, with a different unique ID assigned to it. This will be used to display the day of the week. Each of these elements need to have the following styling applied to them: o The body needs to have a background colour of your choice ( not white ) o The div needs to be: Centred on the page The font of the text should be changed to anything other than the default. The text within it should be centred Tip: use the link from last week s practical. A border must be added, with style, width and colour your choice. Experiment a bit with this. The width and height and of the div should be set Padding should be added JavaScript: Add JavaScript to do the following o On page load, the first paragraph must display the current date and time. This must be displayed in the first paragraph you created. Write into the paragraph element using innerHTML. Hint: use the built in Date() function to create a new date object o You must then extract the specific Day from the date in order to display which Day of the week it is:
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Spring '17

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes