Need to add my JS/JQuery variable into my css string.

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

I have a hopefully simple job that needs done. I have a JQuery variable and I need it to be inside my CSS content string.

Here is my html/css file to show you what I have done: [login to view URL]

I need a <span id="id1"></span> to be next to each "Hello" in the css text.

For example css:

content: "Hello" <span id="id1"></span>;

content: "Hello 2" <span id="id1"></span>;

content: "Hello 3" <span id="id1"></span>;

But this obviously does not work since the content property only works with pseudo elements and I can't seem to figure it out where to go from here. Maybe it need written in JS? What can you do to help? Thanks!

JavaScript CSS HTML jQuery

Project ID: #25053445

About the project

3 proposals Remote project Active 3 years ago

3 freelancers are bidding on average $23 for this job

eterenicheva

I am a Web expert and have 5+ years of web experience including front-end. I have read your requirements and I'm sure I cane help you. I have a lot of experience dealing javascript and jQurery. I'm a full-time freelanc More

$30 USD in 1 day
(15 Reviews)
5.8
abhisheksaini005

Hi, I have checked your project requirement regarding that you need to add JS/JQuery variable into my CSS string. I have more than 5+ years of experience in web development and designing. I'm an expert in Wordpress, PH More

$20 USD in 1 day
(17 Reviews)
3.7
karyelist

Hello, I can provide professional services for all your jobs. I made over 800 web sites and they are all happy customers. I can make all your requests with professional service.

$20 USD in 7 days
(0 Reviews)
0.0