Create another new file in your text editor and save it as Assignment3.css or make a copy of last week’s CSS file, being careful not to overwrite last week’s file.
Specific Instructions for Assignment 3:
Perform all of the following steps to complete this assignment:
1) Begin by creating a new file in your text editor and include all of the basic HTML code Or you can simply make a copy of your HTML file from last week and name the new copy UboguVictoryAssignment3.html, but be careful not to overwrite your file from last week because you will need it again.
2) Make sure you change the contents of the <title> tag to “Assignment 3” (just the words – not the quotation marks) and make sure your full name is inside of the <h1> heading, just like in your previous assignments. Also, delete the contents of the <script> tag — everything between the <!– and //–> tags, if you created your new file by making a copy of your previous file, because you will be creating a brand new page with different JavaScript code for this assignment. Save your file.
3) Upload the new file to the HTML validator to check for compliance with the HTML5 standards. Your file should pass validation. If you receive any errors or warnings, then go back through the previous steps of the assignment again until you have corrected all errors and your file passes validation.
4) Create another new file in your text editor and save it as Assignment3.css or make a copy of last week’s CSS file, being careful not to overwrite last week’s file.
5) In your CSS file, write code to set the background color of your page to #FFE6FF and write code to center the h1 element. Save your CSS file.
6) Access your webpage again in your browser and confirm that your page has a light pink background and that the heading is centered. Upload your CSS file to the CSS validator to check for compliance with the CSS standards. Your file should pass validation. If you receive any errors or warnings, debug your CSS code until you have corrected all errors and your file passes validation.
7) Open your Assignment 3 HTML file for editing. Read the requirements below very carefully and make sure you understand what is being asked for. You should review Section 5.4 of your textbook carefully to make sure you understand “for loops”.
Create a “for loop”. Create a loop counter variable called i and set i to a value of 1. The loop should repeat while i is less than or equal to 75. You should increment i by 1 at the end of each iteration through the loop.
Inside the “for loop”, test the loop counter variable i. If i divided by 5 returns a remainder, invoke a continue statement. Otherwise, use a document.write() statement to output the value of i. The only numbers that should be output are those evenly divisible by 5.
Hint: Use the modulus operator (%) to perform this task.
Another Hint: Look at Lab 5-5 for an example that is similar to this one, but make sure you revise your code to fit the exact specifications given in this assignment.
8) Add a button to your page labeled “Open New Window”. Create a JavaScript function that opens a new window when the user selects on the button and displays the following URL in the new window: https://www.upskilled.edu.au/skillstalk/archive/ke…
Hint: make sure you revise your code to fit the exact specifications given in this assignment, including the specific URL given.
9) Save your file and access it in the browser. When testing your page, if an article entitled, “Keep Ahead of the Information Technology Careers Game with These Top IT Trends for 2018” does not display in the new window, you either typed the URL incorrectly or have a coding error. Debug and fix.
10) You may add any additional HTML, CSS, or JavaScript content that you wish, to practice more of the features that you have learned about in your online textbook, as long as all of your code files still pass validation. However, do not add anything to your files that would make them invalid according to the standards. You can confirm this by making sure your files still pass validation.
11) Before submitting your assignment, validate your HTML and CSS files one last time at https://validator.w3.org/#validate_by_upload AND https://jigsaw.w3.org/css-validator/#validate_by_upload, using the “Validate by File Upload” option.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
