CalculatorĬreate a basic calculator that can add, substract, multiply or divide numbers. When the page loads, it should search for all the tags in the page and create the list of all the subtitles. Pick up any article which has subtitles (like this one!) Copy the article and make sure that the subtitles have the HTML tag. You'll probably use a Date object and its method toLocaleString. When the user presses the button, you should display the user the date and time in that time zone. There, the user should write the name of a time zone ( Here's a list, look for the column "TZ database name"). World ClockĬreate a text input and a submit button. It will take the red-green-blue values from what the user wrote. And when they press the button, the background will change. The user should enter a number between 0 and 255 for the three inputs. Also, add a button with the text "Change background color". Create three numeric inputs with the labels red, green, and blue. In this project, the user will be able to change the page background color. When the user presses that button, use the method Math.random() to determine whether to display "Heads" or "Tails" to the user. Create a button "Toss the coin" that, well, tosses a coin □. Coin Tossįor this project, you'll create a virtual coin that will display either "head" or "tails" randomly. That's why I created this list of 10 projects so that you can start coding. However, many beginners don't know exactly what projects to create. Creating your own projects is a fantastic way to practice your skill. Programming is a skill and you need to practice if you want to become better at it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |