Code Monkey home page Code Monkey logo

advanced-css-course's Introduction

Course Material and FAQ for my Advanced CSS Course

This repo contains starter files and the finished project files for all the projects contained in the course.

Use starter code to start each section, and final code to compare it with your own code whenever something doesn't work!

Plus, I made all the course slides available for download, to make it easier to follow along the theory lectures.

๐Ÿ‘‡ Please read the following Frequently Asked Questions (FAQ) carefully before starting the course ๐Ÿ‘‡

FAQ

Q1: How do I download the files?

A: If you're new to GitHub and just want to download the entire code, hit the green button saying "Code", and then choose the "Download ZIP" option.

Q2: One of the NPM packages is not working (compiling Sass, live-reload, etc). How to fix it?

Unfortunately, this is quite common. I listed some possible fixes in this document.

Q3: I'm stuck in one of the projects. Where do I get help?

A: Have you actually tried to fix the problem on your own? Have you compared your code to the final code? If you failed fixing your problem, please post a detailed description of the problem to the Q&A area of that video over at Udemy, along with a codepen containing your code. You will get help there. Please don't send me a personal message or email to fix coding problems.

Q4: You keep mentioning your resources page. Where can I find it?

A: It's on my website at http://codingheroes.io/resources. You can subscribe for updates ๐Ÿ˜‰

Q5: What VSCode theme are you using?

A: I use Oceanic Next (dimmed bg) for all my coding and course production. Here is my complete VSCode setup.

Q6: You use codepens in some of the lectures. Where can I find them?

A: They are all available on my public codepen profile. The ones you're looking for might be buried under some newer ones.

Q7: Can I see a final version of the course projects?

A: Sure, I have an online version of all three. Here they are: Natours (advanced CSS, Sass and responsive design), Trillo (flexbox) and Nexter (CSS Grid).

Q8: Videos don't load, can you fix it?

A: Unfortunately, there is nothing I can do about it. The course is hosted on Udemy, and sometimes they have technical issues like this. Please just come back a bit later or contact their support team.

Q9: Videos are blurred / have low quality, can you fix it?

A: Please open video settings and change the quality from 'Auto' to another value, for example 720p. If that doesn't help, please contact the Udemy support team.

Q10: Are the videos downloadable?

A: Yes! I made all videos downloadable from Udemy so you can learn even without an internet connection. To download a video, use the settings icon in the right bottom corner of the video player. Videos have to be downloaded individually.

Q11: I want to put these projects in my portfolio. Is that allowed?

A: Absolutely! Just make sure you actually built them yourself by following the course, and that you understand what you did. What is not allowed is that you create your own course/videos/articles based on this course's content!

Q12: I love your courses and want to get updates on new courses. How?

A: First, you can subscribe to my email list at my website. Plus, I make important announcements on twitter @jonasschmedtman, so you should definitely follow me there ๐Ÿ”ฅ

Q13: How do I get my certificate of completion?

A: A certificate of completion is provided by Udemy after you complete 100% of the course. After completing the course, just click on the "Your progress" indicator in the top right-hand corner of the course page. If you want to change your name on the certificate, please contact the Udemy support team.

Q13: Do you accept pull requests?

A: No, for the simple reason that I want this repository to contain the exact same code that is shown in the videos. However, please feel free to add an issue if you found one.

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

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" } }

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?

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;
  
  }

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$ `

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

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.

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.

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

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!

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

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.

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).

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

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?

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" }

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"
}

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.

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!

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.

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

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;
}

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.