Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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.
Reload
to refresh your session.
Dismiss alert
{{ message }}
humailhasankhan
/
JavaScript-Core-1-Coursework-Week1
Public template
forked from
CodeYourFuture/JavaScript-Core-1-Coursework-Week1
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 25, 2021
Refactored the code with the help of one of the mentors and made it much shorter
humailhasankhan
committed
a4df901
View commit details
Copy full SHA for a4df901
Browse repository at this point
Commits on Jun 23, 2021
Completed the magic ball 8 extra challenge by generating a random number for shakeball function and using else if statements for both functions as conditions to pass the tests
humailhasankhan
committed
397457f
View commit details
Copy full SHA for 397457f
Browse repository at this point
Commits on Jun 22, 2021
completed extra exercise 2 by returning all three functions and declaring badCode variable and two more variables to go along goodCode variable. Added parseFloat toFixed at 1 decimal so it meets th…
Show description for 96fc414
humailhasankhan
committed
96fc414
View commit details
Copy full SHA for 96fc414
Browse repository at this point
completed extra 1 - converted pound to USD by calling function with pound *1.4, second function used parseFloat to return decimal number value with toFixed at 2 decimals and calculated 99% of total…
Show description for 43ab58b
humailhasankhan
committed
43ab58b
View commit details
Copy full SHA for 43ab58b
Browse repository at this point
added code to first function for price + price *0.2 and second function calling first function to give total and returning value in pounds with toFixed at 2 decimals
humailhasankhan
committed
bd7e90f
View commit details
Copy full SHA for bd7e90f
Browse repository at this point
Explained what the first two function do and added code block to function 3 where three parameters are concatenated using the + operator.
humailhasankhan
committed
9e0181e
View commit details
Copy full SHA for 9e0181e
Browse repository at this point
Fixed .trim(), .length, return a*b*c in logic errors exercise 2 in mandatory folder
humailhasankhan
committed
10d2c3e
View commit details
Copy full SHA for 10d2c3e
Browse repository at this point
Commits on Jun 21, 2021
Fixed syntax errors in mandatory exercise 1 and tests pass
humailhasankhan
committed
4868a4b
View commit details
Copy full SHA for 4868a4b
Browse repository at this point
completed nested function exercise by creating a function which works inside another function.
humailhasankhan
committed
c904d86
View commit details
Copy full SHA for c904d86
Browse repository at this point
Completed all function parameters exercises by creating functions that take numbers and strings as parameters
humailhasankhan
committed
577c13e
View commit details
Copy full SHA for 577c13e
Browse repository at this point
completed both exercises for Functions by adding return code blocks inside of the functions to halve and triple the numbers respectively.
humailhasankhan
committed
7431455
View commit details
Copy full SHA for 7431455
Browse repository at this point
Completed floats exercise by creating variables for total and percentages of students and mentors. Logged it to console using Math.round inside of template literals
humailhasankhan
committed
4923c33
View commit details
Copy full SHA for 4923c33
Browse repository at this point
made changes to the exercise so they reflect the expected results. concept generally remains the same.
humailhasankhan
committed
b6bb4d0
View commit details
Copy full SHA for b6bb4d0
Browse repository at this point
completed numbers exercise by creating two variable for total number of students and mentors. Finally, created a third variable with template litterals to give a string including the totals
humailhasankhan
committed
845b7b4
View commit details
Copy full SHA for 845b7b4
Browse repository at this point
completed both exercises by creating variables to concatenate the first one and .trim for the second one to use the given variable and count the characters.
humailhasankhan
committed
b614a3a
View commit details
Copy full SHA for b614a3a
Browse repository at this point
Finished exercise by creating two variables which concatenate in a third variable and logged the third variable to the console
humailhasankhan
committed
a9cc88c
View commit details
Copy full SHA for a9cc88c
Browse repository at this point
Finished Strings typeOf exercise by creating myMessage variable and another variable with its typeof and logging both variables to the console
humailhasankhan
committed
fe1a980
View commit details
Copy full SHA for fe1a980
Browse repository at this point
Completed C-variables exercise by creating a variable and logging the variable three times to the console
humailhasankhan
committed
aac0473
View commit details
Copy full SHA for aac0473
Browse repository at this point
Finished Hello World exercise, experimented and answered the questions in readme file
humailhasankhan
committed
6466854
View commit details
Copy full SHA for 6466854
Browse repository at this point
Commits on Jun 20, 2021
Fix typos
illicitonion
committed
436f6c3
View commit details
Copy full SHA for 436f6c3
Browse repository at this point
Fix typo in function name
Show description for 94a925b
illicitonion
committed
94a925b
View commit details
Copy full SHA for 94a925b
Browse repository at this point
Merge pull request #98 from mrmikeshields-cyf/typo-fix
Show description for de389c1
mike-shields-cyf
authored
de389c1
View commit details
Copy full SHA for de389c1
Browse repository at this point
Commits on Jun 14, 2021
Update team-labeler.yml
Chris Owen
authored
7324bda
View commit details
Copy full SHA for 7324bda
Browse repository at this point
Commits on Jun 13, 2021
Rewrite tests in Jest (#92)
Show description for 6a533a9
illicitonion
authored
6a533a9
View commit details
Copy full SHA for 6a533a9
Browse repository at this point
Commits on Jun 12, 2021
change reference from 'D-variables' to 'C-Variables'
mike-shields-cyf
committed
86a3b79
View commit details
Copy full SHA for 86a3b79
Browse repository at this point
Commits on Jun 3, 2021
Create team-labeler.yml
Chris Owen
authored
201d019
View commit details
Copy full SHA for 201d019
Browse repository at this point
Update team-labeler.yml
Chris Owen
authored
4f84667
View commit details
Copy full SHA for 4f84667
Browse repository at this point
Commits on May 26, 2021
Delete create-labels.yml
Chris Owen
authored
d662db8
View commit details
Copy full SHA for d662db8
Browse repository at this point
Update teams.yml
Chris Owen
authored
6aad966
View commit details
Copy full SHA for 6aad966
Browse repository at this point
Update teams.yml
Chris Owen
authored
9a6d2cc
View commit details
Copy full SHA for 9a6d2cc
Browse repository at this point
Update teams.yml
Chris Owen
authored
719d7ee
View commit details
Copy full SHA for 719d7ee
Browse repository at this point
Update teams.yml
Chris Owen
authored
fcd63e3
View commit details
Copy full SHA for fcd63e3
Browse repository at this point
Update team-labeler.yml
Chris Owen
authored
3a652f3
View commit details
Copy full SHA for 3a652f3
Browse repository at this point
Update teams.yml
Chris Owen
authored
07d2056
View commit details
Copy full SHA for 07d2056
Browse repository at this point
Update teams.yml
Chris Owen
authored
1f2536b
View commit details
Copy full SHA for 1f2536b
Browse repository at this point
Previous
Next
You can’t perform that action at this time.