About the HTML-CSS category

About the HTML-CSS category
0
#134

add-images-to-your-website/
wth is there wrong?

0 Likes

#135

Why isnt the guidance video playing?
It says error 502!

0 Likes

#136

I have changed the color of the text and i have semi colon sign but it is still saying to use semi colon sign at my style declaration, please tell me the problem?

0 Likes

#137

no se como salir de aki par continuar con el curso

0 Likes

#138

Quien me puede ayudar please

0 Likes

#139
type or paste code here
```<style>
  #btn2{
    display:none;
  }
  #btn1:focus~#btn2{
    opacity:1;
    display:inline;
  }
</style>
<div>
  <button id="btn1"  >button1</button>
  <button id="btn2">button2</button>
</div>
0 Likes

#140
type or paste code here
```those are single quotes, you should enclosed link with double quotes
try
<img src="https://bit.ly/fcc-relaxing-cat" alt="relaxing cat">
0 Likes

#141

post the code so that i can see where the problem.

0 Likes

#142

Hello guys! I have been going through the curriculum material and I enountered a problem on the third project of the Responsive Web Design Certficate. I tried to copy and paste the html and css code on two seperate files locally on my pc and connect them with these lines in the htm document.

<head>
<link rel="stylesheet" type="text/css" href="original.css">
</head>

The thing is that the page doesn’t show up like in codepen. I’m testing the example given, not my implementation. The result is this:


The yellow signs warn about “unknown property name” or “invalid property value”. Why is this happening? I kind of lost my motivation by not being sure that what I create in code pen works flawlessly…

0 Likes

#143

Hi find the HTML structure below:


<!DOCTYPE html>
<head>
<title>Page title </title>
<head>
<body>

This is my header

This is my paragraph

0 Likes

#144

I’m new to coding; I started the lessons on freecodecamp
Can you download the certificate at the end each section? I seeking to change careers and want to show potential employers that I have the skills they desire.

0 Likes

#145

Hello
I was looking for help on how to change the background color to blue.
Thank you
Nelson

Bootstrap Example
0 Likes

#146

Hello
I was looking for help on changing the backgroi=und color to blue.
Thank you
Nelson

Bootstrap Example

Basic Navbar Example

A navigation bar is a navigation header that is placed at the top of the page.

The navbar-expand-xl|lg|md|sm class determines when the navbar should stack vertically (on extra large, large, medium or small screens).

0 Likes

#147

hi im new to coding,right now im working on product landing page and i have a problem with #12" When I click the #submit element, the email is submitted to a static page (use this mock URL: ------) that confirms the email address was entered (and that it posted successfully)." this is what i have and cant make it work,can i ask for help with this?

0 Likes

#148

this is what i have for the code with submit element`
<input type=“email” name="email"required placeholder="Enter your email address"id=“email”
action=“https://…/email-submit”><input type=“submit” id=“submit” value="submit"name=“submit”>

` thanks in advance
0 Likes

#149

Use the image tag:

After src=, you add the link to the image, wrapped with quotation marks of course. “Link”.

Remember that the image tag is one of those HTML elements that are self-closing, so you don’t need a separate closing tag. You can also use the width and height attributes to control what size the image will display. For example, in the image I used above, if you wanted to let it display as 640px in width by 480px in height, you would do the following:

alt=“Forest picture.” width=“640” height=“480”>

The width and height attributes defines the image using pixels by default, so you don’t need to write “640px”. It’s a good idea to set a width and height to any image you use on your website, otherwise the image may flicker when the page loads.

In HTML5, though, it’s recommended that you use the “style” attribute when setting a width and height for the image. So, instead of the above, you will use:

alt=“Forest picture.” style=“width:640px;height:480px”>

As you may have noticed, when using the “style” attribute, you now have to add the “px”. A benefit of using the style attribute is that it prevents the style sheets from changing the size of the image.

0 Likes

#150

You will need to correct the link. You’ve written “” after the link. Remove that.

0 Likes

#151

You need to add the tag to your code. That’s what’s missing. Before your first

tag, which is on line #2, under your

tag, add . Then, at the end of your code under the final closing tag, add . The main tag needs to have a closing tag. This is what they mean by wrapping up your

tags in the tag.

0 Likes

#152

Tank u QuincyLarson in this still have good peolpe like u!!

0 Likes

#153

I tried everything that I could think of, stared at the code for a while, searched google, and tried some more. Could someone please offer a little advice?

<style>
  :root {
    --red-color: red;
    background-color: #FF0000;        
  }
  .red-box {        
    background: var(--red-color);
    height: 200px;
    width:200px;
  }
</style>
<div class="red-box"></div>

0 Likes