You are viewing our Forum Archives. To view or take place in current topics click here.
JavaScript - Programming Challenge
Posted:

JavaScript - Programming ChallengePosted:

Kyle93
  • Winter 2021
Status: Offline
Joined: Jun 25, 201013Year Member
Posts: 4,078
Reputation Power: 2628
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Status: Offline
Joined: Jun 25, 201013Year Member
Posts: 4,078
Reputation Power: 2628
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
I hope you don't all find this one to hard! The aim is to replicate this bellow.



As you can see, this has three functions.

1) Mouse over the text to create a random colour and change the text to be that colour.
2) Click the button and then edit the box to be that colour.
3) Display the colour value of each one on the page.

Good luck. If there is no progress after 2 days I will post my HTML.

Hints:
1) You will need HTML, CSS and JavaScript
2) You will need to use DOM
3) HTML and CSS
[ Register or Signin to view external links. ]


Last edited by Kyle93 ; edited 2 times in total

The following 6 users thanked Kyle93 for this useful post:

Dusknoir (07-26-2014), Int (02-28-2014), TomorrowLand (01-16-2014), 7en (01-15-2014), Z61 (01-12-2014), Craig (01-10-2014)
#2. Posted:
3rd
  • TTG Senior
Status: Offline
Joined: May 21, 201112Year Member
Posts: 1,103
Reputation Power: 28
Status: Offline
Joined: May 21, 201112Year Member
Posts: 1,103
Reputation Power: 28
Looks challenging ... I might try this
#3. Posted:
Mark
  • Winter 2023
Status: Offline
Joined: Jun 09, 201211Year Member
Posts: 3,109
Reputation Power: 3763
Status: Offline
Joined: Jun 09, 201211Year Member
Posts: 3,109
Reputation Power: 3763
I want to learn JavaScript is it hard?
#4. Posted:
Yhorm
  • Summer 2018
Status: Offline
Joined: Jan 09, 201311Year Member
Posts: 1,442
Reputation Power: 74
Status: Offline
Joined: Jan 09, 201311Year Member
Posts: 1,442
Reputation Power: 74
This seems fun to attempt, too bad I don't know Javascript or CSS

Still trying to learn PHP.
#5. Posted:
7en
  • V5 Launch
Status: Offline
Joined: Aug 16, 201211Year Member
Posts: 598
Reputation Power: 29
Status: Offline
Joined: Aug 16, 201211Year Member
Posts: 598
Reputation Power: 29
[ Register or Signin to view external links. ]

Thanks Kyle.!
#6. Posted:
-Graphix
  • Resident Elite
Status: Offline
Joined: Dec 18, 201112Year Member
Posts: 232
Reputation Power: 13
Status: Offline
Joined: Dec 18, 201112Year Member
Posts: 232
Reputation Power: 13
Heli wrote I want to learn JavaScript is it hard?

No it's pretty easy to learn to be honest, try W3schools, really good examples on there and some good tutorials:)
#7. Posted:
phpBB
  • TTG Senior
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,274
Reputation Power: 54
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,274
Reputation Power: 54
Shaman wrote This seems fun to attempt, too bad I don't know Javascript or CSS

Still trying to learn PHP.


You should know at least css before jumping in to the world of php.. Or else you won't know how to style yo stuff daawg
#8. Posted:
Hacz
  • Summer 2018
Status: Offline
Joined: Mar 04, 201014Year Member
Posts: 2,891
Reputation Power: 150
Status: Offline
Joined: Mar 04, 201014Year Member
Posts: 2,891
Reputation Power: 150
Really late on the challenge lol, but I thought I'd throw up my go at it

[ Register or Signin to view external links. ]
#9. Posted:
GamerTechz
  • TTG Addict
Status: Offline
Joined: Feb 11, 201212Year Member
Posts: 2,185
Reputation Power: 88
Status: Offline
Joined: Feb 11, 201212Year Member
Posts: 2,185
Reputation Power: 88
Heli wrote I want to learn JavaScript is it hard?
No its not that hard once you get the basics down.
#10. Posted:
Kalooma
  • Junior Member
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
For beginners, you should learn HTML, CSS, Ruby, Javascript, and then PhP.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.