GithubHelp home page GithubHelp logo

jonasschmedtmann / advanced-css-course Goto Github PK

View Code? Open in Web Editor NEW
4.5K 232.0 5.2K 73.04 MB

Starter files, final projects and FAQ for my Advanced CSS course

Home Page: https://www.udemy.com/advanced-css-and-sass/?couponCode=GITHUB4

CSS 44.55% HTML 26.53% SCSS 28.92%
css-course udemy starter-files

advanced-css-course's People

Contributors

jonasschmedtmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

advanced-css-course's Issues

Navbar items getting squished visible

when we first load the webpage or refresh the webpage we can clearly see the navbar items getting squished on the left side. How can we fix this?

syntax error

In the _form.scss, I see there is a syntax error which regarding rbga as rgba. It could be better if you correct it!

076 lesson, timestamp at 08:02 - a question relating to a negative value for the &__input margin

Hello to everyone!

Could any body explain me how an image i.e. a magnifier icon is able to overlap search form? I can't remember the detail relating to the matter. I can't recall if we used a negative value for a margin. Does it become possible once flex is used? The icon seems to be stuck to a right side of a form. Wow, it's really impressive! I wonder why Jonas didn't make emphasis on the feature.

If so... why does the icon hover over search field (above), not under?

The last question is unrelated to the matter but I'm also curious about the icon's background. What is the purpose in using a color? Can't icon's background be just transparent? I tried.... no difference.

Mising coma

Hi Jonas!

I hope your are doing great. First of all I want to thank you for your well designed course. So far I have learned a ton of awesome new stuff and I am looking forward to continue.

Like a lot of other people I ran into the same issue using the --watch flag.
After watching your video again and paying more attention it works like a charm! VSC is such a great editor. I love the build in terminal function! Comes in really handy.

But anyway, I would like to make a comment on your 2nd solution. When using the two lines of code you provided the terminal throws an error. When the two lines are separated by a coma everything is compiled well.

Best,
Jan

079 lesson at 04:50 - display: property is overridden

Can I ask a question? In the following block display is used twice. Is it correct? I've found VS Code most of the time doesn't highlight some peculiarities like display property in the video....

  &__link,
  &__visited {
    color: var(--color-grey-light-1);
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding: 1.5rem 3rem;
    
    display: flex; 
    align-items: center;
  
  }

Css Advanced Course crashed layout of all Natuors

Good morning!

Jonas, how are you?

I have a question/complain about you course of CSS.

I found a bug in your site https://natours.netlify.com/ if you reload the page all design crashed, I found this when I build tours card, if you refresh the page in tour cards the property back-face-visibility doesn`t work well, first it show back card and 2 seconds after it show front card.

In Udemy I dont find anyone fix that and have many question about this without a answer .

Could you please help us to fix that.

I attached some gif record to show the problem.

ezgif com-optimize

Sorry for my english.

Natours project issue with navigation Links

The header links or navigation bar links in the Natours project are not visible since the opacity is 0 however they can still be clicked without opening the header by clicking at the left side of the form. To fix this problem you should add the following pieces of code to the _navigation.scss:

