Registration Form Step 58

Hi all. I am having an issue on the last step using an ‘a’ element selector to change the hyperlink color. What direction should I go with the syntax? It doesn’t seem like the <a href=“” will change anything, as well as trying to target (terms {}),(terms and conditions{}), or (terms-and-conditions). I’ve even looked up the element selectors on the CSS tutorial site and seem to be getting nowhere. Thanks for the replies in advance.

index.html

Registration Form

Registration Form

Please fill out this form with the required information

Enter Your First Name: Enter Your Last Name: Enter Your Email: Create a New Password: Personal Account Business Account I accept the terms and conditions Upload a profile picture: Input your age (years): How did you hear about us? Provide a bio:

styles.css

body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
color: #f5f6f7;
font-family: Tahoma;
font-size: 16px;
}

h1, p {
margin: 1em auto;
text-align: center;
}

form {
width: 60vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
padding-bottom: 2em;
}

fieldset {
border: none;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}

fieldset:last-of-type {
border-bottom: none;
}

label {
display: block;
margin: 0.5rem 0;
}

input,
textarea,
select {
margin: 10px 0 0 0;
width: 100%;
min-height: 2em;
}

input, textarea {
background-color: #0a0a23;
border: 1px solid #0a0a23;
color: #ffffff;
}

.inline {
width: unset;
margin: 0 0.5em 0 0;
vertical-align: middle;
}

input[type=“submit”] {
display: block;
width: 60%;
margin: 1em auto;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
min-width: 300px;
}

input[type=“file”] {
padding: 1px 2px;
}

Hi! the problem its you’re trying to use the content of a tag to change its css, try just selecting the tag with

a{
the style you want to apply
}

as you are working with links make sure you add text-decoration: none in order to remove the underline and the basic link style

Thanks for the help! I was definitely overthinking how to do that in regards to “calling” the link.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.