This was a relatively painless project, but im sure the idea is i now play around with it.
it demands we give it a max-width of 100%, but i like they way 75% looks better. the image as is is just too BIG.
So i went back to the Rothko project and tried playing around with the edges, etc, but none of it is working ;(
I want to lose the border on the image entirely and have a “fade” effect.
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="tribute page" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1> Gracie Brazilian Ju Jitsu</h1>
</header>
<main id="main">
<title id="title"> Tribute Page</title>
<div class="pic"id="img-div"><img id="image" src="https://www.jiujitsubrotherhood.com/cdn/shop/articles/The_Gracies_1296x.png?v=1579526849">
<figcaption id="img-caption">Gracie Generations</figcaption></div>
<div id="tribute-info">
<h2>What is Brazilian Ju-Jitsu(BJJ)?</h2>
<p>The gracie family took Japanese Judo and Ju-Jitsu and combined them to create a fighting system focused on the ground, using leverage and techique to nullify size and strength advantages.</p>
<h3> BJJ for the World</h3>
<p> The Gracies decided to show case their art to the world by staging "the ultimate fighter" in 1992. They choose royce, the smallest Gracie, to make a point. Royce won and the world went crazy for BJJ.
<p> for more see <a target="_blank" id="tribute-link" href="https://en.wikipedia.org/wiki/Gracie_family">the Gracie Wiki</a></p>
how should it have been targeted? this is so lame, your the only one to say anything. i asked a few questions. perhaps its time to give the oden project a try.
could you help me with something else? im getting no replies.
(i) I want to remove the border from the image completely. Instead, I want a “fade out” type of effect where the picture melts into the background. I’ve tried various rules from the Rothko project and none of them are working at all and i don’t know why.
(ii) I also want to resize it. when i use max-width of 75% i like it like that, but the project wants 100% so im not sure what they want 100%?
(iii) for the header i also want to remove the rigid border, id like to actually make it like a paint brush went across the text in a wave.
(iv) I want to insert 2 smaller pictures under the subheads, but im clueless how to resize and position them.
(v) i was able to line up the heading and paragraphs ok with margin, padding but now the link on the bottom is too close and i have no idea what to do about it?
(vi) I got tripped up using “h1, h2” because of the default sizes and it seemed complicated to change. even though we have been over this over and over, what would i want to use here instead of div? legend?
(vii) a:link is not responding to color change . I read on stack overflow its because th e link has been visited and i need to clear cache? if thats the case its fine.
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="tribute page" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1> Gracie Brazilian Ju Jitsu</h1>
</header>
<main id="main">
<title id="title"> Tribute Page</title>
<div class="pic"id="img-div"><img id="image" src="https://www.jiujitsubrotherhood.com/cdn/shop/articles/The_Gracies_1296x.png?v=1579526849">
<figcaption id="img-caption">Gracie Generations</figcaption></div>
<div id="tribute-info">
<h2>What is Brazilian Ju-Jitsu(BJJ)?</h2>
<p>The gracie family took Japanese Judo and Ju-Jitsu and combined them to create a fighting system focused on the ground, using leverage and techique to nullify size and strength advantages.</p>
<h3> BJJ for the World</h3>
<p> The Gracies decided to show case their art to the world by staging "the ultimate fighter" in 1992. They choose royce, the smallest Gracie, to make a point. Royce won and the world went crazy for BJJ.
<p> for more see <a target="_blank" id="tribute-link" href="https://en.wikipedia.org/wiki/Gracie_family">the Gracie Wiki</a></p>
for you to practice you can take project into codepen or any other editor and change it however you want. and for you to pass the project, and get certification, just do whatever is required. this , I assure you, is great example of what client thinks is the best, and while it may not be so, they are paying, so you do it their way still.
(iv) I want to insert 2 smaller pictures under the subheads, but im clueless how to resize and position them.
by using class on them.
like
.img__small{height: width:}
The test only cares about you setting the max-width correctly. You can still use width to make it 75%. Also pic is not a valid selector name, it is a class so it should be .pic
What border? As for the style, are you talking about the background of the elements? You can use a background image with that texture. You might be able to find a CSS-only version with that type of texture but it seems a bit complex to create using CSS only.
I need to see the full HTML.
I need to see the full HTML.
You can change the font size as needed. You definitely shouldn’t use a div instead of a heading element, they are semantically for completely different things.
:link matches visited links, you can use :visited to style links that has been clicked.
just forget it i guess. this will be the third time code camp did not “save” it. thought i downloaded but didnt because only half of it is there. idk. next…