rodriguezmontesinoseva / f-m1-evaluacion-intermedia-rodriguezmontesinoseva

f-m1-evaluacion-intermedia-rodriguezmontesinoseva created by GitHub Classroom
http://rodriguezmontesinoseva.github.io/f-m1-evaluacion-intermedia-rodriguezmontesinoseva/
0 stars 0 forks source link

Finish the exercise #1

Open nasivuela opened 5 years ago

nasivuela commented 5 years ago

Really cool job @rodriguezmontesinoseva !!!

Here you have some tips to improve the exercise:

Once you have these fixed try to finish the styles for the tablet.

Let me know if you have any doubts ;)

Go for it!!

rodriguezmontesinoseva commented 5 years ago

The exercise is finished. I did it again from the beginning to understand it better. I've included all the tips you give me and I've added the styles for tablet. Thanks for your corrections :)

nasivuela commented 5 years ago

@rodriguezmontesinoseva Be careful with the routes, they should be relatives, not absolutes. That will fix the errors on Github Pages.

rodriguezmontesinoseva commented 5 years ago

it's not clear to me what the relative routes are, how should I indicate them? I think the routes I have indicated in the code are relative :-/

nasivuela commented 5 years ago

Absolute routes start with a / and when you use them you are indicating that the route starts at the top of your site.

So when you write /styles/main.css on index.html, and put your page on the Github Pages domain http://beta.adalab.es/f-m1-evaluacion-intermedia-rodriguezmontesinoseva/, you are telling that the CSS is on http://beta.adalab.es/styles/main.css. You can see it clearly at the 'Network' tab of the inspector of Chrome.

Relatives routes do start without / or with ./, ../ and this way you indicate that the route is relative to the file where you are witting it.

So when you write styles/main.css on index.html, the domain doesn't matter. And you are telling that the CSS is in a folder 'styles' that is located at the same level that index.html.

rodriguezmontesinoseva commented 5 years ago

Okay, I think I got it, I'm gonna change it. Thank you Nasiba