Sept 29, 2017 complete
How do I make an sept 29, 2017 complete?
What is a sept 29, 2017 complete? How do you make a sept 29, 2017 complete? This script and codes were developed by Mobile Application Design-Development on 18 January 2023, Wednesday.
Sept 29, 2017 complete - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sept 29, 2017 complete</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <header> <h1>Not Sure If The Title</h1> </header> <main> <p><img src="https://memegenerator.net/img/instances/500x/13652303/squinty-eyes.jpg" class="left" alt="Fry from Futurama" />Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur consequuntur numquam quam itaque doloremque? Voluptas eaque numquam pariatur autem incidunt corporis dicta assumenda suscipit! Quia ad molestias iusto nostrum molestiae?</p> <p><a href="#">Lorem <span>ipsum</span> dolor sit amet consectetur</a>, adipisicing elit. Repellendus esse nihil ipsam obcaecati! Quod repellat laboriosam suscipit in optio maxime dolorem tempora assumenda maiores, adipisci nostrum accusamus nam sapiente soluta.</p>
</body> <script src="js/index.js"></script>
</body>
</html>
Sept 29, 2017 complete - Script Codes CSS Codes
*{ padding:0; margin:0; box-sizing:border-box;
}
html, body{ font-size: 16px; font-family: "-apple-system", "system-ui", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
header{ padding: 1rem 2rem; background-color: hsl(220, 20%, 80%); border-bottom: 1rem solid hsl(220, 20%, 40%); box-shadow: 0 2px 4px hsl(220, 10%, 10%);
}
main{ padding: 1rem 2rem;
}
h1{ font-size: 3.6rem; color: hsl(220, 20%, 40%); letter-spacing: 0.3rem; text-shadow: 2px 2px 2px hsl(220, 20%, 90%);
}
p{ padding: 1rem 0; line-height: 1.6; font-size: 1.2rem;
}
img.left{ float:left; margin: 0 1rem 1rem 0; max-height: 7rem;
}
a, a:link, a:visited{ color: hsl(220, 80%, 40%);
}
a:hover, a:focus, a:active{ color: hsl(220, 80%, 80%); text-decoration: overline;
}
a span{ font-style: italic;
}
.one{ color: white; background-color: rebeccapurple; font-weight: bold;
}
.two{ color: #bada55; outline: 1px dashed #bada55;
}
.three{ color: fuschia; outline: 1px dashed fuschia;
}
Sept 29, 2017 complete - Script Codes JS Codes
/**
Manipulating the HTML
- add a new paragraph with some text
- add TWO CSS classes to the new paragraph
- change the src for the image
- change the href for the link
- loop through all paragraphs and add style to each
**/
let m = document.querySelector("main");
let p = document.createElement("p");
p.textContent = "My new paragraph.";
m.appendChild(p);
//p.style.color = "olive";
p.classList.add("one");
p.classList.add("two");
p.classList.add("three");
p.classList.remove("two");
p.style.padding = "10rem";
for(let i=0; i<50; i++){ let para = document.createElement("p"); //para.textContent = (i + 1).toString(); let num = Math.floor(Math.random() * 3); para.textContent = num.toString(); //Math.floor rounds down ALWAYS //0, 1, or 2 // Math.ceil . rounds up switch(num){ case 0: para.classList.add("one"); break; case 1: para.classList.add("two"); break; default: para.classList.add("three"); } m.appendChild(para);
}
let img = document.querySelector("main img");
//img.src="http://fillmurray.com/300/499";
img.setAttribute("data-name", "Steve");
img.setAttribute("src", "http://fillmurray.com/300/499");
let a = document.querySelector("main a");
a.setAttribute("target", "_blank");
a.setAttribute("href", "https://www.google.ca");
let paras = document.querySelectorAll(".two");
paras[10].style.fontSize = "6rem";
let number = paras.length;
for(let i=0; i<number; i++){ paras[i].style.backgroundColor = "teal"; m.removeChild( paras[i] );
}
Developer | Mobile Application Design-Development |
Username | mad-d |
Uploaded | January 18, 2023 |
Rating | 3 |
Size | 2,972 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Mad9013 - DOM Manipulation sample | 3,113 Kb |
Cordova Cheatsheet | 2,534 Kb |
MAD9022 Refactoring Practice | 2,315 Kb |
MAD9013-Sass Equal Spaced Layout Mixin | 2,538 Kb |
Geolocation | 2,429 Kb |
SVG CSS ViewBox Demo | 2,176 Kb |
MAD9013 - Float Images with Content | 2,220 Kb |
Party Starter | 1,676 Kb |
HTML5 Canvas Intro | 1,870 Kb |
Mobile Web App Starter | 2,014 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Myprofile | SoufianeAbid | 2,451 Kb |
Template | Indra_z85 | 2,323 Kb |
Weather App | OmranAbazid | 2,596 Kb |
CSS Parent Selector | Tomhodgins | 2,143 Kb |
Tooltip in table | Roine | 3,713 Kb |
Improve | Gavra | 1,652 Kb |
Filter inputs | Rowinf | 1,721 Kb |
A form arranged using automatic placement. | Vikasford | 2,103 Kb |
Michelle, submit your photography to Unsplash. | Zaneriley | 3,368 Kb |
A Pen by Final Boss tommyb9 | FBtommyb9 | 55,354 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!