&__link {
&:link,
&:visited {
display: inline-block;

//add this visibility visibility: hidden;

		font-size: 3rem;
		font-weight: 300;
		padding: 1rem 2rem;
		color: $color-white;
		text-decoration: none;
		text-transform: uppercase;
		background-image: linear-gradient(120deg, transparent 0%, transparent 50%, $color-white 50%);
		background-size: 230%;
		transition: all 0.4s;

		span {
			margin-right: 1.5rem;
			display: inline-block;
		}
	}

&__checkbox:checked ~ &__nav &__link {
	visibility: visible;
}

npm ERR! [email protected] compile:sass: `node-sass sass/main.scss css/style.css`

[email protected] compile:sass C:\Users\MICKEYDP\Desktop\natours
node-sass sass/main.scss css/style.css

{
"status": 1,
"file": "C:/Users/MICKEYDP/Desktop/natours/sass/main.scss",
"line": 30,
"column": 7,
"message": "Function rgb is missing argument $blue.",
"formatted": "Error: Function rgb is missing argument $blue.\n on line 30 of sass/main.scss\n>> rgb($color-primary-light, 0.8),\r\n ------^\n"
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile:sass: node-sass sass/main.scss css/style.css
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile:sass script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MICKEYDP\AppData\Roaming\npm-cache_logs\2018-10-20T14_01_32_138Z-debug.log

some bugges need's an update

hello Jonass .
iam on of ur stuidents i got the adcanced course i need to tell you that u need to updated the github version of this course files becouse it contains alot of bugges in most of the projects
like
1-Natours the navbar is hidden but i can click on the side and see it its there but hidden
2-project trillo icons gone and the margin and padding did glitch
3-project \Nexter all good :D ๐Ÿ’ƒ
hope you fix the first 2
i will include some puctures to show u
pic1
pic2

SASS Compile not working in NPM version 5.6.0

SASS Compile not working. I have followed the tutorial but it's showing multiple errors.
Here is the Command line
npm run compile:sass

It is coming up with these errors.
An output directory must be specified when compiling a directory npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] compile:sass: node-sass sass/main.scss css/style.css`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile:sass script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Jahid\AppData\Roaming\npm-cache_logs\2018-05-03T20_17_13_135Z-debug.log`

I am also attaching the scirpt package.json file.
{ "name": "ui", "version": "1.0.0", "description": "Ui for QR Code generator", "main": "index.js", "scripts": { "compile:sass": "node-sass sass/main.scss css/style.css" }, "author": "Jahid Anowar", "license": "ISC", "devDependencies": { "node-sass": "^4.9.0" } }

062 - Responsive Images in HTML - Density and Resolution

Just finished the lesson, what I can say? It seems Jonas doesn't know how it works. He sounds like - take it for granted. I've read a couple of articles, it's clear how it's expected to work though it doesn't work in the project. Even if it worked parameters and results are inconsistent. if we take as an example a lesson in which we changed properties like padding, width, height, etc - Everything was consistent and the "code" behaved as expected. With all those images.... no matter which method you implement the result is always unpredictable.
To my mind the feature with responsive images has been poorly implemented in the browser (or badly processed in Developer Tool). Provided the size of a container is less than 150 pixels there should be definitely selected an image 300px wide not 1000px!

Please add a LICENSE file

This project currently has no LICENSE file. By default the project is restricted under full Copyright, meaning students cannot make derivatives. Please consider adding an open-source license to this project.

https://choosealicense.com

Using node-sass in vscode

node-sass version: 4.9

when i installed and ran node-sass in vscode, terminal said that
{ "status": 3, "message": "File to read not found or unreadable: E:/learn/react-app1/src/index.scss", "formatted": "Internal Error: File to read not found or unreadable: E:/learn/react-app1/src/index.scss\n" }

Natours avigation link appears (invisible, but clickable) over the other elements

screen shot 2018-01-01 at 15 37 20
As you can see, the nav bar links are overlapping the other elements even with the navigation bar not enabled and they are clickable making the interation with other elements impossible if they are under the links.

I tested the published version of the Natours page available at https://natours.netlify.com/ using google chrome on macOS.

Since I haven't reached the part of the course that the navbar was developed, I won't be able to find the most elegant solution for that.

I cant see webpage in my browser when i run the command

  • When I run npm install compile:sass it loads and just gives me on my terminal only not opening in the browser

` dee@dee:~/Downloads/Natours$ npm run compile:sass

[email protected] compile:sass
node-sass sass/main.scss css/style.css

Rendering Complete, saving .css file...
Wrote CSS to /home/dee/Downloads/Natours/css/style.css
dee@dee:~/Downloads/Natours$ `

043 Building the stories section - part 2 - at 9:08 - issues with transition (scaling)

I don't think there would be a point in pasting the whole code.... though the problem appears with scaling. When I hove a mouse's cursor and the photograph begins zooming out I can see from right and left sides a thin layer of mirrored animation. It's around 1px thin.
https://radikal.ru/video/9vdeoxvqIDF
Dunno what defect saw Jonas while recording video I've already tried to apply backface-visibility: hidden; property- it didn't solve the issue. However, I remember that we've been working with float elements so another one trick we used was overflow: hidden; once I typed it after position: relative; - it work like a charm even though I don't understand why it's only me who experienced the defect.

calc function doesn't works properly

Hi,
I have come across a problem. I am now on natours sass section. I can't set the width of the columns with calc function. It shows error in chrome dev tool.
capture
capture3

Please help me.

npm install fail -> update devDependencies to latest versions fix the problem

Hi,
I tried to run Trillo project, starter version, and when I tried to run in terminal npm install it failed.
I updated the devDependencies in packages.json so the versions of the npms will be update to the latest versions and it fixed the problem. Probably an old version of at least one of the npms caused the error..

old:
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
}

new: (latest versions from npmjs.com):
"devDependencies": {
"autoprefixer": "^10.4.13",
"concat": "^1.0.3",
"node-sass": "^8.0.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0"
}

Visual Studio Code issue

Loaded your settings but bitches on your: "Oceanic Next (dimmed bg)"

Says does not exist, which I guess it does not?

Cheers
Jonathan

Book Now Popup on Smaller Screens

The Book Now popup looks quite odd on smaller screens and have to press back (android) to get out of it (no other way around leaving it).

Compile files with the command npm run compile:sass.

When I compile from the terminal, it is successful. Later, when I then open the site, this is different from the previous one. On the page I only see the sentence in the button.

I don't know where I'm wrong. Could you please help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.