Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Write the HTML

Hi, i am writing in Swedish language but it is not working. second problem is my img do show in the webpage.

What can i do?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

To better assist you we will need to see a snapshot of your workspace. This will allow us to fork your workspace and have a look around. If it helps, I'm fluent in Swedish, so that shouldn't be a problem :smiley:

5 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi Turgaj! So I took a look around your workspace and have found a few issues. Let's take the pictures first. I find in your CSS rules that add an image background to your social media links. However, you haven't enclosed them in single quotes and the URL should be a string.

So where you have:

a.twitter {
  background-image: url(images/twitter.svg);
}

You should have:

a.twitter {
  background-image: url('images/twitter.svg');
}

Note the single quotes around the latter version. You will need to do this for all your social media rules that have the background pictures.

Now let's take a look at why clicking the link to your resume results in a 404. You have in two places linked that page to resume.html, but your resume currently resides in a file named CV.html. You can either change the links to CV.html, or probably easier, rename CV.html to resume.html.

As for the language, you typed:

<html language="swedish">

However, HTML uses language codes to specify the language. The code for Swedish is "sv". You will first need to revise this line to be:

<html language="sv">

But things will still not appear correctly on that page at this point and this is because you have not specified the character set to be used. You will need to put inside the <head> element this line:

<meta charset="UTF-8">

Once you do this your, ÄÖÅ and äöå will begin rendering correctly.

Hope this helps! :sparkles:

Thank u the latter works now.

But the image in resume.htlm still does not show i web page.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Ah sorry, yes! I forgot to mention that one in my Pictures section. Your <img> line there has a few typos which are causing it to not render. You typed:

<img scr="https://placeimg.com/200/200/tech" allt="Turgaj Ragimov web disigner">

The first typo is in scr this should be src. The src attribute stands for "source". Secondly, you have typed "allt", which means something in Swedish but nothing in English. That should be "alt" which is short for "alternate text". This does not affect the image loading, but note that you have also misspelled "designer" as "disigner". So when I correct this line, it looks like this:

<img src="https://placeimg.com/200/200/tech" alt="Turgaj Ragimov web designer">

Other than a few typos, you're doing terrific! :sparkles:

I hope it is right. Thank u

Okay, very kind of you.

Tack så mycket/ thank you