Giter Club home page Giter Club logo

complete-javascript-course's People

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

complete-javascript-course's Issues

DOCUMENT NOT FOUND ERROR IN DOM-PIG-GAME

//this is the code that i used but it is showing error and not working and i am not able to find out the error.Can you please help me with @jonasschmedtmann
//the number of current -0 is not changing at all
var scores, roundScore, activePlayer, dice;
scores = [0, 0];
roundScore = 0;
activePlayer = 0;

dice = Math.floor(Math.random() * 6) + 1;
document.querySelector('#current-' + activePlayer).textContent = dice;

food2fork.com is going to be shut down

Hi,
It is not an issue yet, but the site food2fork.com is going to be shutted down on November 30th, 2019(Info about it here: https://www.food2fork.com). I know, you have created your own API, but the images are stored on their server, so we won't be able to access them after November 30th.

Final app.js Code not Running Properly

Hello,

There is an issue when it comes to the data structure (array) of the incomes and expenses. It is causing an error when trying to account for the length being zero. I copied your final version of code to see if it would run and it is not. Please see below for reference.

Uncaught TypeError: Cannot read property 'length' of undefined
at Object.addItem (app.js:65)
at HTMLButtonElement.ctrlAddItem (app.js:410)

Thanks,
Jeremy

console not showing the message

Hello how are you i hope all ok
for The Complete JavaScript Course 2020 Build Real Projects
the first project hello world ( consol message i did all )
but console not showing any message?
2- for add script.js it shows error message
console was used before was defined?
thanks

dependencies alerts in 9-forkify/final/package-lock.json?

Hi Jonas,

I just bought your course, and downloaded these source files. I then created my own (new) git repository, and promptly received a number of alerts from Github:

image

I haven't checked the source code yet, but maybe some dependencies need to be updated?

Thanks in advance, and I'm eager to start your course right now :-)

limiting the length of recipe title is not working as expected,

this is the limit recipe function
const limitRecipeTitle=(title ,limit=17)=>{
const newTitle=[]
if(title.length> limit){
title.split(' ').reduce((acc,cur)=>{
if(acc +cur.length<=limit){
newTitle.push(cur)
}
return acc + acc.length
},0)
console.log(newTitle)
return ${newTitle.join('')} ...
}
return title
}

this is the function call inside the markup

${(limitRecipeTitle(recipe.title))}

pig game

The code for challenges.js doesnot work. I have tried many times but I cannot solve the error. Please HELP ME!!
Untitled

forkify

hi
in project forkify API for Food2Fork don't work any more
cheers

Javascrpit

Consle is not defined errors in eslint (brackets ide)
15604258791074074830575158717181

incorrect solution assignments-js-fundamentals.pdf

The solution listed on page 10 for Lecture Strings and Template Literals is incorrect. The image shows the solution for LECTURE: Taking Decisions: if / else Statements. The correct solution is missing.

Computer crashed database

I forgot how to open the teaching part of the course. I found my script.js but can't find the teaching part. Could you please instruct me on how to reach it? I would greatly appreciate it.

Forkify App is not working properly

Good day Mr. Jonas,

I've been playing around with forkify app to see the final project we're gonna be building. Unfortunately, it's not operating as it should be. Probably because they updated their API at Food2Fork.com.

Amazing course by the way! Thanks.

download issue

hi, i have downloaded the files via zip but they wont open on vs code because they have been downloaded as firefox. when i try to download zip folder again as vscode, it wont let me. i cant open the index in starter to begin the course in vs code this way. can somebody help please? thank you!

Chapter 2, Coding Challenge 5

Hi,
In the text file you wrote $375 as second restaurant cost for Mark's family, but in the video you wrote 475 and worked with that.

Feedback

I am looking forward to more updates on your course <3

The API used on the Food Project is Dead.

Hi,
I purchased your course today 15 Dec 2019, and I see that the API food2fork that you used in one of the projects is dead and closed in November this year. So I think it is time to revise the course and use another API to pull data, so the course is up to date. as is now it is not easy to follow that project without a working API.

8-asynchronous/ Access to fetch/error 523

Probably something wrong with Metaweather API. It doesn't want to respond.
Error in a console:
'https://crossorigin.me/https://www.metaweather.com/api/location/2487956/' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

failure to load resource

I am having challenge with the first lesson.
(hello world challenge)

I have some errors when i try to run it on internet explorer .

console was used before it was defined

I am using Brackets too and when I tried to open a new script file as you showed in the video "Let's start coding" it says 'console' was used before it was defined. Please help me with that. I'm stuck on that

Cannot Open File and HTML doesn't work

Hello. I have a problem which I need help with. I am following and watching @jonasschmedtmann full javascript course and everything was nice. I downloaded the ZIP file and it works fine when I open it in files. But when I try to open it Brackets, it doesn't show the index in the file. So I manually opened it with "Open files". I followed the course and everything was okay until we typed our first line of code and then opened the index.html. It wouldn't show the code in the console. I attached some pictures for you to see.

Desktop_190925_1329
Desktop_190925_1329_1
Desktop_190925_1329_2
Desktop_190925_1330
Desktop_190925_1332

food2fork

I think the food2fork site is down, I am unable to login into the site and receive the api key to continue with the course.

Autocomplete js extension for Brackets

Hello Jonas,
I am a great fan and student of you from Pakistan. Actually, I have installed Brackets for HTML, CSS and JS. But, I am unable to enable the autocomplete option for JS. Which extension or way, you can recommend solving this issue.
Thank you.

Function renderButtons return null

In the forkify project, on final/src/js/views/searchView.js file, the function renderButtons will return null and it will be printed on the page. I think the problem it's a lack of option to not print any button in case there isn't more than one page of results.

PIG-GAME

when i load index.html from starter folder..I can not play the game as it is being played in the videos.Like the buttons are freeze on the page..
Any help is appreciated :)

