coursera-assignments

Html, css and javascript for web developers (by johns hopkins university).

This repository contains my solutions to the assignments of the Coursera course [“HTML, CSS, and Javascript for Web Developers” by Johns Hopkins University] (https://www.coursera.org/learn/html-css-javascript-for-web-developers)

ASSIGNMENTS

  • Assignment description
  • Deadline: March 31, 11:59 PM IST
  • Deadline: April 16, 11:59 PM IST
  • Basic Solution (without optional parts)
  • Full Solution (including optional parts)
  • Deadline: April 23, 11:59 PM IST
  • Deadline: April 30, 11:59 PM IST

Help Articles

Programming assignments, learner help center dec 5, 2022 • knowledge, article details.

Programming assignments require you to write and run a computer program to solve a problem.

Some programming assignments count toward your final course grade, while others are just for practice.

Sections of a programming assignment

Programming assignments include both assignment instructions and assignment parts.

Assignment instructions:

  • Explain the assignment.
  • May include a link to a downloadable starter package that includes starter code, detailed guidelines, and other resources.

Assignment parts:

  • Are similar to individual questions within a quiz.
  • Are each a single coding task.
  • Are each worth a certain number of points toward the overall assignment score.
  • Can be completed and submitted all at once, or one at a time.

Programming assignment grades

Programming assignments are graded automatically.

Some are graded using a built-in grading algorithm that compares your program's output to a value specified by your instructor. Others are graded using a custom grading algorithm created by your instructor.

If a programming assignment uses built-in grading:

  • Your code will run locally on your computer, and the output will be sent to Coursera's servers.
  • Your grade will be based on comparison against numeric or regular expression grading logic.
  • You'll get your grade a few seconds after submitting.

If a programming assignment uses custom grading:

  • Your code will be run on Coursera's servers.
  • Your grade will be based on custom logic provided by your instructor.
  • You'll get your grade within an hour of submitting.
  • You'll need to refresh the page to see your grade.

Submit a programming assignment

To submit a programming assignment:

  • Open the assignment page for the assignment you want to submit.
  • Read the assignment instructions and download any starter files.
  • Finish the coding tasks in your local coding environment. Check the starter files and instructions when you need to.
  • If the assignment uses script submission , submit your assignment by running the submission script in your local coding environment and entering the submission token.
  • If the assignment uses web submission , upload your files using the instructions on your screen.

Test a programming assignment

Some programming assignments let you test them before you submit them to get feedback on whether they run. You won't get grades or feedback from the instructor until you submit the assignment.

Edit or resubmit a programming assignment

You can resubmit a programming assignment if you don't pass on the first attempt or want to improve your score. You might have to wait a certain amount of time between attempts.

To resubmit a programming assignment, follow the same steps for submitting one. If your assignment uses script submission, you'll need to select the Generate new token option on the assignment page and use the new submission token.

Related Articles

  • Number of Views 47.46K
  • Number of Views 68.19K
  • Number of Views 80.35K
  • Number of Views 34.38K
  • Number of Views 41.41K

javascript coursera week 2 assignment

© 2021 Coursera Inc. All rights reserved.

javascript coursera week 2 assignment

  • Online Degree Explore Bachelor’s & Master’s degrees
  • MasterTrack™ Earn credit towards a Master’s degree
  • University Certificates Advance your career with graduate-level learning
  • Top Courses
  • Join for Free

Learner Reviews & Feedback for HTML, CSS, and Javascript for Web Developers by Johns Hopkins University

About the course, top reviews.

Aug 19, 2023

A very detailed and comprehensive course with lots of skills to acquire and knowledge to gain. I would recommend it to every person since web development is skill with lots of demand in global market.

Jun 10, 2020

Actually the best online course i hv ever learnt,especially the professor yaakov is quiet outstanding.And a field trip in a online course sounds rare and good!!Thank You Coursera and yakkov for this!!

1 - 25 of 5,648 Reviews for HTML, CSS, and Javascript for Web Developers

By Christina R

Mar 18, 2017

If you don't want to actually learn what anything means and just get walked through steps on how to do things then take this course. But if you're a beginner to HTML, CSS, and Java Script, this isn't for you. He doesn't actually TEACH you anything, he just takes you through the process. They haven't updated the course content to actually match what is on GitHub's page, so from the start you have to go into the FAQs to figure out where to go from there. It's really frustrating because he will just skip steps, and because he doesn't explain WHY he's doing something, if you miss a step, you get completely lost. I've taken a few coursera courses, and this was the most frustrating course I have taken.

May 13, 2019

Good: Instructor explains well, course is well structured, contents can be followed easily

Bad: outdated content, mainly Bootstrap 3

Week 1: Introduction to HTML. I'm not exactly new to HTML, so I kind of skipped the first week videos and did only the quizzes, which were not difficult.

Week 2: Introduction to CSS. I had no experience with CSS, so found the contents really helpful. The assignment at the end, while not difficult at all, helps to practice the contents of the week.

Week 3: I like the idea of creating a website from scratch as you can see the thought processes that goes into designing a website and can also pick up few tips and tricks on the way. That would be my main takeaway from week 3. Bootstrap is also introduced. However, the contents in this regard are outdated since the instructor uses Bootstrap 3 but as of 2019, there is Bootstrap 4. I did the assignment using Bootstrap 4 and there are definitely differences between the two versions. Nevertheless, it is not that bad, since it is possible to find the required information from the Bootstrap documents, w3schools, stackoverflow etc.

Week 4 and 5: Introduction to JavaScript. The instructor goes through the fundamentals of JavaScript and the explanations are illustrative and good. The assignments at the end of the weeks are, on the other hand, very basic and way too easy.

By Jingxuan W

May 27, 2019

The content is EXTREMELY outdated. Lots of the implementations only fit the web development environment from FOUR years ago. The course materials were built in 2016. I had to double check at least 70% of the instructions from all kinds of resources because what was taught in the video does not work anymore. It could have been such a great course, if the instructor spends some time fixing those bugs. Now this thing is full of bug

By Sergiu C

Jan 13, 2019

Old information, course need to be updated.

Jan 30, 2019

Unclear and outdated guide to installing the programs required for the course. Very disappointed.

By Sophie L W

Mar 15, 2016

This was a really great course, i learned so much, and it was really interesting and very well explained. I will be taking any more courses done by Yaakov! Really excellent course, thank you so much.

May 31, 2020

Many thanks to the creators of this course! It was a very solid refresher for me, even though I have spent in web development a few years by now. I thoroughly enjoyed every lesson. Thank you, Yaakov!

By Robert C

Feb 10, 2021

Very outdated. Using Bootstrap 3 from 2013 when Bootstrap 5 is the current release. Doesn't really explain the why behind anything, just goes through the steps.

By Santhosh K M

Jun 11, 2020

By NDIAYE C

Mar 16, 2018

Excellent course, specially if you are a professional but in different technologies/ languages, from the back-end world, etc... You will progress very fast as it goes right to the essential notions.

By heartsmagic

Oct 15, 2016

Excellent course, period.

This is the first course I've taken from Coursera. Before the course I knew something about HTML, CSS and Javascript but not too much. First week is a piece of cake. Second week was also easy but I did not have a strong logic about the "box model" before, after the second week I had it.

With third week things went in a strange way, but in a positive one. We started to code a "real" website (yeah you'll understand if you enroll) from scratch. This was invaluable for me. Reading documents is something, but watching lectures, interact with the real code, try and see way, using Git and Github, getting great tips, I mean doing real stuff is invaluable.

Fourth week is also not so hard for me since I have some basic Javascript history. And Javascript section is not so detailed and difficult, but just for one week it was beyond OK, it was great. Even in basic info you'll learn something.

Fifth week is a total stranger for me since I don't know anything about Ajax or dynamic loading pages style. Ok, I know what was Ajax but just the name :) So, after the week I've learned those. At least the concept itself and how to implement it in a simple web site. But I must confess, I watched the videos twice and examine the codes again and again to fully understand what we are doing and how we are doing. Because a week is not enough for this and things go faster. But hey, lectures are recorded and you can watch them again right :) And you have all the codes!

Beauty of this course is all the weeks and assignments are related and integrated. So you learn something, finish the assignment. Next week, you learn new things, get new assignments but continue the last week's job. Yeah, you remember the real web site part?

And of course last but not least Mr. Yaakov Chaikin is a great instructor and person! He has an excellent way of teaching.

So, if you are a total newbie or someone who is beginning of his journey like me do not hesitate to enroll this course. But please pay attention, if you are so new about those topics, about the week four and five you will struggle a little bit.

By jonathan h

Jun 1, 2019

Very interesting and well presented. It's difficult to address all the different experience levels so some points were (to me) a bit laboured, but overall a useful, informative and enjoyable course.

Jul 18, 2021

This was a really great course, i learned so much, and it was really interesting and very well explained.And the field trip was good .Thank you Coursera and Yaakov Chaikin for this wonderful course !

By Patrick S

Nov 23, 2018

I really like his teaching style and complete explanations of topics BUT..... This course is based on an older version of twitter bootstrap and the newer version (4) is not compatible so I had to constantly look up how to change the code. In the middle of week 3, I wasn't even sure what parts of the code were the problem so I decided this was not worth it. I'm going to find some other course that either doesn't use bootstrap or uses the updated bootstrap. I think this course would be much much better if it did not rely on Bootstrap. It's a great program but it involves a lot of complexity that doesn't seem to be necessary at a beginners level.

Nov 7, 2018

This is a really challenging course if you've never worked with Git or Javascript. It's well presented and the projects are very relevant, but I would not recommend starting web development here, even if you've had other languages. I tore my hair out and am now starting at the beginning. I highly, highly recommend this course and the instructor if you've had an intro anytime in the past.

By Yarosav S

Mar 1, 2019

Firstly, this course is not for beginners. If you don't know basics of HTML, CSS and especially JS (author also noticed it) you must learn it by yourself before entering this course or choose another one. If you're super beginner it will be much confusing! Secondly, there are a lot of old information ( starting from github set up and finishing with old stuff in lectures). For example, you will study old version of Bootstrap wich CSS classes was to much updated in latest version so it's too foolishly.

However, this course gives a lot of useful information to supplement your knowledge. There were a lot of neccesary things that i learned, and i suggest you to take this course if you know some basics of HTML, CSS and JS.

By Jackson K

Dec 6, 2018

Great course! The concepts were very well explained and demonstrated with code. Building a real website using what was taught makes the entire process more concrete, and it shows the students that they can work on their own projects. Thanks to all who made this course available, and congratulations to the instructor on a job well done.

By Manzar A

Mar 20, 2022

This course was short but very informative and very helpful for an aspiring leader like myself. It also helped me understand how to view or understand when I receive feedback. I highly recommend it!!

By kowshik k

Nov 22, 2018

I've been doing some online courses recently. This is the best course I have done.

By BANTY K M

Apr 21, 2019

Awesome course 😊

Dec 14, 2018

Excellent course, I appreciate too much what you do as platform letting us counting with excellent tutors like Yaakov who teaches every single thing that's possible in a funny and very comprehensive way.

Please keep it up!

By Purbani S

Aug 7, 2019

The explanation of the topic good !.The task given in the course was little difficult but was fun to do. I liked the way the istructor taught each and every concept very deeply.

By Shahzaib B

Nov 30, 2018

Very beneficial for every type of learner. I enhanced my skills trough this course.

By Phinthip S

Dec 4, 2018

It's cover all details you needed!

Jul 25, 2019

APDaga DumpBox : The Thirst for Learning...

  • 🌐 All Sites
  • _APDaga DumpBox
  • _APDaga Tech
  • _APDaga Invest
  • _APDaga Videos
  • 🗃️ Categories
  • _Free Tutorials
  • __Python (A to Z)
  • __Internet of Things
  • __Coursera (ML/DL)
  • __HackerRank (SQL)
  • __Interview Q&A
  • _Artificial Intelligence
  • __Machine Learning
  • __Deep Learning
  • _Internet of Things
  • __Raspberry Pi
  • __Coursera MCQs
  • __Linkedin MCQs
  • __Celonis MCQs
  • _Handwriting Analysis
  • __Graphology
  • _Investment Ideas
  • _Open Diary
  • _Troubleshoots
  • _Freescale/NXP
  • 📣 Mega Menu
  • _Logo Maker
  • _Youtube Tumbnail Downloader
  • 🕸️ Sitemap

Coursera: Machine Learning (Week 2) [Assignment Solution] - Andrew NG

Coursera: Machine Learning (Week 2) [Assignment Solution] - Andrew NG

Recommended Machine Learning Courses: Coursera: Machine Learning    Coursera: Deep Learning Specialization Coursera: Machine Learning with Python Coursera: Advanced Machine Learning Specialization Udemy: Machine Learning LinkedIn: Machine Learning Eduonix: Machine Learning edX: Machine Learning Fast.ai: Introduction to Machine Learning for Coders
  • ex1.m - Octave/MATLAB script that steps you through the exercise
  • ex1 multi.m - Octave/MATLAB script for the later parts of the exercise
  • ex1data1.txt - Dataset for linear regression with one variable
  • ex1data2.txt - Dataset for linear regression with multiple variables
  • submit.m - Submission script that sends your solutions to our servers
  • [*] warmUpExercise.m - Simple example function in Octave/MATLAB
  • [*] plotData.m - Function to display the dataset
  • [*] computeCost.m - Function to compute the cost of linear regression
  • [*] gradientDescent.m - Function to run gradient descent
  • [#] computeCostMulti.m - Cost function for multiple variables
  • [#] gradientDescentMulti.m - Gradient descent for multiple variables
  • [#] featureNormalize.m - Function to normalize features
  • [#] normalEqn.m - Function to compute the normal equations
  • Video - YouTube videos featuring Free IOT/ML tutorials

warmUpExercise.m :

Plotdata.m :, computecost.m :, gradientdescent.m :, computecostmulti.m :, gradientdescentmulti.m :, check-out our free tutorials on iot (internet of things):.

featureNormalize.m :

Normaleqn.m :, 163 comments.

javascript coursera week 2 assignment

Have you got prediction values as expected?

javascript coursera week 2 assignment

Yes. We got prediction values as expected.

My program was successfully run.But after hitting submit and giving the token this error is showing please help ERROR-- % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1115 100 25 100 1090 12 554 0:00:02 0:00:01 0:00:01 558 error: structure has no member 'message' error: called from submitWithConfiguration at line 35 column 5 submit at line 45 column 3 error: evaluating argument list element number 2 error: called from submitWithConfiguration at line 35 column 5 submit at line 45 column 3 >>

Submitting configuration is generally related that your directory is not right! Or it could also mean you didn't extract the file properly...it did happen with me at times

I have similar problem please tell if you had solved it

javascript coursera week 2 assignment

Thanks for your comments. I still have some problems with the solutions, could you help me. In this case is with line 17, J History.... Week 2 function [theta, J_history] = gradientDescent(X, y, theta, alpha, num_iters) %GRADIENTDESCENT Performs gradient descent to learn theta % theta = GRADIENTDESCENT(X, y, theta, alpha, num_iters) updates theta by % taking num_iters gradient steps with learning rate alpha % Initialize some useful values data = load('ex1data1.txt') X = data(:,1) y = data(:,2) m = length(y) x = [ones(m, 1), data(:,1)] theta = zeros(2, 1) iterations = 1500 alpha = 0.01 J = (1 / (2* m) ) * sum(((x* theta)-y).^2) J_history = zeros(num_iters, 1) for iter = 1:num_iters % ====================== YOUR CODE HERE ====================== % Instructions: Perform a single gradient step on the parameter vector % theta. % % Hint: While debugging, it can be useful to print out the values % of the cost function (computeCost) and gradient here. % %error = (X * theta) - y; %temp0 = theta(1) - ((alpha/m) * sum(error .* X(:,1))); %temp1 = theta(2) - ((alpha/m) * sum(error .* X(:,2))); %theta = [temp0; temp1]; % ============================================================ % Save the cost J in every iteration J_history(iter) = computeCost(X, y, theta); end end

change the variable name of iteration.num_iters must be same with declared variable named iteration

Can you elaborate?

Hi Can anyone help me. Just now i started ML. I am using Octave UI where i write the code but i don't know how to submit using UI. Can anybody please help me.

https://www.youtube.com/watch?v=Vsg-cq7169U&feature=youtu.be Watch this video by one of the mentors you will get it .

Thanks Hrishikesh, your comment might help many people.

javascript coursera week 2 assignment

>> gradientDescent() error: 'y' undefined near line 7 column 12 error: called from gradientDescent at line 7 column 3 >> computeCost() error: 'y' undefined near line 7 column 12 error: called from computeCost at line 7 column 3 How to correct this?

I tried to re-ran the code and everything worked perfectly fine with me. Please check you code. In the code, you can variable "y" is defined in parameter list itself. So, logically you should not get that error. There must something else you might be missing outside these functions.

I used to get the same error! i realized i have to execute ex1.m file and ex1_multi.m files to correct our code.

Thank you for your response. It will be helpful for many others...

Hey @Akshay...I am facing same problem of 'y' undefined. I tried all the ways suggested by you and by others can you please help me out. Can u please tell which version of octave should i use for windows 8.1 64 bit,presently I am using 4.4.1 may be due to that I am facing this problem,please help

please tell how to execute ex1.m file in online MATLAB please help

computeCost error: 'y' undefined near line 8 column 12 error: called from computeCost at line 8 column 3 gradientDescent error: 'y' undefined near line 7 column 12 error: called from gradientDescent at line 7 column 3 How to correct this?

I tried to re-ran the code and everything worked perfectly fine with me. Please check you code. In the code, you can variable "y" is defined in parameter list itself. So, logically you should not get that error. There must something else you might be missing outside these functions. If you got the solution please confirm here. It will be helpful for others.

Hi, Receiving similar error. Found a solution?

Hello, Got a similar error! found the solution?

Hi Sasank, because small y already is used as a input argument for the mentioned functions. So, you can't get the error like y is undefined. Are you sure you haven't made any mistake like small y and Capital Y ? Please check it and try again.

error: 'X' undefined near line 9 column 10 error: called from featureNormalize at line 9 column 8

anyone have find the solution? getting the same error from the program. i have try number of way but getting he same problem

yes i am also getting the same error

i have the solution : you have to load data x,y >>data = load('ex1data1.txt'); >>X = data(:,1); >>y = data(:,2); >>m = length(y); >>x=[ones(m,1),data(:,1)]; >>theta = zeros(2,1); >>computeCost(X,y,theta) if you have any question Pls contact me in my instagram name t.boy__jr

I was stuck for two months in Week 2 Assignment of Machine Learning . Thanx for your guidance due to which I can now understand coding in a better way and finally I have passed 2nd Week Assignment.

Glad to know that my work helped you in understanding the topic / coding. You can also checkout free IOT tutorials with source codes and demo here: https://www.apdaga.com/search/label/IoT%20%28Internet%20of%20Things%29 Thanks.

I tried to reran the code. But i am getting error this: error: 'num_iters' undefined near line 17 column 19 error: called from gradientDescent at line 17 column 11 how to correct this??

i m also facing the same problem, plz help me to out of the problem

Facing the same problem...

i am also submitting these assignments . i have also done the same . But i dont know where to load data .thus my score is 0. how can i improve? please suggest me.

Refer the forum within the course in Coursera. They have explained the step to submit the assignments in datails.

Hello , In the gradient descent.m file : theta = theta - ((alpha/m) * X'*error); I m confused, why do we take the transpose of X (X'*error) instead of X ? Thanks in advance B

Hi Bruno, I got your confusion, Here X (capital X) represent all the training data together, each row as one training sample, each column as a feature. We want to multiply each training data with corresponding error. To make it happen you have to transpose of X (capital X). if you take x (small x) as single training sample then you don't have to worry about transpose and all. Simply (x * error) will work. Try to do it manually on a notebook. You will understand it.

Hi Akshay Thank you for the quick reply & help ...It s totally clear now, make sense !!! Have a great day Bruno

Good day,please am kind of stuck with week2 programming assignment,and this is under computecost.m I already imported the data and plotted the scatter plot.Do I also after to import the data in computecost.m working area,and and when I just in inputted the code J = (1/(2*m))*(sum(((X*theta)-y).^2)); I got an error message.please how do I fix this. Thanks

What error you got?

plotData error: 'X' undefined near line 20 column 6 error: called from plotData at at line 20 column 1 What is the solution to this?

Hi Amit, As I checked I have used small x as an input argument for plotData function. and in your error there is capital X. Are you sure you haven't made mistake in small and capital X? Please check and try once again.

i can see you have used a X there not x,still showing the error saying not enough input arguments

Hey Akshay, The error 'y' undefined problem do exist, but it is not othe problem only for the code you gave,any solution the internet gives that error.Even running through gui or through command, it says undefined.There is no clear solution for this on the net, I tried adding path too as it was said in the net.Couldnt solve the issue.I have octave 5.1.0

I found the solition for those who were getting u defi ed error. if you are using octave then the file shouldnot first start with function, octave takes it as a function, not as a script. solution add anything to first line example add 1; first line and then start function. If you wanna test your function when you run, first initialize the variables to matrices and respective values. then pass these as parameters to the function.

Thanks Chethan, It will be a great help for others as well.

I didn't understand.can u explain clearly

include two lines of code x=[]; y=[]; This should work

Its still not working. I'm getting: error: 'y' undefined near line 7 column 12 error: called from computeCost at line 7 column 3

Hi Akshay, I am getting error like this m=lenght(y); %number of training example Can you help me Thanks

This comment has been removed by a blog administrator.

Hello, within gradientDescent you use the following code error = (X * theta) - y; theta = theta - ((alpha/m) * X'*error) What is the significance of 'error' in this? Within Ng's lectures I can't remember him making reference to 'error'

Error is similar to that of "cost" (J)

!! Submission failed: 'data' undefined near line 19 column 18 Function: gradientDescent FileName: C:\Users\Gunasekar\Desktop\GNU Oct\machine-learning-ex1\ex1\gradientDescent.m LineNumber: 19 Please correct your code and resubmit. This is my problem how to correct it

Hi, I think you are doing this assignment in Octave and that's why you are facing this issue. Chethan Bhandarkar has provided solution for it. Please check out the comment by Chethan Bhandarkar: https://www.apdaga.com/2018/06/coursera-machine-learning-week-2.html?showComment=1563986935868#c4682866656714070064 Thanks

javascript coursera week 2 assignment

Code that is given is not running as always give error 'y' undefined near line 7 column 12 for every code.

did the same as of chethan said but still the issue is not resolved getting the same error y not defined

@Shilp, I think, You should raise your concern on Coursera forum.

>> gradientDescent() error: 'y' undefined near line 7 column 12 error: called from gradientDescent at line 7 column 3 >> computeCost() error: 'y' undefined near line 7 column 12 error: called from computeCost at line 7 column 3 i am getting this kind of error how to solve this

hey i think the errors related to undefined variables are due to people not passing arguments while calling the func from octave window. Can you post an example of command to run computeCost with arguments

the Predicted prices using normal equations and gradient descent are not equals (NE price= 293081.464335 and GD price=289314.62034) is it correct ?

I had the similar issue. For persons who would have a same situation later, please change your alpha to 1.0 and your iterations to 100.

For compute.m function, i am continuosly getting below error message: Error in computeCost (line 31) J = (1/(2*m))*sum(((X*theta)-y).^2);

What error you are getting exactly?

what is the predicted value of house..mine it is getting $0000.00 with huge theta value how is that possible?

You have to modify the value of price variable in the ex1_multi file

Ok so for the people facing problem regarding y is undefined error.....you can directly submit the program it tests ex1.m file as a whole and it is compiled successfully and gives the correct answer

javascript coursera week 2 assignment

how can i directly submit the ex1.m file?

plotData Not enough input arguments. Error in plotData (line 19) plot(x, y, 'rx', 'MarkerSize', 10); % Plot the data I got this error. how can I solve this?

try ylabel('Profit in $10,000s'); % Set the y-axis label xlabel('Population of City in 10,000s'); % Set the x-axis label plot(x, y, 'rx', 'MarkerSize', 10); % Plot the data

not enough input arguments. Error in computeCost (line 7) m = length(y); % number of training examples

I got the same error. have you found out a solution yet?

Hi, I am getting the same error and the program doesn't give the solution. Please advise.

Having problems with nearly everyone of these solutions. I am 12 and learning machine learning for the first time and having troubles referring to this as i find these solutions do not work. Any help?

Hello I am stuck in WK2 PlotData I keep getting errors: >> Qt terminal communication error: select() error 9 Bad file descriptor like that one or error: /Users/a69561/Desktop/machine-learning-ex1/ex1/plotData.m at line 19, column 3 Can somebody help me ??

thank you for the solution but i m still getting 2 different values of price of house( with normal equation and gradient descent method)

hi i have same problem as undefined. Please help me, please. I am using in the octave. Any other way to submit the programming assignment. Please help?

Whats is your leaning rate alpha and number of iterations?

I have provided only function definitions here. You can find the parameter (alpha, num of iterations) values in execution section of your assignment.

In Linear regression with multiple variables by 1st method ( gradientDescent method) the price value of the house was different whn compared to the 2nd method(Normal Equations).still not able to match the values of both the methods ? Note : i have copied all the code as per your guidance.

hi, thanks for all your help. But I have some problem in submission. When I finished all work, I tried to submit all in once and got this: >> submit Warning: Function Warning: Name is nonexistent or not a directory: /MATLAB Drive/./lib > In path (line 109) In addpath (line 86) In addpath (line 47) In submit (line 2) Warning: Function Warning: Name is nonexistent or not a directory: /MATLAB Drive/./lib/jsonlab > In path (line 109) In addpath (line 86) In addpath (line 47) In submitWithConfiguration (line 2) In submit (line 45) 'parts' requires one of the following: Automated Driving Toolbox Navigation Toolbox Robotics System Toolbox Sensor Fusion and Tracking Toolbox Error in submitWithConfiguration (line 4) parts = parts(conf); Error in submit (line 45) submitWithConfiguration(conf); >> submit >> submitWithConfiguration Warning: Function Warning: Name is nonexistent or not a directory: /MATLAB Drive/./lib/jsonlab > In path (line 109) In addpath (line 86) In addpath (line 47) In submitWithConfiguration (line 2) 'parts' requires one of the following: Automated Driving Toolbox Navigation Toolbox Robotics System Toolbox Sensor Fusion and Tracking Toolbox Error in submitWithConfiguration (line 4) parts = parts(conf);

Check if your are in the same directory ex1 folder and to submit the solution use ''submit()'' not submit add parenthesis

This is happening because variable parts has the same name as of parts(conf) function in file ex1/lib/submitWithConfiguration.m Make the following changes to resolve this : Line 4 - parts_1 = parts(conf); Line 92 - function [parts_1] = parts(conf) Line 93 - parts_1 = {}; Line 98 - parts_1{end + 1} = part; Basically, I've just renamed the variables. Same thing is happening with one more variable, so make the following changes : Line 66 - submissionUrl_1 = submissionUrl(); Line 68 - responseBody = getResponse(submissionUrl_1, body); Line 22: response = submitParts(conf, email, token, parts_1); Line 37: showFeedback(parts_1, response); This worked for me.

after changing my variables names also ,i'm getting error in calling function parts: !! Submission failed: Not enough input arguments. Function: parts FileName: C:\Users\Avanthi\Documents\ML\exp-2\lib\submitWithConfiguration.m LineNumber: 94 can someone help me with this?

Hello Akshay, In computeCost, how to declate or compute 'theta' because, it's giving an error - 'theta' undefined.

error: structure has no member 'message' error: called from submitWithConfiguration at line 35 column 5 submit at line 45 column 3 error: evaluating argument list element number 2 error: called from submitWithConfiguration at line 35 column 5 submit at line 45 column 3 how to solve this

Hello Akshay Daga (APDaga, Very glad to come across your guide on ML by Andred NG. I been stuck months, could complete the Programming Assisgment. Have done up to computeCost but got stuck at gradientDescent Below is the error. I don't want to drop out of this course please help me out. "error: 'num_iters' undefined near line 1 column 58" Here is my update h=(theta(1)+ theta(2)*X)'; theta(1) = theta(1) - alpha * (1/m) * theta(1) + theta(2)*X'* X(:, 1); theta(2) = theta(2) - alpha * (1/m) * htheta(1) + theta(2)*X' * X(:, 2); I count on your assistance.

gradientDescent() error: 'y' undefined near line 7 column 14 error: evaluating argument list element number 1 error: called from: error: /Users/apple/Downloads/machine-learning-ex1/ex1/gradientDescent.m at line 7, column 5 I am getting this error for both gradient descent and computeCost. plz helpme out

function [theta, J_history] = gradientDescent(X, y, theta, alpha, iterations) %GRADIENTDESCENT Performs gradient descent to learn theta % theta = GRADIENTDESCENT(X, y, theta, alpha, num_iters) updates theta by % taking num_iters gradient steps with learning rate alpha % Initialize some useful values m = length(y); % number of training examples h=X*theta; error=(h-y); theta_c=(alpha/m)*(sum((error)*X')); theta=theta-theta_c; J_history = zeros(num_iters, 1); for iter = 1:iterations % ====================== YOUR CODE HERE ====================== % Instructions: Perform a single gradient step on the parameter vector % theta. % % Hint: While debugging, it can be useful to print out the values % of the cost function (computeCost) and gradient here. % % ============================================================ % Save the cost J in every iteration J_history(iter) = computeCost(X, y, theta); end end while running on octave it's showing Running Gradient Descent ... error: gradientDescent: operator *: nonconformant arguments (op1 is 97x1, op2 is 2x97) error: called from gradientDescent at line 10 column 8 ex1 at line 77 column 7 where is the problem???

i got an error in computeCost.m as following: max_recursion_depth reached. How to solve this?

i got an error as: error: computeCost: operator /: nonconformant arguments (op1 is 1x1, op2 is 1x2) How to solve this?

I can't see any variable used in codes as op1 or op2. Please check once again where did you get those variables from?

Hi, great guidance. Only, I still have the confusion how single parameter costfunction and multi parameter costfunction codes are same? (same confusion for both gradientdescent (single and multi).Am I missing something?

single parameter costfunction is as follows: h = X*theta; temp = 0; for i=1:m temp = temp + (h(i) - y(i))^2; end J = (1/(2*m)) * temp; Which doesn't work for multi parameter costfunction. But, I have also provided vectorized implementation. (It is generic code and works for both single as well as multi parameters).

Hello, I am getting x is undefined while submitting plotData in assignmnet2 several times I checked But I am getting the same error will u please help me?

function plotData(x, y) plot(x, y, 'rx', 'MarkerSize', 10); ylabel('Profit in $10,000s'); xlabel('Population of City in 10,000s'); Always I am getting x is undefined.I cant able to understand where the error is plzz help me?? figure;

function plotData(x, y) plot(x, y, 'rx', 'MarkerSize', 10); ylabel('Profit in $10,000s'); xlabel('Population of City in 10,000s'); figure; Always I am getting x is undefined.I cant able to understand where the error is plzz help me??

While doing in matlab also it is saying error in submitwithconfiguration in submit.m file accutally it was defaultly givern by them but why it is show error there???

While doing in matlab it is saying error in submitwithconfiguration in submit.m file accutally it was defaultly givern by them but why it is show error there???

Still the same problem with undefined y (small letter) using Octave 5.2.0 adding anything as first line didn't help What could I do else? Has somebody working version. I got stuck in this point

instead of running codes individually, run 'ex1' after completing all the problems....then it will not show any error

Hi.. I am using MATLAB R2015a version offline and getting error submitwithconfiguration(line 158).How to rectify this error??

Raise this concern in Coursera forum.

if you implement featureNormalize this way, it gives dimensions disagreement error so i suggest it would be better to do it in the following way; mu = ones(size(X,1),1)* mean(X); sigma = ones(size(X,1),1)* std(X); X_norm = (X - mu)./(sigma); P.S: it gives me accurate results

I entered submit () ,but I geeting error so pls help to how to submit my assignment

I think you should raise this concern to Coursera forum.

try just submit without the brackets.

ur code is not working when i use it

Sorry to know that. But I was working 100% for me and some others as well.

num_iters not defined error.. Plz help

just got the answer for num_iters not defined...You have to fix line 59 in submit.m

I have a problem running the below line of code: (X * theta) - y; it gives error: operator *: nonconformant arguments (op1 is 97x1, op2 is 2x1) I can understand because X is a 97x1 matrix and cannot be multiplied with a 2x1 matrix. Any ideas?

I get the below error when executing ex1 for testing the gradientDescent function: error: computeCost: operator *: nonconformant arguments (op1 is 97x2, op2 is 194x1) error: called from computeCost at line 15 column 2 gradientDescent at line 36 column 21 ex1 at line 77 column 7 My gradientDescent function has the below lines of code as per the tutorial. temp0 = theta(1) - ((alpha/m) * sum((X * theta) - y) .* X(:,1)); temp1 = theta(2) - ((alpha/m) * sum((X * theta) - y) .* X(:,2)); theta = [temp0; temp1]; My computeCost function has this line of code on line number 15: J=1/(2*m)*sum(((X*theta)-y).^2) NB: surprisingly I can run the gradientDescent lines individually on octave command without problems

I also had this problem, I realised that it is to do with the brackets. if you compare your code to mine; t0 = theta(1) - ((alpha/m) * sum(((X * theta) - y).* X(:,1))); t1 = theta(2) - ((alpha/m) * sum(((X * theta) - y).* X(:,2))); theta = [t0; t1]; you can see that you are missing 2 brackets on each side. this dimensions may be messed up due to wrong operations

javascript coursera week 2 assignment

Hey, how do you calculate the value of theta?

The values of theta1 and theta2 are initially set to 0, theta = zeros(2,1)

Getting an error, theta is undefined...

I get the below error when executing ex1 for Submitting the gradient Descent: >> submit 'parts' requires one of the following: Automated Driving Toolbox Navigation Toolbox Robotics System Toolbox Sensor Fusion and Tracking Toolbox Error in submitWithConfiguration (line 4) parts = parts(conf); Error in submit (line 45) submitWithConfiguration(conf);

did you get this answer? , I see this error

I have the same error

some of these answers are incorrect. for example the feature normalization question is wrong. when you calculate X-u /sigma X and u are different dimensions so it doesn't work.

Thanks for the feedback. All these answers worked 100% for me. and they are working fine for many of others as well (you can get idea from comments.) But coursera keeps on updating the assignments time to time. So, You might be right in that case. Please use above codes just for reference and then solve your assignment on your own. Thanks

hello brother, can you please briefly explain the working in these two lines of GD error = (X * theta) - y; theta = theta - ((alpha/m) * X'*error)

How can I solve this problem?? submit 'parts' requires one of the following: Automated Driving Toolbox Navigation Toolbox Robotics System Toolbox Sensor Fusion and Tracking Toolbox Error in submitWithConfiguration (line 4) parts = parts(conf); Error in submit (line 45) submitWithConfiguration(conf);

same problem here

Hi, when I run my code, the predicted price of the house (in ex1_multi.m), it says 0.0000. How can I fix that?

>> [Xn mu sigma] = featureNormalize([1 ; 2 ; 3]) error: Invalid call to std. Correct usage is: -- std (X) -- std (X, OPT) -- std (X, OPT, DIM) error: called from print_usage at line 91 column 5 std at line 69 column 5 featureNormalize at line 32 column 8 >> Even after I am doing it the right way i hope: ''' mu = mean(X); sigma = std(X, 1); X_norm = (X - mu) ./ std; ''' Anyone any idea, why i am facing this error?

I tried simply this also: sigma = std(X);

>> submit() 'parts' requires one of the following: Automated Driving Toolbox Navigation Toolbox Robotics System Toolbox Sensor Fusion and Tracking Toolbox Error in submitWithConfiguration (line 4) parts = parts(conf); Error in submit (line 45) submitWithConfiguration(conf);

This is happening because variable parts has the same name as of parts(conf) function in file ex1/lib/submitWithConfiguration.m Make the following changes to resolve this : Line 4 - parts_1 = parts(conf); Line 92 - function [parts_1] = parts(conf) Line 93 - parts_1 = {}; Line 98 - parts_1{end + 1} = part; Basically, I've just renamed the variables. Same thing is happening with one more variable, so make the following changes : Line 66 - submissionUrl_1 = submissionUrl(); Line 68 - responseBody = getResponse(submissionUrl_1, body); Line 22: response = submitParts(conf, email, token, parts_1); Line 37: showFeedback(parts_1, response); This worked for me

which is better to use to submit assignments ( Octave or Matlab)... The solutions that have been provided are for Matlab or Octave?

I have provided solution in MATLAB but It works in Octave as well.

hi I don't understand why X*theta . I mean theta is a 2X1 vector right? I understand the formula, but i get confused in this exercise.

I figure it out because I thought X is a 97x1 vector. I have another question. Is this a gradient descent with one variable? I thought it is two variables? Does the theta0 count 1 variable?

%%%%%%%% CORRECT %%%%%%%%%% error = (X * theta) - y; theta = theta - ((alpha/m) * X'*error); %%%%%%%%%%%%%%%%%%%%%%%%%%% WHY IS NOT HERE "SUM" USED? THAAAAAAAANKS!!!

Here we have used a Matrix multiplication (Which is nothing but Sum of product operation). Matrix multiplication already consist of sum operation.

OWWWWWWWW!!! so the other one is (dot product). Thank you so much! You are awesome !

J = (1/(2*m))*sum(((X*theta)-y).^2); Can you please break it down, then we used SUM here. Thanks in advance !!

and not in the above one (theta = theta - ((alpha/m) * X'*error))? Like I could see with the dimensions that, sum is not required. But I want to know how should I think/(the intuition) or approach to this idea that I need or dnt need sum.

"Matrix multiplication (Which is nothing but Sum of product operation)." then why using SUM here, J = (1/(2*m))*sum(((X*theta)-y).^2);

PLEASE PLEASE HELP. I will be ever grateful to you. And will pray for you.

Don't get confused with normal and vectorized implementation. > "sum" in vectorized implementation represents summation in the given formula. > In normal implementation, "temp = temp + formula" is equivalent to that of "sum" in vectorized implementation. Please look at below code, (both codes achieves same result) compare them and try to understand. %%%%%%%%%%%%% CORRECT %%%%%%%%% % h = X*theta; % temp = 0; % for i=1:m % temp = temp + (h(i) - y(i))^2; % end % J = (1/(2*m)) * temp; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%% CORRECT: Vectorized Implementation %%%%%%%%% J = (1/(2*m))*sum(((X*theta)-y).^2); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

My Goodness ! Thank you so much! You are awesome ! You have explained it very nicely! Became your fan. God bless you! Will be following your Blog.

x = data(:, 1); y = data(:, 2); m = length(y); plot(x, y, 'rx', 'MarkerSize', 10); ylabel('Profit in $10,000s'); xlabel('Population of City in 10,000s'); X = [ones(m, 1), data(:,1)]; theta = zeros(2, 1); iterations = 1500; alpha = 0.01; temp = 0; for i=1:m temp = temp + (h(i) - y(i))^2; end J = (1/(2*m)) * temp; >> J J = 32.073 the answer is good But when execute the submit: !! Submission failed: operator *: nonconformant arguments (op1 is 97x1, op2 is 2x1) Function: computeCost FileName: LineNumber: 65 Help me please

WHY IT IS SHOWING "This item will be unlocked when the session begins." ON THE QUIZ SECTION.

managed to run every other thing corectly in octave but got a submission error.please help( !! Submission failed: parse error near line 25 of file C:\Users\user\Desktop\ml-class-ex1\computeCostMulti.m) syntax error >>> j= (1/(2*m)) *sum(((X*theta)-y.^2); ^ Function: submit>output FileName: C:\Users\user\Desktop\ml-class-ex1\submit.m LineNumber: 63 Please correct your code and resubmit.

what van i do to fix this problem?? Please help me > submit Unrecognized function or variable 'parts'. Error in submitWithConfiguration (line 4) parts = parts(conf); Error in submit (line 45) submitWithConfiguration(conf);

i have some issues while uploading codes. i do run it without any error but at the end the score still shows 0/10 for 3rd questions and so on. Along with this the same result reflects on my course id. Please help

It should not happen. you might be missing something simple in your process. have you raised this concern on coursera forum. please try it there, you will get the resolution for sure.

I have error at m= length(y) This error is occur

Thank you Akshay for your helping lots of people for years!

Thank you for your kind words.

Hi Akshay i have question about gradient descent with multiple variables. Q(0) Q(1) While doing the Gradient descent we were using X as [1 random number] [1 random number] [1 random number] we were using 1 for Q(0). My question is for doing multiple varient Gradient Descent do we use X matrix as a Q(0) Q(1) Q(2).... X = [1 random random ...] because in coursera as an example they took as; X = data(:, 1:2); y = data(:, 3); Don't they need to add 1 numbers in X for to represent Q(0)?

Once you split the input(X) and output(y) from the raw data. The below line add the 1 in the input =(X) as mentioned the theory. x = [ones(m, 1), data(:,1)] Above line will take care of adding one in the input(X). Please check the code, it is already present in the code.

i have a issue >> submitWithConfiguration error: 'conf' undefined near line 4, column 4 error: called from submitWithConfiguration at line 4 column 10

i m facing this error while submitting my assignment.. unexpected error: Index in position 1 exceeds array bounds.. please need help ...how can i fix it ?

I copied exactly all the same code as author. The program run successfully but the result of gradient descent was crazy large(incorrect much bigger then expected). I was stuck in this part for a long time. Could anyone help? Thank you very much. My Octave Version is 6.3.0. Here is the result of my output Loading data ... First 10 examples from the dataset: x = [2104 3], y = 399900 x = [1600 3], y = 329900 x = [2400 3], y = 369000 x = [1416 2], y = 232000 x = [3000 4], y = 539900 x = [1985 4], y = 299900 x = [1534 3], y = 314900 x = [1427 3], y = 198999 x = [1380 3], y = 212000 x = [1494 3], y = 242500 Program paused. Press enter to continue. Normalizing Features ... Running gradient descent ... Theta computed from gradient descent: 340412.659574 110631.050279 -6649.474271 Predicted price of a 1650 sq-ft, 3 br house (using gradient descent): $182861697.196858 Program paused. Press enter to continue. Solving with normal equations... Theta computed from the normal equations: 89597.909543 139.210674 -8738.019112 Predicted price of a 1650 sq-ft, 3 br house (using normal equations): $293081.464335

Facing same issue..any solution to this?

!! Submission failed: unexpected error: Undefined function 'makeValidFieldName' for input arguments of type 'char'. !! Please try again later.

Facing the same issue, any updates ?

concerning the code on gradient Descent, please am yet to undrstand how the iterations work, am i to keep running the gradient descent and manually updating theta myself till i get to the value of theta with the lowest cost. please expanciate more on this it will be very helpful.

>> normalEqn error: 'X' undefined near line 7, column 22 error: called from normalEqn at line 7 column 9 I am getting this error in normaleqn

I want to thank the writer for their sincere efforts. Best Data Science Institute In Chennai With Placement

Our website uses cookies to improve your experience. Learn more

Contact form

niyander-logo

Niyander Tech

Learn with fun

  • All Coursera Quiz Answers

Programming Assignment: Writing a Unit Test Solution

Programming Assignment Writing a Unit Test Solution

In this article i am gone to share Programming with JavaScript by meta Week 4 | Programming Assignment: Writing a Unit Test Solution with you..

Enroll Link: Programming with JavaScript

Visit this link:  Programming Assignment: Array and object iteration Solution

Lab Instructions: Unit Testing

Tips: Before you Begin

To view your code and instructions side-by-side, select the following in your VSCode toolbar:

  • View -> Editor Layout -> Two Columns
  • To view this file in Preview mode, right click on this README.md file and  Open Preview
  • Select your code file in the code tree, which will open it up in a new VSCode tab.
  • Drag your assessment code files over to the second column.
  • Great work! You can now see instructions and code at the same time.
  • Questions about using VSCode? Please see our support resources here: Visual Studio Code on Coursera

To run your JavaScript code

  • Select your JavaScript file
  • Select the “Run Code” button in the upper right hand toolbar of VSCode. Ex: It looks like a triangular “Play” button.

Task 1: Add Jest as a devDependency

Open terminal. Make sure that it’s pointing to  jest-testing  directory. Install the jest npm package using the npm install command and the –save-dev flag. Verify that the installation was completed successfully by opening the package.json file and confirming that the “devDependencies” entry lists jest similar to the following:

Task 2: Update the test entry

In the package.json file, locate the “scripts” entry, and inside of it, update the test entry to  jest .

Task 3: Code the timesTwo function

Open the timesTwo.js file and add a function named  timesTwo . The function should take number as input and return the value 2 multiplied by the number. Export the timesTwo function as a module.

Task 4: Write the first test

Code a test call with the following arguments:

  • The description that reads: “returns the number times 2”.
  • The second argument should expect the call to the timesTwo function, when passed the number 10, to be 20.

Task 5: Run the first test

With the terminal pointed at the  jest-testing  directory, run the test script using npm.

  • Copy & paste this code on Files..
  • And save your file and then submit.

First Change in this file timesTwo.js

Second Change in this file timesTwo.test.js

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

  • GDPR Privacy Policy
  • Privacy Policy
  • Terms and Conditions

Greetings, Hey i am Niyander, and I hail from India, we strive to impart knowledge and offer assistance to those in need.

Search code, repositories, users, issues, pull requests...

Provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

Coursera course: HTML, CSS, and Javascript for Web Developers

Janoval/Module-2-Coding-Assignment

Folders and files, repository files navigation, module-2-coding-assignment.

IMAGES

  1. GitHub

    javascript coursera week 2 assignment

  2. Coursera : Interactivity with JavaScript

    javascript coursera week 2 assignment

  3. HTML,CSS & JavaScript For Web Developers- Coursera

    javascript coursera week 2 assignment

  4. Introduction to Web Development with HTML, CSS, JavaScript Peer Graded

    javascript coursera week 2 assignment

  5. Coursera HTML, CSS, and Javascript for Web Developers Week 2 practice

    javascript coursera week 2 assignment

  6. Introduction to Javascript: The Basics

    javascript coursera week 2 assignment

VIDEO

  1. Coursera Programming Assignment: Little Lemon Receipt Maker solution (Week 5)

  2. Coursera Programming Assignment: Writing a Unit Test solution (Week 4)

  3. Diwali Gift for all students🔥 : JavaScript Tutorial Series on @shradhaKD 🪔❤️

  4. Coursera HTML, CSS, and Javascript for Web Developers Week 1 practice All Quiz solutions

  5. Programming Assignment: Building an object-oriented program solution

  6. How To Get Paid Coursera Course Certificates For FREE in 2023?!🔥

COMMENTS

  1. gu1ll0t1ne/Interactivity-with-JavaScript-week-2-assignment

    JavaScript coursera first assignment (gallery). Contribute to gu1ll0t1ne/Interactivity-with-JavaScript-week-2-assignment development by creating an account on GitHub.

  2. Coursera

    About External Resources. You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.

  3. MatthewBleUK/meta-coursera-programming-with-javascript

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window.

  4. Week 2 Project for HTML-CSS-JAVASCRIPT course on Coursera

    Here is what you will need to complete the assignment: (If you haven't already) Create a GitHub.com account and a repository that you will use for this class. (If you haven't already) Follow the Development Setup Video (beginning of Module 1) instructions on how to create a repository and set it up such that you can host and view your finished ...

  5. Coursera HTML, CSS, and Javascript for Web Developers Week 2 Module 2

    https://drive.google.com/drive/folders/1DWUtPLq9t_LXjXaAwnsbVAIlTwR0Iquo?usp=sharing

  6. Coursera : Interactivity with JavaScript

    This video is for education purpose onlyLike share and subscribe for more videoPlease visit my Blog to see more contenthttps://priyadigitalworld.blogspot.com...

  7. Programming with JavaScript Course (Meta)

    JavaScript is the programming language that powers the modern web. In this course, you will learn the basic concepts of web development with JavaScript. ... 2 videos 2 readings 2 quizzes 1 programming assignment 2 discussion prompts. ... Coursera is one of the best places to go." Chaitanya A. "Learning isn't just about being better at your job ...

  8. HTML, CSS and Javascript for Web Developers (by ...

    Module 5. Assignment description. Deadline: April 30, 11:59 PM IST. Solution. This repository contains all the assignments for the HTML, CSS and JavaScript for Web Developers (by Johns Hopkins University) course from Coursera.

  9. HTML, CSS, and Javascript for Web Developers

    Welcome to Module 3: Coding the Static Restaurant Site • 0 minutes • Preview module; Lecture 27, Part 1: Visit with the Client • 10 minutes; Lecture 27, Part 2: Visit with the Client (Field Trip) • 9 minutes Lecture 28: Design Overview • 9 minutes; Lecture 29: Some Ground Rules and Overview of Setup • 10 minutes; Lecture 30, Part 1: Coding Basics of Navbar Header • 9 minutes

  10. goggle/Coursera_HTML-CSS-Javascript-for-Web-Developers

    Solutions to the assignments of the Coursera course "HTML, CSS, and Javascript for Web Developers" by Johns Hopkins University. - goggle/Coursera_HTML-CSS-Javascript-for-Web-Developers

  11. Interactivity with JavaScript, week(1-4) All Quiz Answers with

    course link: https://www.coursera.org/learn/javascript?Friends support me to give you more useful videos.Subscribe me and comment me whatever courses you wan...

  12. Introduction to Web Development with HTML, CSS, JavaScript

    9 videos • Total 43 minutes. Course Introduction: Web Development with HTML, CSS, and JavaScript • 1 minute • Preview module. Overview of Web and Cloud Development • 4 minutes. Insiders' Viewpoints: Aspects of the Web Development Lifecycle • 2 minutes. Learning Front-End Development • 6 minutes.

  13. Programming assignments

    To submit a programming assignment: Open the assignment page for the assignment you want to submit. Read the assignment instructions and download any starter files. Finish the coding tasks in your local coding environment. Check the starter files and instructions when you need to. If the assignment uses script submission, submit your assignment ...

  14. prithaupadhyay/Interactivity-With-JavaScript

    Solutions of all the assignments provided and also the practice work done during the course "Interactivity with JavaScript" by University Of Michigan on Coursera. This repository contains the solutions of the few major assignments provided by the instructor during the even weeks of the course " Interactivity with JavaScript " by University Of ...

  15. Programming with JavaScript Coursera Quiz Answers

    document.module.export = timesTwo. module.exports = timesTwo. Question 2) Testing is a way to verify the expectations you have regarding the behavior of your code. true. false. Question 3) Node.js can be used to build multiple types of applications. Select all that apply.

  16. Coursera: Interactivity with Javascript week 2 Peer-graded Assignment

    Coursera: Interactivity with Javascript week 2 Peer-graded Assignment 😁Link: https://amzn.to/2RiFnU3Best Earpods on Amazon....Check it out fast...🔥🔥🔥Tele...

  17. Coursera Assignment (week 2)

    This is a brief page about ska music, to serve as my submission for an HTML/CSS assignment in a Coursera course.... Pen Settings. HTML CSS JS Behavior Editor HTML. ... Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

  18. Learner Reviews & Feedback for HTML, CSS, and Javascript for ...

    Bad: outdated content, mainly Bootstrap 3. Detailed: Week 1: Introduction to HTML. I'm not exactly new to HTML, so I kind of skipped the first week videos and did only the quizzes, which were not difficult. Week 2: Introduction to CSS. I had no experience with CSS, so found the contents really helpful.

  19. Coursera: Machine Learning (Week 2) [Assignment Solution]

    Coursera: Machine Learning (Week 2) [Assignment Solution] - Andrew NG. byAkshay Daga (APDaga)-June 08, 2018. 163. Linear regression and get to see it work on data. I have recently completed the Machine Learning course from Coursera by Andrew NG. While doing the course we have to go through various quiz and assignments.

  20. Programming Assignment: Writing a Unit Test Solution

    Visual Studio Code on Coursera; To run your JavaScript code. Select your JavaScript file; Select the "Run Code" button in the upper right hand toolbar of VSCode. Ex: It looks like a triangular "Play" button. Task 1: Add Jest as a devDependency. Open terminal. Make sure that it's pointing to jest-testing directory.

  21. GitHub

    Coursera course: HTML, CSS, and Javascript for Web Developers - Janoval/Module-2-Coding-Assignment