Task: Implement a simple calculator that performs the following operations on binary numbers: addition, subtraction, multiplication, and division. Note that division … Read more
Tag: 10 Days of Javascript
Day 8: Buttons Container (10 Days of Javascript)
Task: We want to create nine buttons enclosed in a div, laid out so they form a 3 X 3 grid. Each … Read more
Day 8: Create a Button ( 10 Days of Javascript)
Task: Complete the code in the editor so that it creates a clickable button satisfying the following properties: The button’s id is btn. … Read more
Day 7: Regular Expressions III (10 Days of Javascript)
Task: Complete the function in the editor below by returning a RegExp object,re , that matches every integer in some string s. Constraints The length of … Read more
Day 7: Regular Expressions II (10 Days of Javascript)
Task: Complete the function in the editor below by returning a RegExp object, re, that matches any string satisfying both of the following conditions: … Read more
Day 7: Regular Expressions I (10 Days of Javascript)
Task: Complete the function in the editor below by returning a RegExp object,re , that matches any string s that begins and ends with the same vowel. Recall that the … Read more
Day 6: JavaScript Dates (10 Days of Javascript)
Task: Given a date string,dateString , in the format MM/DD/YYYY, find and return the day name for that date. Each day name … Read more
Day 6: Bitwise Operators (10 Days of Javascript)
Task: We define S to be a sequence of distinct sequential integers from 1 to n; in other words,s={1,2,3,…,n} . We want to know the maximum … Read more
Day 5: Arrow Functions ( 10 Days of Javascript)
Task: Complete the function in the editor. It has one parameter: an array, nums. It must iterate through the array performing … Read more
Day 5: Template Literals (10 Days of Javascript)
Task: The code in the editor has a tagged template literal that passes the area and perimeter of a rectangle … Read more