Unable to do Forkify Project

Hello Jonas,

I need your help to do this project. when I am trying to install Webpack it showing me error use chokidar 3 (chokidar will break on node14 u need node v 8 ) . I upgraded it with chokidar 3 but the error didn't go and again when I try to run dev it showing me error.
I am trying to solve this problem for three days. Please help me.

Thank you.

Don't remove css outline on :focus

I understand why you removed the focus outline, it's attention grabbing and doesn't mesh well with the design of the page. You are doing your best to provide real world apps, by providing competent UI. However by removing the focus outline, this continues the bad practice of developers of removing the outline, therefore frustrating users that interact the page by the keyboard.

When a user tries to navigate the Pig Game or Forkify by using Tab on the keyboard, they will be completely lost, since there's no visual feedback.

But allowing focus outline is ugly and distracting for users that interact with a mouse. So here's a middle ground, don't allow the outline to show when clicking, but display it when focused by the keyboard. There's actually a CSS pseudo class for that, :focus-visible but it has little support and has to be enabled. That's what this javascript library, focus-visible, solves.

On every project, you provide this cdn in the html page,

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/focus-visible.min.js"></script> 

and in the css you provide the following code

/*
  This will hide the focus indicator if the element receives focus via the mouse,
  but it will still show up on keyboard focus.
*/
.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

However from a course perspective, I understand this is not a clean solution, since every starter project will have this ugly cdn script, which could break, and therefore show that pesky outline on mouse clicks again. I understand if you choose not to do this.

At the minimum, in the final Forkify project, provide the focus-visble library as package instead of a cdn, since your students already understand and are comfortable using npm packages, and briefly explain what this library solves. Even though this is a JS course, I think it would be a good exposure on being aware of web accessibility.

Query regarding bind

Its not an issue but a query

`// Lecture: Bind, call and apply

var john = {
name: 'John',
age: 26,
job: 'teacher',
presentation: function(style, timeOfDay) {
if (style === 'formal') {
console.log('Good ' + timeOfDay + ', Ladies and gentlemen! I'm ' + this.name + ', I'm a ' + this.job + ' and I'm ' + this.age + ' years old.');
} else if (style === 'friendly') {
console.log('Hey! What's up? I'm ' + this.name + ', I'm a ' + this.job + ' and I'm ' + this.age + ' years old. Have a nice ' + timeOfDay + '.');
}
}
};
var emily = {
name: 'Emily',
age: 35,
job: 'designer'
};

var johnFriendly = john.presentation.bind(john,null, ,'morning');
johnFriendly('friendly');`

Is there any way to fix the second parameter ?

Console in Internet Explorer

In first lesson getting console to show typed text, my IE browser console window does NOT
show the Hello World! from opening the file index.html:

<title>Section 2: JavaScript Language Basics</title>
<body>
    <h1>Section 2: JavaScript Language Basics</h1>
</body>

<script>
     console.log('Hello World!');
</script>

HOWEVER, If I open the file using Chrome, the Hello World! appears in the console.

Do I have to modify IE browser to show text in the Console? Why doesn't it work with IE?

Console_IE

Console_IE

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.