Demonstrate your ability to use DHTML objects and event Models by :
1-Write a script that enables the user to change the background color and position of a paragraph on the page. The user should be able to choose from 4 colors displayed on the page: red, yellow, green and blue by clicking on them. Also the user should choose the position by clicking on top, bottom, right and left.
<span style='font-size:21pt;line-height:100%'><span style='font-size:14pt;line-height:100%'>أريد حل لو سمحتوا في أسرع وقت ممكن
تغيير لون الخلفية ليس للصفحة وإنما إلى paragraph معين
أرجوكم ساعدوني هذا واجب وتسليمه غدا وأنا حاولت أحله بس ما عرفت</span></span>
choose the background color:
red
yellow
green
blue
Hello
choose the position of paragraph:
top
bottom
right
left
Hello